> > > > > Second, change all "defined(WXUSINGDLL)" to "defined(WXART2D_USINGDLL)" > > and in canextobj/include/imageioh.h, change "class > > I must be missing something, i searched the whole tree for WXART2D_USINGDLL > and > did not find it. I remember we used it before. But the guy doing all this DLL > work, became silent. Maybe we need WXART2D_USINGDLL, but i don't know why. > > So why do you think its needed? > > Where do you set WXART2D_USINGDLL, or is it not used at all, and therefore > does > effectively disable DLL output ? > > What went wrong with WXUSINGDLL? > > Do you want to make shared wxArt2D libraries, or just use shared wxWidgets > library. > >
I introduce the WXART2D_USINGDLL to enable different shared lib build config for wxWidgets and wxArt2D, for e.g. shared lib build of wxWidgets and static lib build of wxArt2D And I haven't successed to make the wxArt2D shared lib build, there are some compile errors, and I also find that it will take too much disk space and don't like to link to so many Dlls, so I finally decide to use static lib build of wxArt2D So my config is shared monthic unicode wxWidgets and static wxArt2D, and also tested static wxWidgets and static wxArt2D combination, both works. > > WXDLLEXPORT wxDoubleNumberEntryDialog" to "class A2DEDITORDLLEXP > > wxDoubleNumberEntryDialog" > > Oke. > > > > > Third, must add "#pragma warning(disable:4786)" to the begin of some > > files, to avoid too much warning, the changed files include: > > modules\curves\src\plotbox.cpp > > apps\mars\include\mastertool.h > > modules\artbase\include\polyver.h > > modules\canvas\include\canwidget.h > > modules\canvas\include\hittest.h > > modules\canvas\include\restrict.h > > modules\canvas\include\wire.h > > modules\editor\include\mastertool.h > > modules\general\include\arraygrow.h > > modules\general\include\prfl.h > > modules\general\include\prflcnt.h > > modules\general\include\prflcnthstg.h > > modules\general\include\prflcntmean.h > > modules\general\include\prflenbl.h > > modules\general\include\prfltmr.h > > modules\general\include\smrtptr.h > > modules\xmlparse\include\xmlencode.h > > Which warning is this? The above warning means some non-ANSI characters are in those files, for e.g. in the copyrights comments block of prfl.h "Copyright: 2004-2004 (c) Michael Sögtrop" I think the above non-ANSI character is German, and my default charset is chinese, so comes those warnings. There are suggestion in the web ask to save those files in unicode or maybe utf8, but I don't know whether it's a better solution or just use this "#pragma warning(disable:4786)" stuff > > Please tell me what your values of when configuring wxArt2D: > > WXART2D_MAKE-SHARED > wxWidgets_USE_SHARED > wxWidgets_USE_UNICODE > > Thanks, > > 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