Hi!

I have used ccmake inside wxArt2Dbuild, and I modified only

CMAKE_INSTALL_PREFIX = $HOME
wxWidgets_USE_UNICODE = YES.

Then cmake ../wxArt2D.
Then make.

I forgot to mention I got the following error before the icon error:

Scanning dependencies of target notwxart2dconfig
[ 64%] Building C object config/CMakeFiles/notwxart2dconfig.dir/ 
wxart2d-config.o
/Users/bnilsson/Programming/OpenSource/wxArt2Dbuild/config/wxart2d- 
config.c:13:20: error: malloc.h: No such file or directory
make[2]: *** [config/CMakeFiles/notwxart2dconfig.dir/wxart2d- 
config.o] Error 1
make[1]: *** [config/CMakeFiles/notwxart2dconfig.dir/all] Error 2
make: *** [all] Error 2

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?


27 mar 2007 kl. 22.41 skrev klaas.holwerda:

> Bengt Nilsson wrote:
>> Hi!
>>
>> I am using OSX 10.4.9, wxWidgets 2.8.0 (MacPorts), Xcode 2.4
>>
>> I did cvs update yesterday (25-mar-07)
>>
> keep updating frequently!
>> I have done ccmake and cmake.
>>
> In wxArt2D or outside build?
>> I got as far as this:
>>
>> [ 67%] Building CXX object apps/mars/CMakeFiles/mars.dir/src/ 
>> docframe.o
>> /Users/bnilsson/Programming/OpenSource/wxArt2D/apps/mars/src/
>> docframe.cpp: In constructor 'msDocFrame::msDocFrame
>> (a2dDocumentTemplate*, wxFrame*, wxWindowID, const wxString&, const
>> wxPoint&, const wxSize&, long int)':
>> /Users/bnilsson/Programming/OpenSource/wxArt2D/apps/mars/src/
>> docframe.cpp:145: error: 'mondrian_xpm' was not declared in this  
>> scope
>>
> One line 24 you do find mondrian.xpm, it must be related to that.
> What if you remove the defines around that line?
>
> I don't have a mac, but from what i read it should behave like  
> Linux here.
>
> Is mars the only one with this problem??
> This same icon is used in many samples, so i am surprised a little  
> you only get the problem here.
>
> 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

Reply via email to