AMDG Andrew J. Leer wrote:
I received another reply on this, but it still doesn't completely fix the error
http://stackoverflow.com/questions/1876444/boost-unit-testing-and-visual-stu...
I didn't know this but you have to have #include "stdafx.h" as the first line in the file.
Now I'm getting another error however...
1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'libboost_unit_test_framework-vc80-mt-gd-1_40.lib'
I really don't understand the error however because I have the aforementioned file in my C:\Program Files (x86)\boost\boost_1_40\lib directory (unless this warrants including it in the build somehow (...I have a java background...I'm a bit new to professional C++ that uses libraries...)
You need to add the directory to your linker path. (Tools->Options->Projects and Solutions->VC++ directories) In Christ, Steven Watanabe