aj@codd:~/cppRT/CPPRaytracer$ g++ -I ~faux/include/boost-1_34_1 ~faux/lib/libboost_thread-gcc41-mt.a -lpthread *.cpp In file included from stdafx.h:12, from CPPRaytracer.cpp:3: Ray.h:7:3: warning: no newline at end of file In file included from CPPRaytracer.cpp:3: stdafx.h:27:29: warning: no newline at end of file In file included from CPPRaytracer.cpp:6: RTSphere.h:40:3: warning: no newline at end of file CPPRaytracer.cpp:610:2: warning: no newline at end of file CPPRaytracer.cpp: In function âvoid raytrace(RGBA*, const Ray&, int, int, int)â: CPPRaytracer.cpp:404: warning: converting to âucharâ from âfloatâ CPPRaytracer.cpp:405: warning: converting to âucharâ from âfloatâ CPPRaytracer.cpp:406: warning: converting to âucharâ from âfloatâ CPPRaytracer.cpp:455: warning: converting to âintâ from âfloatâ CPPRaytracer.cpp:456: warning: converting to âintâ from âfloatâ CPPRaytracer.cpp:457: warning: converting to âintâ from âfloatâ CPPRaytracer.cpp:511: warning: converting to âintâ from âfloatâ CPPRaytracer.cpp:512: warning: converting to âintâ from âfloatâ CPPRaytracer.cpp:513: warning: converting to âintâ from âfloatâ In file included from stdafx.h:12, from IntersectionInfo.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from IntersectionInfo.cpp:1: stdafx.h:27:29: warning: no newline at end of file IntersectionInfo.cpp:2:30: warning: no newline at end of file In file included from stdafx.h:12, from m128.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from m128.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from Pixel.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from Pixel.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from Ray.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from Ray.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from RTLight.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from RTLight.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from RTObject.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from RTObject.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from RTSphere.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from RTSphere.cpp:1: stdafx.h:27:29: warning: no newline at end of file In file included from RTSphere.cpp:2: RTSphere.h:40:3: warning: no newline at end of file RTSphere.cpp:122:2: warning: no newline at end of file In file included from stdafx.h:12, from stdafx.cpp:5: Ray.h:7:3: warning: no newline at end of file In file included from stdafx.cpp:5: stdafx.h:27:29: warning: no newline at end of file In file included from stdafx.h:12, from V3.cpp:1: Ray.h:7:3: warning: no newline at end of file In file included from V3.cpp:1: stdafx.h:27:29: warning: no newline at end of file V3.cpp:92:2: warning: no newline at end of file /tmp/ccZtcTRT.o: In function `startRender(RGBA*, int, int, int)': CPPRaytracer.cpp:(.text+0xcd2): undefined reference to `boost::thread::thread(boost::function0 > const&)' CPPRaytracer.cpp:(.text+0xe20): undefined reference to `boost::thread::join()' /tmp/ccZtcTRT.o: In function `main': CPPRaytracer.cpp:(.text+0x10f0): undefined reference to `boost::thread::thread(boost::function0 > const&)' CPPRaytracer.cpp:(.text+0x1102): undefined reference to `boost::thread::join()' CPPRaytracer.cpp:(.text+0x1154): undefined reference to `boost::thread::~thread()' CPPRaytracer.cpp:(.text+0x1173): undefined reference to `boost::thread::~thread()' /tmp/ccZtcTRT.o: In function `void boost::checked_delete(boost::thread const*)': CPPRaytracer.cpp:(.text._ZN5boost14checked_deleteIKNS_6threadEEEvPT_[void boost::checked_delete(boost::thread const*)]+0x20): undefined reference to `boost::thread::~thread()' collect2: ld returned 1 exit status