This is a continuing discussion from [EMAIL PROTECTED], therefore the "strange" subject.
To Klaas: > I do not have a MAC, so it is a bit hard for me to get that working. > But if you run: > > ccmake ../wxArt2D > > you will see options to set DEBUG UNICODE.\ etc. > Still above here FindwxWidgets.cmake delivers --toolkit=mac- > unicode-release-2.6 while i expected "mac" only. > So there is some debuging to do around line 646. I start to realize > that -static- is missing, the reg expr. does not give the right > answer. > > Replace line: > > STRING( REGEX REPLACE "^(.*)\\-.*\\-.*\\-.*\\-.*" "\\1" > s_wxWidgets_PORT "${wxWidgets_SELECTED_CONFIG}" ) > > by: > > STRING( s_wxWidgets_PORT "mac" ) This did not quite work, I had to do STRING( REGEX REPLACE "^(.*)\\-.*\\-.*\\-.*\\-.*" "\\1" s_wxWidgets_PORT "mac" ) then cmake completer without errors. Note that I enabled unicode using ccmake, will this give me problems? "Make" stopped at this point: [ 13%] Built target antigrain [ 18%] Built target kbool [ 19%] Built target boolonly [ 24%] Built target general [ 24%] Building CXX object modules/docview/src/CMakeFiles/docview.dir/ docmdiref.o /Users/bnilsson/Programming/OpenSource/wxArt2D/modules/docview/ include/doccom.h:309: error: 'wxFD_MULTIPLE' was not declared in this scope /Users/bnilsson/Programming/OpenSource/wxArt2D/modules/docview/ include/doccom.h:309: error: 'wxFD_OPEN' was not declared in this scope make[2]: *** [modules/docview/src/CMakeFiles/docview.dir/docmdiref.o] Error 1 make[1]: *** [modules/docview/src/CMakeFiles/docview.dir/all] Error 2 make: *** [all] Error 2 Bengt ------------------------------------------------------------------------- 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