6 Jun
2003
6 Jun
'03
5:13 a.m.
yg-boost-users@m.gmane.org wrote:
I am also trying unsuccessfully to use the boost filesystem library. I am getting an undefined symbol error when attempting to link the example simple_ls.c program. I am also puzzled by the lack of .so libraries, but I can use only .a's if necessary.
[snip]
I have been trying variations on this command line and been getting pretty much the same error:
[code] rgristroph-austin| g++ -lboost_filesystem -o simple_ls [simple_ls.cpp /tmp/rgr/cckWE2oM.o: In function `main': /tmp/rgr/cckWE2oM.o(.text+0x19): undefined reference to
The command you gave fails to me, as well. However, g++ -o simple_ls simple_ls.cpp -lboost_filesystem works. The order you specify libraries is important. Ain't it fun ;-) - Volodya