Klaas Holwerda escribió: > Oke, but using configure was not use able for you i understood, because of > code::blocks IDE. > Is that resolved too? > The wizard that comes with code::blocks doesn't work, but I created all the links manually and set up the directories and that way it worked. > the thing is that using configure the names, files and output directories of > the compilation is rather different. > So for using makefile.gcc something extra would be needed in > FindwxWidgets.cmake. > > I don't understand the problem. > If you use an empty directory to build wxArt2D, and the WXWIN was set > already, does it then find expat.h? > FindExpat.cmake does work for me. Where is it going wrong in that file? (add > MESSAGE statements ). > But somehow it does not for you?? > > Klaas > > I'm doing what you said, create and empty directory outside wxArt2D sources to build it, with the WXWIN set. This problem is not in the cmake process, that is ok. But then when I execute the "make" command it begins to compile and in the files I told you I got the error that cannot find expat.h, in that files there is a #include <expat.h> => this is the problem. So what I did to solve (very bad fix, I think!!), is to copy the file that is in: src\expat\lib, to: include/wx and changed the files to: #include <wx/expat.h>. That way everthing was perfect.
That's all, what I think is that the dir: src\expat\lib should be include in the search directories. I'm saying this without so much experience in cmake, so maybe this is not the solution. Ibraim ------------------------------------------------------------------------- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev