Thanks for the tip. You were right, I was not using the simgear libs. I have had some improvement after adding more libraries to the build command.
Here is the current statement, and the errors I am getting: g++ -Wall "softSim.cpp" -lglut -lsgio -lsgserial -lsgdebug -lplibnet -o "softSim" (in directory: /home/cory/trunk/softSim) /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libplibnet.so: undefined reference to `ulSetError(ulSeverity, char const*, ...)' /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libplibnet.so: undefined reference to `ulSetError(ulSeverity, char const*, ...)' Compilation failed. I tried adding -lplibfnt but that makes no difference, and if I add -lplibpu then I get a lot more undefined reference errors. I am kind of lost here, and do not know how to troubleshoot further, when I google "undefined reference to `ulSetError(ulSeverity, char const*, ...)" or the other undefined reference errors, I end up finding posts on this list, usually about trouble building flightgear. If you have any more nuggets of wisdom, please let me know, I am gonna sleep on it, then keep poking at it in the morning. Thanks, Cory On Thu, May 29, 2008 at 5:10 PM, Csaba Halász <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 9:01 PM, cory barton <[EMAIL PROTECTED]> wrote: >> I am having trouble using the simgear socket libraries however. >> ... >> This is the build command in Geany: g++ -Wall "%f" -lglut > > Well, apparently you are not *using* the simgear libs ... you need to > link them into your program, such as by adding something like > -lsgserial -lsgio and any other libs these might depend on. > > -- > Csaba/Jester > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel