|
Re: C++ - No Code?
OK. I was able to get NetConsole working after manually changing the default gateway in ni-rt.ini to 10.6.12.4.
More interestingly, it fails to lode the code due to undefined symbol errors. The symbols look like the mangled names of WPILib functions (_Z...WatchdogC1EPi), so i assume that ucpp is not linking in WPILib.
Where is the WPILib file? I assume I could add it to StartupDlls in ni-rt.ini, or change the makefile to run wine ldppc.exe (I too am on linux) or something of the like to statically link them together.
Or have I just missed a step. Again, I haven't modified the toolchain from the default linux ucpp.
Thanks for your help.
EDIT: Found the WPILib.a file. It looks like it *should* be linked in (glancing at the makefile). Why am I getting undefined symbol errors then?
Last edited by rbmj : 15-12-2011 at 11:34.
|