From: nico r. <nic...@gm...> - 2008-06-02 06:14:52
|
I just moved simpleps.h/cpp from utils to extra/qwt, and things seem to work fine (on windows). The change is in CVS, try it and let me know On Wed, May 14, 2008 at 5:22 PM, Brooks Clark <mbr...@gm...> wrote: > I'm running into a link error almost immediately, which I guess means I > either don't have the correct version of the library installed, or I don't > have the environment variables set properly. > Here's the error. I'm assuming it needs to link with libqwt? > > g++-4.0 > -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > -prebind -dynamiclib -single_module -headerpad_max_install_names > -install_name /sw/lib/libGsTLAppli_utils.1.dylib -compatibility_version 1.0 > -current_version 1.0.0 -o libGsTLAppli_utils.1.0.0.dylib > ../../lib/macx/obj/utils/clock.o > ../../lib/macx/obj/utils/error_messages_handler.o > ../../lib/macx/obj/utils/gstl_messages_private.o > ../../lib/macx/obj/utils/manager.o > ../../lib/macx/obj/utils/progress_notifier.o > ../../lib/macx/obj/utils/simpleps.o > ../../lib/macx/obj/utils/string_manipulation.o -L/sw/lib -L/sw/lib/qt3/lib > -L/Users/mbclark/data/geostats/SGeMS-2.0/lib/macx -lqt-mt > Undefined symbols: > "QwtPlot::axisScale(int) const", referenced from: > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawCurve(QMemArray<double>, QMemArray<double>, int, > bool)in simpleps.o > SimplePs::drawYRightAxis(std::basic_string<char, > std::char_traits<char>, std::allocator<char> >)in simpleps.o > SimplePs::drawYRightAxis(std::basic_string<char, > std::char_traits<char>, std::allocator<char> >)in simpleps.o > SimplePs::drawAxis(std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, bool)in simpleps.o > SimplePs::drawAxis(std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, bool)in simpleps.o > SimplePs::drawAxis(std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, bool)in simpleps.o > SimplePs::drawAxis(std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, bool)in simpleps.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [../../lib/macx/libGsTLAppli_utils.1.0.0.dylib] Error 1 > make[1]: *** [sub-utils] Error 2 > make: *** [sub-GsTLAppli] Error 2 > > Brooks > > <http://afognak.homeunix.net/%7Eindigo/wview/index.php> > > On May 14, 2008, at 3:54 AM, Simone Pittaluga wrote: > > but may be you have the same trouble that i had found on > linux (gcc 4) > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sgems-users mailing list > Sge...@li... > https://lists.sourceforge.net/lists/listinfo/sgems-users > > |