make -f ./lib/OperatingSystemLibBak.mak
make[1]: Entering directory `C:/CPW/cs_classes'
g++.exe -Wall -D__DEBUG__ -Wall -c ./cs540bak/c++/cppdef/DeadLockAvoid.cpp -o ./lib/DeadLockAvoid.o -I"C:/Boost/include/boost_1_34" -I"C:/Dev-Cpp/lib/gcc/mingw32/4.1.2/include" -I"C:/Dev-Cpp/lib/gcc/mingw32/4.1.2/include/c++/mingw32" -fexceptions -fverbose-asm -fexpensive-optimizations -O3 -pg -g3
g++.exe -Wall -D__DEBUG__ -c ./cs540bak/c++/cppdef/ContainerOperation.cpp -o ./lib/ContainerOperation.o -I"C:/Boost/include/boost_1_34" -I"C:/Dev-Cpp/lib/gcc/mingw32/4.1.2/include" -I"C:/Dev-Cpp/lib/gcc/mingw32/4.1.2/include/c++/mingw32" -fexceptions -fverbose-asm -fexpensive-optimizations -O3 -pg -g3
ar r ./lib/libOperatingSystem.a ./lib/DeadLockAvoid.o ./lib/ContainerOperation.o
ranlib ./lib/libOperatingSystem.a
rm -f ./lib/DeadLockAvoid.o ./lib/ContainerOperation.o
make[1]: Leaving directory `C:/CPW/cs_classes'
g++.exe -Wall -D__DEBUG__ -c ./cs540bak/c++/DeadLockAvoidTest.cpp -o ./project/DeadLockAvoidBakTest.o -I"C:/Boost/include/boost_1_34" -I"./Scripts" -ansi -fexceptions -fverbose-asm -fexpensive-optimizations -O3 -pg -g3
g++.exe -Wall -D__DEBUG__ ./project/DeadLockAvoidBakTest.o -o "DeadLockAvoidBakProject.exe" -L"C:/Dev-Cpp/lib" -L"./lib" -L"C:/Boost/lib" -l"boost_filesystem-mgw41-1_34" -l"boost_program_options-mgw41-1_34" -l"OperatingSystem" -lgmon -pg -g3
Heres the make file output. I compile using a make file.
On 7/17/07, Vladimir Prus <ghost@cs.msu.su> wrote:
chun ping wang wrote:
> Hi I've been trying to use boost program options and heres the linker
> error
Generally, it would be good to indicate what, and how you compile. Otherwise, I might assume
that you've typed the following on the command line:
$ use boost program options
and I don't really know how to debug this further.
> i get. Compling with gcc mingW 4.1 .
Hmm, IIRC, mingw has had some issues with wchar_t support -- like missing
support for wchar_t, completely. Maybe upgrading to newer mingw will fix
this -- I'm not sure.
- Volodya
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users