Hi Swen, Swen Vogel wrote: > Hi klaas, > > I Use Microsoft Visul Studio 2005 and CMake 2.4 patch 3. > Is that the free version? I am using still VC6 or VC2003, but maybe i can get my hands on that 2005 one one day ;-) > Ok the file a2dprec.pch is not in the directoy > "wxArt2D\modules\general\include" an not elsewhere ! > This is really weird, i just checked my CVS and it is there. Therefore i think something went wrong in your check out. You can browse CVS from the wxArt2D website to see it. Did you really build outside the CVS checkout tree? > I have try to configure with "WXART2D_USE_PCH = NO" and some of the > project in the workspace sems to compile fine but i get by every next project > the error > > CVTRES : fatal error CVT1100: Double Resource. type:MANIFEST, name:1, > language:0x0409. > > LINK : fatal error LNK1123: Error in converting to COFF: File is invalid or > damaged. > I am sorry rings no bell. > There is also a error when compiling the "general" project : > > ..\..\..\..\..\modules\general\include\id.inl(19) : error C2653: > 'a2dPropertyId': No Class or Namespace > ..\..\..\..\..\modules\general\include\id.inl(19) : error C2065: 'a2dObject': > Not declared > ..\..\..\..\..\modules\general\include\id.inl(19) : error C2065: 'obj': Not > declared > > It is from comevt.cpp at least. The *.inl is for initializing templates, which is just a nightmare on VC.
#include <general/include/id.inl> > and in the the file id.inl is really no include so that the compiler > can knew about the existence of the classes ! and also from gen.h. It seems 2005 does not like this part in CmakeList.txt, SET( general_INLINES ${general_INLINES} ${general_SOURCE_DIR}/include/smrtptr.inl ${general_SOURCE_DIR}/include/id.inl ${general_SOURCE_DIR}/include/a2dlist.inl ${general_SOURCE_DIR}/include/arraygrow.inl ) remove ${general_INLINES} from the part below, IF( MSVC ) ADD_LIBRARY( general ${a2d_PCH_SOURCE_FILE} comevt.cpp a2dmemmgr.cpp gen.cpp id.cpp prfl.cpp prflcnt.cpp prflcntHstg.cpp prflcntMean.cpp prfltmr.cpp ${general_HEADERS} ${general_INLINES} ) generate again ( in a different build dircetory to be sure). > But when i remove the file > id.inl from the source files of the build project "general" compiles fine. > Oke that is what i expected. So leafs the problem with a2dprec.h, and this double resource, but i am sorry those two i don't understand, yet. regards, Klaas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev