Open netpipe opened 4 years ago
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="ArduinoSimulator" />
<Option pch_mode="0" />
<Option compiler="gcc" />
<Build>
<Target title="default">
<Option output="./Pong" prefix_auto="0" extension_auto="0" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectResourceIncludeDirsRelation="1" />
</Target>
<Target title="emscripten">
<Option output="./Pong" prefix_auto="0" extension_auto="0" />
<Option type="1" />
<Option compiler="gcc" />
<Option projectResourceIncludeDirsRelation="1" />
</Target>
</Build>
<VirtualTargets>
<Add alias="All" targets="default;" />
</VirtualTargets>
<Compiler>
<Add directory="/home/Dev/libs/game/Irrlicht-SVN/include" />
<Add directory="core" />
<Add directory="./" />
</Compiler>
<Linker>
<Add library="Irrlicht" />
<Add library="GL" />
<Add library="Xxf86vm" />
<Add library="X11" />
<Add library="pthread" />
<Add library="dl" />
<Add library="c++" />
<Add library="ncurses" />
<Add directory="/home/Dev/libs/game/Irrlicht-SVN/lib/Linux" />
</Linker>
<Unit filename="CallUtils.cpp" />
<Unit filename="CallUtils.h" />
<Unit filename="Simulation.cpp" />
<Unit filename="Simulation.h" />
<Unit filename="Sketch.h" />
<Unit filename="core/Arduino.cpp" />
<Unit filename="core/Arduino.h" />
<Unit filename="core/Print.cpp" />
<Unit filename="core/Print.h" />
<Unit filename="core/Printable.h" />
<Unit filename="core/SoftwareSerial.cpp" />
<Unit filename="core/SoftwareSerial.h" />
<Unit filename="core/WString.cpp" />
<Unit filename="core/WString.h" />
<Unit filename="kbhit.h" />
<Unit filename="main.cpp" />
<Unit filename="main.h" />
<Unit filename="pins_arduino.h" />
<Unit filename="pins_arduino_tiny84.h" />
<Extensions />
</Project>
</CodeBlocks_project_file>
also had to add #define RTLD_MAIN_ONLY ((void *) -5) to callutils.cpp
after compile i get segfault during run on suse 15. also you need to add -lpthread to the makefile