28 mar 2007 kl. 21.57 skrev klaas.holwerda: > Bengt Nilsson wrote: >> Could you please be more specific? >> >> >>> >>> You tell me, i don't have a Mac. >>> For the rest of the errors, copy the line you see there, on >>> screen to >>> compile/link mars. >>> > I am saying that it might be the order of libraries. I think you > are now > using verbose flag on. And this gives > you the line you sent me. I suggest you to only use that line, instead > of calling make, since this gives you a way to experiment. > >>> And remove double libraries mentioned there, who knows that helps.
I removed the surplus -lwxart2d_macud_editor-2.8 -lwxart2d_macud_canvas-2.8 - lwxart2d_macud_xmlparse-2.8 but it did not help. I even tried an absurdly stripped down version 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++ "CMakeFiles/mars.dir/src/docframe.o" "CMakeFiles/mars.dir/ src/document.o" "CMakeFiles/mars.dir/src/docv.o" "CMakeFiles/mars.dir/ src/elements.o" "CMakeFiles/mars.dir/src/mastertool.o" "CMakeFiles/ mars.dir/src/object.o" "CMakeFiles/mars.dir/src/page.o" "CMakeFiles/ mars.dir/src/part.o" "CMakeFiles/mars.dir/src/view.o" -o mars /usr/bin/ld: multiple definitions of symbol a2dSmrtPtr<a2dMultiSelectGroup>::PointerListInit() CMakeFiles/mars.dir/src/docframe.o definition of a2dSmrtPtr<a2dMultiSelectGroup>::PointerListInit() in section (__TEXT,__text) CMakeFiles/mars.dir/src/document.o definition of a2dSmrtPtr<a2dMultiSelectGroup>::PointerListInit() in section (__TEXT,__text) /usr/bin/ld: multiple definitions of symbol __ZN10a2dSmrtPtrI19a2dMultiSelectGroupE15PointerListInitEv.eh CMakeFiles/mars.dir/src/docframe.o definition of absolute __ZN10a2dSmrtPtrI19a2dMultiSelectGroupE15PointerListInitEv.eh (value 0x0) CMakeFiles/mars.dir/src/document.o definition of absolute __ZN10a2dSmrtPtrI19a2dMultiSelectGroupE15PointerListInitEv.eh (value 0x0) ... The object files seems to contain some really strange stuff. /usr/bin/g++ -I/opt/local/lib/wx/include/mac-unicode-debug- static-2.8 -I/opt/local/include/wx-2.8 -I/Users/bnilsson/Programming/ OpenSource/wxArt2Dbuild/include -I/Users/bnilsson/Programming/ OpenSource/wxArt2D/modules -I/Users/bnilsson/Programming/OpenSource/ wxArt2D/thirdparty/kbool/include -I/Users/bnilsson/Programming/ OpenSource/wxArt2D/thirdparty/agg2/include -I/opt/local/bin/../ include -I/Users/bnilsson/Programming/OpenSource/wxArt2D/apps/mars/ include -I/opt/local/lib/wx/include/mac-unicode-debug-static-2.8 -I/ opt/local/include/wx-2.8 `gtk-config --cflags` - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -o apps/mars/CMakeFiles/mars.dir/src/docframe.o -c /Users/bnilsson/ Programming/OpenSource/wxArt2D/apps/mars/src/docframe.cpp I see only usual compilation and includes in this line, how can the "a2dSmrtPtr " symbols be inside the docframe.o? But I have to admit, I am not a professional gcc programmer... >>> > In the line you see some libs mentioned twice, maybe that causes the > problem?? >>> And if that does not help, it can also be problems with template >>> initiation, and again i can not help you to solve those without a >>> Mac. >>> I do know it is not needed anymore (#pragma blahblah ) for gcc. >>> It looks you are using gcc?? >>> > With older versions of gcc, we did use #pragma implementation and > #pragma interface. This is not needed anymore with the latest gcc. > What version of gcc are you using? Type gcc --version to know it. > Here it is 4.1.1, and cygwin here is 3.4.4. gcc --version powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > This is all i can do for you, A successful MacOSX installation, anyone? > > Klaas > > > > > > > > ---------------------------------------------------------------------- > --- > 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 ------------------------------------------------------------------------- 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