Devpack for 2.6.0

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Devpack for 2.6.0

Post by upCASE » Tue Apr 26, 2005 11:55 am

Hi everyone!
I wasn't sure wether to put this in the wxDevCpp section or not, but as it's more or less a "new" release, I guess it's best be placed here.

I just created a new devpack for version 2.6.0 to be used with Dev-C++/wxDev-C++ (mingw 3.4.2). You can download it at http://www.upcase.de/devpack.html#devpak
Uninstall any other devpacked version before installing this one. You will have to change the linked libs ending with *25 to *26 in the compiler settings dialog.

Have fun!
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

styggentorsken
Knows some wx things
Knows some wx things
Posts: 40
Joined: Sat Oct 16, 2004 9:08 pm
Location: Norway

Post by styggentorsken » Wed Apr 27, 2005 2:38 pm

I don't think you added any wxWidgets projects template
I need it because I dont know which flags and libriary links to use.

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Wed Apr 27, 2005 2:59 pm

Hi!
styggentorsken wrote:I don't think you added any wxWidgets projects template
I need it because I dont know which flags and libriary links to use.
Right. Using it with wxDev-C++ shouldn't be a problem, because it brings its own template. Change the lib names as I mentioned.

Compiler settings:
-Wall
-D__WXMSW__
-D__GNUWIN32__
-D__WIN95__

Linker settings:
-lwxmsw26
-lwxmsw26_gl
-lwxtiff
-lwxjpeg
-lwxpng
-lwxzlib
-lwxregex
-lwxexpat
-lkernel32
-luser32
-lgdi32
-lcomdlg32
-lwinspool
-lwinmm
-lshell32
-lcomctl32
-lole32
-loleaut32
-luuid
-lrpcrt4
-ladvapi32
-lwsock32
-lodbc32
-lopengl32
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

styggentorsken
Knows some wx things
Knows some wx things
Posts: 40
Joined: Sat Oct 16, 2004 9:08 pm
Location: Norway

Post by styggentorsken » Wed Apr 27, 2005 8:04 pm

thanks
by the way I lost that template when I uninstalled wxWidgets 2.5.4, I didn't get a new one when I installed 2.6.0

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Thu Apr 28, 2005 6:44 am

Hi!
Ok. I'll see what I can do and reinclude the template...
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Thu Apr 28, 2005 7:09 am

Hi!
Tenplates for a frame based and a dialog based application where included and location of the wx.chm was fixed. Currently uploading it :D
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Thu Apr 28, 2005 7:33 am

Hi!
Another update: I just uploaded a "samples" devpack. It's a modified version of the samples devpak created by NinjaNL for 2.6.0.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

HowardLeeHarkness
In need of some credit
In need of some credit
Posts: 2
Joined: Thu Apr 28, 2005 6:16 pm
Location: Plano, Texas
Contact:

Newcomer

Post by HowardLeeHarkness » Thu Apr 28, 2005 6:32 pm

I have just recently discovered Dev-C++ and WxWidgets, so I'm trying to integrate two new things at once. I'm not real clear on what this "devpack" stuff is about, but I just downloaded the items listed on the bottom of the page http://www.upcase.de/devpack.html, and I'm not sure where to go from here.

I have successfully build a minimal Windows program and a console program with Dev-C++, and I successfully did a configure with Cygwin & built the libraries there, but I have not successfully compiled anything using WxWidgets using Dev-C++. I keep getting compile-time errors, and I'm not familiar enough with this IDE to effectively track it down, but it looks like an environment issue. I could probably use an intro to how to built WxWidgets apps, too. With or withough Dev-C++, but it seems that an IDE would make things a bit easier.

I have some experience with MFC, but I'm kinda lost without the VS wizards, and there doesn't appear to be any wizards in Dev-C++, unless I'm missing something.

Is there a "hello, world" tutorial somewhere? Or something equally simple?
Howard Lee Harkness
Violin Lessons in Plano, Texas
http://www.Celtic-Fiddler.com

styggentorsken
Knows some wx things
Knows some wx things
Posts: 40
Joined: Sat Oct 16, 2004 9:08 pm
Location: Norway

Post by styggentorsken » Thu Apr 28, 2005 6:52 pm

thanks a lot
HowardLeeHarkness now to compile your sample program do this:
Install the latest dev-c++ (of course)
Install upCASE's devpacks, starting with wxWidgets, then contribs
Then choose new project and choose one of the wxWidgets templates
Compile

works fine now (the template includes the needed flags (i think))

HowardLeeHarkness
In need of some credit
In need of some credit
Posts: 2
Joined: Thu Apr 28, 2005 6:16 pm
Location: Plano, Texas
Contact:

Post by HowardLeeHarkness » Thu Apr 28, 2005 7:20 pm

styggentorsken wrote:Install the latest dev-c++ (of course)
Install upCASE's devpacks, starting with wxWidgets, then contribs
Then choose new project and choose one of the wxWidgets templates
Compile
works fine now (the template includes the needed flags (i think))
I'll give this a whirl, but in the meantime, I ran across something called Chinook, which appears to be already integrated with wxWidgets. Is there any particular reason to prefer one IDE over the other (or is there some good case for learning and using both)? I'm game for either, since I have no meaningful experience with either one yet.
Howard Lee Harkness
Violin Lessons in Plano, Texas
http://www.Celtic-Fiddler.com

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Fri Apr 29, 2005 6:21 am

Hi!
HowardLeeHarkness wrote:I'll give this a whirl, but in the meantime, I ran across something called Chinook, which appears to be already integrated with wxWidgets. Is there any particular reason to prefer one IDE over the other (or is there some good case for learning and using both)? I'm game for either, since I have no meaningful experience with either one yet.
There is even more :D
Look at CodeBlocks for example, or mingw studio. These are all good IDEs, which one you choose is more a less a question of what you like best. I skipped to VC++ about a year ago, but I worked with Dev-C++ for about 3 years and my opinion is that it's still the best IDE for Windows. Problem is that there's no version for Linux, as it was written in Delphi, so it's hard to port. Chinook and the others do have Linux ports, so maybe they're more suitable when you plan to code on both platforms.

I'd suggest you have a look at wxDev-C++ (a hack up version of Dev-C++, featuring a build in GUI editor). Get it here:
http://wxdsgn.sourceforge.net
Be aware that it currently uses wxWidgets 2.5.4, not the latest 2.6.0. To use it with the new version, get my devpaks, open packman.exe from the Dev-C++ dir, uninstall the old devpaks for 2.5.4 and install the new ones. When using the GUI editor and its template you'll have to change the linker settings as mentioned above, because the names of the libs changed.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

mispunt
Experienced Solver
Experienced Solver
Posts: 59
Joined: Tue Oct 19, 2004 3:23 pm
Location: Ede, Holland

Post by mispunt » Fri Apr 29, 2005 9:56 am

Hi, Upcase,
I like this dev-pack, but is it possible to integrate a version of wx with dll support?
OS: win XP pro
Compiler: MingW
wxWidgets version: 2.6.2

upCASE
Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Fri Apr 29, 2005 11:48 am

Hi!
It would be possible, but I'd recommend that you compile it youreself in this case.
Most people wnat/need a release build of wxWidgets. A debug build is surely possible and could be devpaked, but it's rather big and I don't want to have this beast on my server for the time being.
DLL builds are possible too, they're not needed often, so I didn't create them.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

farengeti
Knows some wx things
Knows some wx things
Posts: 26
Joined: Thu Dec 16, 2004 2:11 am

Post by farengeti » Sat Apr 30, 2005 6:41 pm

Thanks for the new Dev-pack.

I have an old project that I had been working with using wxWidgets 2.5.4 and Dev-Cpp 4.9.9.1. When I upgraded to the new 2.6.0 dev-pack, I get the following error:

Mismatch between the program and library build versions detected.
The library used 2.6(no debug, ANSI, compiler with C++ ABI 1002, wx containers, compatible with 2.4),
and your program used 2.6(no debug, ANSI, compiler with C++ ABI 102, wx containers, compatible with 2.4).

As far as I can tell, the only difference is ABI 1002 vs. ABI 102. Any idea what to do to fix this?

Thanks

Avi
Super wx Problem Solver
Super wx Problem Solver
Posts: 398
Joined: Mon Aug 30, 2004 9:27 pm
Location: Tel-Aviv, Israel

Post by Avi » Sat Apr 30, 2005 8:03 pm

farengeti wrote:Thanks for the new Dev-pack.

I have an old project that I had been working with using wxWidgets 2.5.4 and Dev-Cpp 4.9.9.1. When I upgraded to the new 2.6.0 dev-pack, I get the following error:

Mismatch between the program and library build versions detected.
The library used 2.6(no debug, ANSI, compiler with C++ ABI 1002, wx containers, compatible with 2.4),
and your program used 2.6(no debug, ANSI, compiler with C++ ABI 102, wx containers, compatible with 2.4).

As far as I can tell, the only difference is ABI 1002 vs. ABI 102. Any idea what to do to fix this?

Thanks
Note that he used mingw 3.4.2 to compile the dev-pack... Did you upgrade your MinGW GCC to this version? (MinGW GCC is included w/ dev-cpp...)

Post Reply