Bengt Nilsson ha scritto: >>> Anyway, I got more errors: >>> Linking CXX executable mars >>> cd /Users/bnilsson/Programming/OpenSource/wxArt2Dbuild/apps/mars && >>> /opt/local/bin/cmake -P CMakeFiles/mars.dir/cmake_clean_target.cmake >>> cd /Users/bnilsson/Programming/OpenSource/wxArt2Dbuild/apps/mars && >>> /usr/bin/c++ -headerpad_max_install_names -fPIC >> I see you're compiling in shared mode... try to build wxWidgets and >> then wxArt2d >> in static mode... >> > > I thought I was since you said so, but now I am not sure. > > ccmake ../wxArt2D shows > WXART2D_MAKE_SHARED = OFF > wxWidgets_USE_SHARED = OFF strange... however the -fPIC flag means position-indipendent code => shared build.
Look at the /usr/local/lib folder (if that's the place where you've installed wxWidgets) and to wxArtdbuildfolder/lib: do you see wx*.a files or wx*.dylib files ? Latter ones indicate a shared build. I don't know almost anything about macs as I don't have one but I don't think its linker should use -fPIC for shared builds... Francesco ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev