Hello Hakan,

Håkan Wååg wrote:
> Going back to wxArt2D without gdiplusdrawer and using /MANIFEST:NO on
> CMAKE_EXE_LINKER_FLAGS I am able to compile wxArt2D and all the
> samples. Great! Or so I thought, compiling samples with /MDd made
> them require msvcr80d.dll, which is fine, but requires a manifest
> file to actually utilize the dll. And I can't compile any sample with
> /MD or I get a huge bunch of error LNK2001, LNK2005 and LNK2019
> (unresolved external symbols and already defined stuff..) As an
> example, sample_canvas_boolop gives 163 errors of those three
> LNKxxxx... corresponding to both wxwidgets libraries and wxart2d
> libraries...

that manifest thing I did not yet fully understand, so I know of work 
arounds only.

There is also another known work around: In 
wxwidgets-2.8.8\include\msw\wx.rc remove/make comment these lines (near 
end of file)
#if defined(WX_CPU_AMD64)
wxMANIFEST_ID 24 "wx/msw/amd64.manifest"
#elif defined(WX_CPU_IA64)
wxMANIFEST_ID 24 "wx/msw/ia64.manifest"
#elif defined(WX_CPU_X86)
wxMANIFEST_ID 24 "wx/msw/wx.manifest"
#endif

Since I link statically everything, /Manifest:no works fine for me. 
Sorry if it caused trouble for you, did not know/test. I think, I will 
fallback to default /MDd for the next time, to be as compatible as possible.

You could link wxwidgets and wxart2d statically with CRT with /MTd, but 
you need to manually modify the intermediate CMake result, as discussed 
in the "installation issue hints".

I will update install doc for wxart2d as good as possible asap. So I 
greatly appreciate your effort and hope for more hints and helpful 
aspects, e.g. on the manifest stuff. The wxForum is full of manifest 
comments but I did not yet find an explanation that helped me understand 
what should be done exactly and _why_.

I still need to write my first line of wx* code (I keep saying that for 
six weeks now). I have some years of professional SW developer 
knowledge, but not in MSW- or at least GUI-application programming. From 
that point of view I am still a total newbie.

Viele Grüße, Michael

-------------------------------------------------------------------------
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

Reply via email to