timschmidt/repsnapper — Issue #61: Compile error on Ubuntu 11.10
Author: kram12085
Created: 2011-12-26 03:23:04+00:00
State: open

I'm getting an error when I "make" in the /src directory. The log doesn't give much of a clue (at least to me) of where the error is coming from and google hasn't helped either. Can someone point me in the right direction? Thanks.

echo '#define VERSION "12.25.11"' > version.h
sed -e 's/0.0.0<\/string>/12.25.11<\/version>/g' Info.plist.default > Info.plist
make -C ../libraries/polylib/ all
make[1]: Entering directory `/home/mark/Prusa/repsnapper/libraries/polylib'
make[1]: `all' is up to date.
make[1]: Leaving directory `/home/mark/Prusa/repsnapper/libraries/polylib'
g++ `pkg-config --cflags gtk+-2.0 gthread-2.0` -DHAVE_GTK -I/usr/include -I../libraries -I../libraries/vmmlib/include -I/usr/include/boost -I/usr/include/lua5.1 -I../libraries/polylib repsnapper.o asyncserial.o stl.o reprapserial.o processcontroller.o printer.o modelviewcontroller.o gllight.o gcode.o arcball.o stdafx.o ui.o rfo.o flu_dnd.o flu_pixmaps.o flu_simplestring.o flu_tree_browser.o ivcon.o file.o platform.o `pkg-config --libs gtk+-2.0 gthread-2.0` -L/usr/lib -lGLU -lGL -lfltk -lfltk_gl -lfltk_forms -lglut -lboost_thread-mt -lboost_system-mt -lconfig++ -L../libraries/polylib -lpolylib -o repsnapper
file.o: In function `FileChooser::ioDialog(ModelViewController*, FileChooser::Op, FileChooser::Type, bool)':
file.cpp:(.text+0x528): undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()'
file.cpp:(.text+0x563): undefined reference to `boost::filesystem3::path::parent_path() const'
collect2: ld returned 1 exit status
make: *** [repsnapper] Error 1