views:

196

answers:

1

I have found some examples of how to compile a DLL in wxWidgets but none of them compile in wxWidgets 2.8.9

Examples, such as, http://wiki.wxwidgets.org/Creating_A_DLL_Of_An_Application (here some of the download links don't even work, such as, http://www.frogmorecs.com/dl/fromdll.zip). Even the code at this forum http://wxforum.shadonet.com/viewtopic.php?p=5964#5964 does not compile.

Even the latest sample from the official wxWidgets SVN (http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/samples/dll/) does not compile with the latest build of wxWidgets.

someone help!

+1  A: 

this is how to do it:

  1. download rapidsvn
  2. create a directory on your computer named "whatever"
  3. start RapidSVN
  4. go to Repository->Checkout...
  5. enter url http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/
  6. select the folder you created as destination directory
  7. hit ok
  8. once finished, go to the directory and see BuildSVN.txt
  9. now build the samples/DLL

it should all work!

sonu