KeckCAVES/Vrui

/usr/bin/ld: cannot find -lMisc.g++-3 While compiling

theDrGray opened this issue · 1 comments

On Ubuntu 16.04. When Build-Ubuntu.sh gets to linking it fails with the following output:

Linking /mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libRealtime.g++-3.so.4.2...
Linking /mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libThreads.g++-3.so.4.2...
/usr/bin/ld: cannot find -lMisc.g++-3
collect2: error: ld returned 1 exit status
/mnt/sdcard/VRUI/src/Vrui-4.2-006/BuildRoot/BasicMakefile:198: recipe for target '/mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libThreads.g++-3.so.4.2' failed
make: *** [/mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libThreads.g++-3.so.4.2] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lMisc.g++-3
collect2: error: ld returned 1 exit status
/mnt/sdcard/VRUI/src/Vrui-4.2-006/BuildRoot/BasicMakefile:198: recipe for target '/mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libRealtime.g++-3.so.4.2' failed
make: *** [/mnt/sdcard/VRUI/src/Vrui-4.2-006/lib/libRealtime.g++-3.so.4.2] Error 1
Build unsuccessful; please fix any reported errors and try again

Turns out the SD I was writing to was formatted fat not ext3. Reformatted and everything is working great now.