Hi,

Please do not sent attachment to a mailing list.
So first question is, did you compile wx on codeblocks static?
Non static on windows is no good.
Did you manage to compile the samples of wxArt2d/packages/wxart2d/samples, and 
do they work?

There is an advanced option in cmake-gui  called CMAKE_VERBOSE_MAKEFILE, switch 
it on, to see how 
each executable is linked.
Copy past these lines in the same order. For instance go to the vdraws 
examples, remove the exe.
And make it again. Now you will see what you need.

If you get it to work, feel free to tell here how:

http://www.wxart2d.org/moin/CodeBlocks

I use Ubuntu and VC, so not testing CodeBlocks. But I did get it to work before.

I get on Ubuntu this:

Linking CXX executable sample_editor_single2
cd 
/home/klaas/soft/svncheckout/buildart2d291deb/packages/wxart2d/samples/editor/single2
 && 
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/sample_editor_single2.dir/link.txt --verbose=1
/usr/local/bin/c++    -Wformat=0    -Wformat=0    -Wformat=0    -Wformat=0    
-g   
CMakeFiles/sample_editor_single2.dir/single2.cpp.o  -o sample_editor_single2 
-rdynamic 
-L/usr/local/lib 
-L/home/klaas/soft/svncheckout/buildart2d291deb/packages/wxdocview/share/wxdocview/../../lib
 
-L/home/klaas/soft/svncheckout/buildart2d291deb/packages/wxart2d/lib 
-L/home/klaas/soft/svncheckout/buildart2d291deb/thirdparty/kbool/lib 
-L/home/klaas/soft/svncheckout/buildart2d291deb/thirdparty/agg-2.4/bin/../lib 
-lwxart2d_gtk2ud_curves-2.9 -lwxart2d_gtk2ud_editor-2.9 
-lwxart2d_gtk2ud_canextobj-2.9 
-lwxart2d_gtk2ud_canvas-2.9 -lwxart2d_gtk2ud_svgio-2.9 
-lwxart2d_gtk2ud_gdsio-2.9 
-lwxart2d_gtk2ud_artbase-2.9 -lwxart2d_gtk2ud_aggdrawer-2.9 
-lwxart2d_gtk2ud_genart-2.9 -lfreetype 
-laggctrl -laggplatform -lagg -lkbool -lwxdocview_gtk2ud_docview-2.9 
-lwxdocview_gtk2ud_general-2.9 
-lwxdocview_gtk2ud_xmlparse-2.9 /usr/local/lib/libwx_gtk2u_stc-2.9.a 
/usr/local/lib/libwx_gtk2u_aui-2.9.a /usr/local/lib/libwx_gtk2u_qa-2.9.a 
/usr/local/lib/libwx_gtk2u_xrc-2.9.a /usr/local/lib/libwx_gtk2u_html-2.9.a 
/usr/local/lib/libwx_gtk2u_adv-2.9.a /usr/local/lib/libwx_baseu_xml-2.9.a 
/usr/local/lib/libwx_baseu_net-2.9.a /usr/local/lib/libwx_gtk2u_core-2.9.a 
/usr/local/lib/libwx_baseu-2.9.a -lwxscintilla-2.9 -lexpat -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lfreetype -lfontconfig 
-lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lSM -lpng -ljpeg -lwxregexu-2.9 
-lwxtiff-2.9 -lz -ldl 
-lm 
-Wl,-rpath,/usr/local/lib:/home/klaas/soft/svncheckout/buildart2d291deb/packages/wxdocview/share/wxdocview/../../lib:/home/klaas/soft/svncheckout/buildart2d291deb/packages/wxart2d/lib:/home/klaas/soft/svncheckout/buildart2d291deb/thirdparty/kbool/lib:/home/klaas/soft/svncheckout/buildart2d291deb/thirdparty/agg-2.4/bin/../lib

Something equivalent you should get for Mingw

Klaas


On 07/01/2011 11:05 PM, damateem wrote:
> Hi Klaas,
>
> Thanks for the info, but I'm still struggling.
>
> I'm using CodeBlocks with mingw32. I created a project with a single
> a2dCanvas. At this point, I'm doing no more than constructing the
> object. After adding include search paths, the project compiles without
> error.
>
> The errors come during linking. I know I have to tell CodeBlocks what
> wxArt2D libraries to be linked and I know how to do that. What I don't
> know is the names of the libraries that I need and the order they need
> to be linked.
>
> Can you tell me what libraries I need to link and the order which they
> must be linked?


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to