Michael Stratmann wrote: > 1) CMake complains > D:/wxArt2D/bin/FindwxWidgets.cmake(752): - not found due to missing > WX_stcd=WX_stcd-NOTFOUND > CMake Error at bin/FindwxWidgets.cmake:1009 (MESSAGE): > wxWidgets required, please specify it's location. > > You need (at least) one more lib from wxWidgets, it's located in > wxWidgets-2.8.8\contrib\src\stc > Build it as you did build wxWidgets itself. > Oke should add this to the install.html, well actually its mentioned there already. How to improve this ?? > > 2) When you build everything straight ahead, the wxArt2D examples will cause > CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, > name:1, language:0x0409 > LINK : fatal error LNK1123: failure during conversion to COFF: file > invalid or corrupt > > In CMake (I use GUI version) (activate "Show Advanced Entries"), after > first config run, > set within CMAKE_EXE_LINKER_FLAGS /MANIFEST:NO instead of /MANIFEST > > However, I do not understand enough about manifests, so maybe manifest > handling is broken somewhere else (e.g. wxWidgets' wx.rc). > I did not know how to solve this myself. So i removed in wx.rc the problem lines in order to make it work. I don't understand where the duplicate lines/resources are in the first place??
> > 3) Static libraries > I always build default. And that gives me static wxWidget libraries. So i don't understand. nmake -f makefile.vc BUILD=debug USE_OPENGL=1 The above gives me static libs, is it not? I see no dll's somewhere as output. If i want shared i use SHARED=1 > By default everything is set to DLLs and should build fine. But if you > want to switch to static linking > Hmm never did that. So do you mean only VC libs in that case? > LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other > libs; use /NODEFAULTLIB:library > or > STATUS_DLL_NOT_FOUND exception > or similar are common (again, the wxArt2D examples are used). Once I > even managed to build something without any error or warning, but that > was not executable at all. > > Let's assume you have built wxWidgets like > nmake -f makefile.vc RUNTIME_LIBS=static BUILD=debug USE_OPENGL=1 > Why do you need RUNTIME_LIBS=static? What does it do to the output in $WXWIN/libs/vc_lib etc. > Now CMake signals wxWidgets_USE_Shared and WXART2D_MAKE_SHARED off after > running configure, That is what i get default. And i always thought that i am using static libraries that way. When i look in $WXWIN/build/msw/config.vc there is SHARED=0, so i think that is right. I also see RUNTIME_LIBS there, but i don't understand what happens if it is set static. And more important how to detect what wxWidgets was build with, else i can not set those flags properly. I see it now in build.cfg, so i could test it. SO i first need to understand better what is going on. > > Open points: > - What is the proper manifest handling? The present default is not > working well. > Need to find what is causing this. > - To get static builds properly CMake should generate the compiler flags > according to wxWidgets_USE_SHARED > Euh, explain please. > - I feel my points are like installation FAQ, anybody working on > installation docs? > Can you improve install.html ? To bad i can not get twiki running on sourceforge and not even on my provider webspace (becomes to slow there). So i have it redirected to my home server, at wxart2d.klaasholwerda.nl. I wonder if Moinmoin is easier to setup on sourceforge or anywere else. My goal is to make documentation that way better. Regards, Klaas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev