Michael Stratmann wrote:

I don't understand where the duplicate lines/resources are in the first place??

Afaik, VC generates and adds a manifest by itself for a few years now (since 2005?). wxWidgets provides one, so that one and the generated collide. I am not yet in a position, to test the effect (should be related to background theming, according to some wxWidgets comments) of different settings. I am just happy, to get the demos running at all :-)

I will ask on the cmake list i think.
I wonder what the effect is of your

/MANIFEST:NO

Down here is what is in vdraws compared with wxWidgets. So it looks more that the creation of those files is wrong.

/MANIFESTFILE:"sample_editor_vdraws.dir\Debug\sample_editor_vdraws.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG

wxWidgets sample:

/MANIFESTFILE:".\vc_mswd\drawing\drawing.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG

3) Static libraries


What went wrong for me, was wxwidgets was compiled as lib and linked as lib, but wxart2d was compiled as dll and linked as lib. By this wxwidgets used includes for libcmt.lib, but wxart2d used the ones for msvcrt.dll, causing redefinition problems etc..

Oke so best not use RUNTIME_LIBS=static for the moemnet to set compile 
wxWidgets.
Mainly because i don't know how to replace /MDd by /MTd and /MD by /MT in al CMAKE stuff.



I am not yet sure, if my app needs everything statically linked (including the msw stuff) or only the wx libs. Linking all statically should avoid versioning issues with msw, but causes bigger files.

Right.

 > If my logic would have been right, generation of /MD or /MT would depend
on wxWidgets_USE_SHARED. But I said, it might be useful to have .lib with /MD, so I am contradicting myself now :-(

Whatever, i would need to set those MD/MT flags depending upon the RUNTIME_LIBS=static being there or not. The problem is i don't know how to do that.

- I feel my points are like installation FAQ, anybody working on installation docs?
Can you improve install.html ?

When we have agreed on the answers, it's ok for me. I have to write doc for my customer otherwise.

Solutions is what we are after here. But all improvement is welcome, even if the solution is not there, only the work around :-)

regards,

Klaas
--
Unclassified


Disclaimer:

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please notify the sender and delete this e-mail. Any unauthorized copying, disclosure
or distribution of the material in this e-mail is strictly forbidden.

Considering the inherent risks of the use of e-mail communication, Thales Nederland BV shall not be liable for any damage derived from it. Thales Nederland BV is seated in Hengelo (Ov.), the Netherlands, and registered at the Chamber of Commerce under number 06061578.

begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

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