How Do I install KISS IDE and Compiler on fedora 17?

35 replies [Last post]
ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

Great stuff. Thanks. I am actually on Arch now, but I can work with that too. I have a friend on Ubuntu who will love this. THANKS GUYS!!!!

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

I compilled and ran it. I keep getting this.
error while loading shared libraries: libpcompiler.so: cannot open shared object file: No such file or directory

EDIT Never mind. I had to fix the path. Is there no simulator?

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

Never mind. I had to fix my path. WORKS PERFECTLY SO FAR.
Picture

Kevin
Title: NooBot
Joined: 02/02/2013
Posts:
BotPoints: 2
User offline. Last seen 10 years 13 weeks ago.

How did you fix your error?

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

I had to find libpcompiler.so . Then add that to my PATH.
in ~/.bashrc
export LD_LIBRARY_PATH="/path/to/library/:"$LD_LIBRARY_PATH

But Now I am having another error. I am going to recompile the entire IDE. Question: Where is kovan.h ? I can't compile without it....

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 9 years 15 weeks ago.

kovan.h is in libkovan, which is also available from git. Talking to the robot controller directly will work without libkovan.

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

That is what I thought. I am having issues with that. I will post the output of the error in a second. I followed your instructions to build and got the KISS IDE to start and the KISS simulator as well. BUT I can't compile any programs. It keeps complaining that kovan.h is missing. SO I decied to rebuild, this time building libkovan before building the KISS IDE. I am currently building the entire platform using KISS-Platform. But I keep getting linking errors, which I will post soon.

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

This is one of the errors:
/home/ryanvade/build/KISS/libkovan/src/kovan_module_p.cpp: In member function 'void Private::KovanModule::close()':
/home/ryanvade/build/KISS/libkovan/src/kovan_module_p.cpp:83:2: error: '::close' has not been declared
make[2]: *** [CMakeFiles/kovan.dir/src/kovan_module_p.cpp.o] Error 1
make[1]: *** [CMakeFiles/kovan.dir/all] Error 2
make: *** [all] Error 2

The other (from kiss-project)
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/include/kar.hpp
CMake Error at cmake_install.cmake:36 (FILE):
file INSTALL cannot copy file
"/home/ryanvade/build/kiss-platform/common/libkar/kar.hpp" to
"/usr/local/include/kar.hpp".

make: *** [install] Error 1
make install for libkar failed.
/home/ryanvade/build/kiss-platform/common/libkar
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
archive for libkar failed.
ls: cannot access build/pcompiler-*: No such file or directory
ls: cannot access build/libkovanserial-*: No such file or directory
ls: cannot access build/libkar-*: No such file or directory
ls: cannot access build/opencv-*: No such file or directory
cp: cannot stat 'computer/deploy/*': No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
ls: cannot access build/blobtastic-*: No such file or directory
ls: cannot access build/libkiss2-*: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
cp: cannot stat 'ks2/deploy/*': No such file or directory
ls: cannot access build/libkovan-*: No such file or directory
ls: cannot access build/libkovan_host-*: No such file or directory
ls: cannot access build/opencv_host-*: No such file or directory
ls: cannot access build/zbar-*: No such file or directory
ls: cannot access build/zbar_host-*: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
cp: cannot stat 'kiss/deploy/*': No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
/home/ryanvade/build/kiss-platform
Done!!!

SO: $ locate libkar.so
/usr/local/lib/libkar.so

in my bashrc:
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH

Am I missing something?

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 9 years 15 weeks ago.

It appears several individuals are having issues with KISS Platform under linux. I'll be looking into putting together an updated and more complete guide this weekend.

Thanks,
Braden

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

ryanvade
Title: NooBot
Joined: 10/25/2012
Posts:
BotPoints: 57
User offline. Last seen 8 years 5 weeks ago.

No problem. Basically this is the problem for anyone else:
/home/ryanvade/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp: In member function 'void Private::KovanModule::close()':
/home/ryanvade/build/kiss-platform/common/libkovan/src/kovan_module_p.cpp:84:2: error: '::close' has not been declared
make[2]: *** [CMakeFiles/kovan.dir/src/kovan_module_p.cpp.o] Error 1
make[1]: *** [CMakeFiles/kovan.dir/all] Error 2
make: *** [all] Error 2
make for libkovan failed.

I am working on a solution as well...

EDIT: AH MORE ERRORS!!!! I AM GOING TO LEAVE THIS TO THE PROFESSIONALS.
[ 60%] Building CXX object CMakeFiles/kiss2.dir/src/PixelToaster.cpp.o
In file included from /home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToaster.cpp:17:0:
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h: In constructor 'PixelToaster::DirtyVector::DirtyVector(size_t)':
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:23:110: error: there are no arguments to 'malloc' that depend on a template parameter, so a declaration of 'malloc' must be available [-fpermissive]
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:23:110: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToaster.cpp:17:0:
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h: In member function 'void PixelToaster::UnixDisplay::handleEvent(const XEvent&)':
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:351:30: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:351:78: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
In file included from /home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToaster.cpp:17:0:
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h: In instantiation of 'PixelToaster::DirtyVector::DirtyVector(size_t) [with T = char; size_t = long unsigned int]':
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:69:3: required from here
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:23:43: error: 'malloc' was not declared in this scope
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h: In instantiation of 'PixelToaster::DirtyVector::~DirtyVector() [with T = char]':
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:69:3: required from here
/home/ryanvade/build/kiss-platform/common/libkiss2/src/PixelToasterUnix.h:24:39: error: 'free' was not declared in this scope
make[2]: *** [CMakeFiles/kiss2.dir/src/PixelToaster.cpp.o] Error 1
make[1]: *** [CMakeFiles/kiss2.dir/all] Error 2
make: *** [all] Error 2
make for libkiss2 failed.
/home/ryanvade/build/kiss-platform/common/libkar
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
archive for libkar failed.
ls: cannot access build/pcompiler-*: No such file or directory
ls: cannot access build/libkovanserial-*: No such file or directory
ls: cannot access build/libkar-*: No such file or directory
ls: cannot access build/opencv-*: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
ls: cannot access build/blobtastic-*: No such file or directory
ls: cannot access build/libkiss2-*: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
kissarchive: error while loading shared libraries: libkar.so: cannot open shared object file: No such file or directory
ls: cannot access build/libkovan-*: No such file or directory
ls: cannot access build/libkovan_host-*: No such file or directory
ls: cannot access build/opencv_host-*: No such file or directory
ls: cannot access build/zbar-*: No such file or directory
ls: cannot access build/zbar_host-*: No such file or directory