On Mon, 20 Sep 2004 20:33:51 -0700 (PDT), Zhoujie Mao wrote I'm going to presume the built library file libboost_date_time-gcc-1_31.a is in D:/boost/lib. Please double check that.
Below is part of my make file CPP = g++.exe CC = gcc.exe WINDRES = windres.exe RES = OBJ = main.o $(RES) LINKOBJ = main.o $(RES) LIBS = -L"D:/Dev-Cpp499/lib" -L"D:/boost/lib" -L"D:/boost/lib/libboost_date_time-gcc-1_31.a" ^^^^^^^^^^^^ this looks wrong ^^^^^^^^^^^ change it to the following:
-lboost_date_time-gcc-1_31 so your LIBS line looks like: LIBS = -L"D:/Dev-Cpp499/lib" -L"D:/boost/lib" -lboost_date_time-gcc-1_31
I did include the libboost_date_time-gcc-1_31 but it did not work.
Well, not actually because the -L controls the search path and you can't point it directly to the library.... HTH, Jeff