I got further when I commented out the wxICON line.
But I saw this in docview.cpp:
// Include icon header
#if defined(__WXGTK__) || defined(__WXMOTIF__)
#include "mondrian.xpm"
#endif
Should there be a || __WXMAC__ also?
Or am I expected to have __WXGTK__?
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 "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 -L/Users/bnilsson/
Programming/OpenSource/wxArt2Dbuild/lib -L/opt/local/bin/../lib -L/
Users/bnilsson/Programming/OpenSource/wxArt2Dbuild/lib/ -L/opt/local/
lib -lwxart2d_macud_aggdrawer-2.8 -lwxart2d_macud_curves-2.8 -
lwxart2d_macud_editor-2.8 -lwxart2d_macud_canextobj-2.8 -
lwxart2d_macud_canvas-2.8 -lwxart2d_macud_artbase-2.8 -
lwxart2d_macud_docview-2.8 -lwxart2d_macud_svgio-2.8 -
lwxart2d_macud_gdsio-2.8 -lwxart2d_macud_xmlparse-2.8 -
lwxart2d_macud_general-2.8 -lkbool -lantigrain -lexpat -L/opt/local/
lib -framework QuickTime -framework IOKit -framework Carbon -
framework Cocoa -framework System -lwx_macud_stc-2.8 -lwx_macud-2.8 -
lpng -lz -ljpeg -ltiff -framework WebKit -lwxregexud-2.8 -lpthread -
liconv -lwxart2d_macud_editor-2.8 -lwxart2d_macud_canvas-2.8 -
lwxart2d_macud_xmlparse-2.8
/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)
/usr/bin/ld: multiple definitions of symbol
a2dSmrtPtr<a2dMultiSelectGroup>::AddToPointerList()
CMakeFiles/mars.dir/src/docframe.o definition of
a2dSmrtPtr<a2dMultiSelectGroup>::AddToPointerList() in
section (__TEXT,__text)
CMakeFiles/mars.dir/src/document.o definition of
a2dSmrtPtr<a2dMultiSelectGroup>::AddToPointerList() in
section (__TEXT,__text)
.and so on a few thousand lines.
28 mar 2007 kl. 10.34 skrev klaas.holwerda:
Bengt Nilsson wrote:
This disappeared when I changed wxart2d-config.c:
#include <malloc/malloc.h>
It seems the build process does not search properly into
subdirectories.
Could this be the cause for the icon error as well?
I don't know, here on windows and linux its oke.
What happens if you out comment the problem line?
ccmake also allows you to toggle advanced settings/vars, and one there
is to enable verbose.
But first of all , copy a mondrian.ico to the mars/src directory from
one level higher.
I think its in the wrong place, but don't understand why it work for
windows like this.
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