Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: itsmetomc on August 06, 2015, 03:32:29 am

Title: code blocks newbie
Post by: itsmetomc on August 06, 2015, 03:32:29 am
I downloaded code blocks a week ago.  I liked the wxwidgets setup from the outside .  problem----I cant see it from the inside.   I cant seem to get it installed properly.

downloaded - codeblocks-13.12mingw-setup.exe, wxPack_v3.0.01.00.exe
installed in same order

code blocks seems to work fine.  the wxwidget will not run..  I presumed that i installed a complete binary version of both.  but I cant seem to get things to work.

before we continue I will say that I am not a newbie to programming.  completely self taught but by no means incapable of following instructions.  I have an ongoing project built in c and c++ that comprises several thousands of code lines.  It being a database engine.  With my own implementation of SQL.  I set it aside for a few years and thought I would pick it up again..    when I left I was doing xp and borland builder 5..  hence my apeal to the xwidgets.   I have since migrated to win7 and my borland wont run on this platform.  I have also downloaded the trial of embarcadero and got some mixed results..  It seems that unicode has reared its ugly head and rendered much of my old code busted.

I have been trying different platforms to code on and I really like the direction Code Blocks seems to be going in.  I seem to be getting the same errors that a lot of others are getting.  after setting the setup for wxwiget location to "C:\SourceCode\Libraries\wxWidgets3.0" I at least got it to start a project.   The project wont install, it cant find things

"
no matching configuration found"

as well  as
||=== Build: Debug Win32 in dataview (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lwxmsw30ud_adv|
ld.exe||cannot find -lwxmsw30ud_core|
ld.exe||cannot find -lwxbase30ud|
ld.exe||cannot find -lwxtiffd|
ld.exe||cannot find -lwxjpegd|
ld.exe||cannot find -lwxpngd|
ld.exe||cannot find -lwxzlibd|
ld.exe||cannot find -lwxregexud|
ld.exe||cannot find -lwxexpatd|
||=== Build failed: 9 error(s), 0 warning(s) (0 minute(s), 4 second(s)) ===|

after reviewing some of the forum I am at a loss as to what to do.

I kind of get the idea that code blocks has been written primarily from a linux environment.  as linux has been know to have some complicated installs.  dont get me wrong though. I got the feeling if i ever do get this dog to run it will be very pleasant to work with.  but there is a reason I run windows and not linux.  I do have a full time job and do not have a lot of time at this moment to search for a solution.

I really do like to write code.  maybe Ill just hand code my guis for a while with code blocks... lets see--- wheres my win32api reference manual.
Title: Re: code blocks newbie
Post by: stahta01 on August 06, 2015, 04:02:34 am
In order to use wxPack_v3.0.01.00.exe you need the following information.

You need to know exactly what compiler was used to build the wxWidget's binary?
You also need to use that exact compiler in order to link a good binary.
You need to know if the wxWidget's binary was Monolithic or a multilib build?

Edit:
I helped someone in the past with this exact issue; not sure which site it was.
Likely one of these three sites.
This one,
http://cboard.cprogramming.com/forum.php (http://cboard.cprogramming.com/forum.php),
or https://forums.wxwidgets.org/ (https://forums.wxwidgets.org/)

I used the same username on all three sites.
Edit:
One of the threads http://forums.codeblocks.org/index.php/topic,18884.msg129409.html#msg129409 (http://forums.codeblocks.org/index.php/topic,18884.msg129409.html#msg129409)

Tim S.
 
Title: Re: code blocks newbie
Post by: itsmetomc on August 07, 2015, 02:50:19 am
I think Im done.  I dont really have the patience for this.

really is this a test to determine if I have the stamina to pursue the inevitable.
Title: Re: code blocks newbie
Post by: oBFusCATed on August 07, 2015, 07:19:45 am
First why are you trying to use wxpack?
The official wxwidgets projects provides binary releases and they have support for TDM-GCC (probably this is the compiler you're using).
Probably the wizard should work with these (I've not tried it).
Title: Re: code blocks newbie
Post by: stahta01 on August 08, 2015, 12:43:24 am
First why are you trying to use wxpack?
The official wxwidgets projects provides binary releases and they have support for TDM-GCC (probably this is the compiler you're using).
Probably the wizard should work with these (I've not tried it).

It does NOT work on Windows; but, I have posted the directions to work around the messages and get a working project.
Link to Wiki that has the directions I wrote http://wiki.codeblocks.org/index.php?title=Using_wxWidgets_%28MSW%29_3.0_Binary_with_Code::Blocks_Scripted_Wizard (http://wiki.codeblocks.org/index.php?title=Using_wxWidgets_%28MSW%29_3.0_Binary_with_Code::Blocks_Scripted_Wizard)

Tim S.
Title: Re: code blocks newbie
Post by: oBFusCATed on August 08, 2015, 12:53:39 am
This should be handled in the wizard... It should just work.
Would you be kind enough to post a patch for the wizard, to make this work?
Title: Re: code blocks newbie
Post by: stahta01 on August 09, 2015, 02:32:13 pm
This should be handled in the wizard... It should just work.
Would you be kind enough to post a patch for the wizard, to make this work?

I tried to push the Git changes upstream to you, did you get them?

From https://github.com/stahta01/codeblocks_sf_tims/tree/wizard/wxwidgets (https://github.com/stahta01/codeblocks_sf_tims/tree/wizard/wxwidgets)

Tim S.
Title: Re: code blocks newbie
Post by: oBFusCATed on August 09, 2015, 06:04:04 pm
Yes, I see a push request. I'll take a look next week.