libwt -- libboost_signals linker issues

Hello all,

I am trying out the wt web toolkit.. but am getting some compilation/linker issues.

I compiled the hello witty app (http://www.webtoolkit.eu/wt/doc/tutorial/wt.html section 3) with all of the instructions, but I am getting this error

$ g++ -o hello hello.cpp -lwthttp -lwt
/usr/bin/ld: /tmp/ccv0dp6m.o: undefined reference to symbol 'boost::signals::detail::slot_base::create_connection()'
/usr/bin/ld: note: 'boost::signals::detail::slot_base::create_connection()' is defined in DSO /usr/lib/libboost_signals.so.1.46.1 so try adding it to the linker command line
/usr/lib/libboost_signals.so.1.46.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status


I tried adding the linker path with -L/usr/lib/libboost_signals.so but no luck..
bump
¿Have you tried -lboost_signals? (the order may matter)

Edit:
After a lot of upgrades
g++ hello.o -ltiff -lpng15 -lhpdf -lboost_signals -lwthttp -lwt
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib/libhpdf.so: undefined reference to `png_image_width'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib/libhpdf.so: undefined reference to `png_image_height'
collect2: ld returned 1 exit status

And then https://bugs.archlinux.org/task/28285
Last edited on
oh yes, that worked! thank you very much :P
Topic archived. No new replies allowed.