I have a minor problem sometimes when I try to run a Wt program on my MacBook. Im trying this example: http://andres.jaimes.net/808/a-simple-cwt-witty-skeleton-for-starting-an-application/ I have both Boost and Wt installed in custom directories, but I did the 'export DYLD_LIBRARY_PATH=/custom/directory/lib:$DYLD_LIBRARY_PATH’ thing for Boost, and also I added -lwt -lwthttp -lboost_signals with the proper paths in my *.pro file (Im using Qt Creator). In addition I have added DYLD_LIBRARY_PATH for Wt in my run environment. Still, this is whats reported:
Undefined symbols for architecture x86_64: "Wt::WLink::WLink(Wt::WLink::Type, std::string const&)", referenced from: ControlExample::page1() in ControlSkeleton.o "Wt::WObject::setObjectName(std::string const&)", referenced from: vtable for ControlExample in ControlSkeleton.o "Wt::WString::WString(std::string const&, Wt::CharEncoding)", referenced from: ControlExample::ControlExample(Wt::WEnvironment const&) in ControlSkeleton.o ControlExample::header() in ControlSkeleton.o "Wt::WApplication::makeAbsoluteUrl(std::string const&) const", referenced from: vtable for ControlExample in ControlSkeleton.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ControlSkeleton] Error 1 make: Leaving directory `/Users/taf/Dropbox/qt/tutorial1/ControlSkeleton' 23:14:55: The process "/usr/bin/make" exited with code 2. Error while building/deploying project ControlSkeleton (kit: Desktop Qt 5.2.1 clang 64bit) When executing step ‘Make' Im quite certain someone has encountered this problem before me, and Ive even had it and gotten rid of it, without me being able to do that now. I think its a linking error, but Im quite new to Wt, and I can’t find a list over what functions are dependent on which library.. Also, if anyone knows how to list all DYLD_LIBRARY_PATH’s on my Mac, Id be really grateful. Ive tried tool -L, but that doesn’t return anything. I wish I knew OSX better, so that I could go into system files and find the list of paths that the system searches. Another thing, I run this example on my Raspberry Pi, no problem whatsoever… Anyone know where I went wrong here?
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest