Author Topic: code blocks newbie  (Read 5659 times)

Offline itsmetomc

  • Single posting newcomer
  • *
  • Posts: 2
code blocks newbie
« 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.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: code blocks newbie
« Reply #1 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,
or 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

Tim S.
 
« Last Edit: August 06, 2015, 04:25:49 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline itsmetomc

  • Single posting newcomer
  • *
  • Posts: 2
Re: code blocks newbie
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: code blocks newbie
« Reply #3 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).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: code blocks newbie
« Reply #4 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

Tim S.
« Last Edit: August 08, 2015, 12:44:57 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: code blocks newbie
« Reply #5 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: code blocks newbie
« Reply #6 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

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: code blocks newbie
« Reply #7 on: August 09, 2015, 06:04:04 pm »
Yes, I see a push request. I'll take a look next week.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]