What is the right way to install wxWidgets with codeblocks Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

I have now installed the 64 bit version of wxwidgets

I am using mingw32 exe to compile the wxwidgets

I am using gcc 9.2.0 version.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

Should I try with gcc 10.2
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

I don't know too much about MinGW versions. Just get any 32 bit version and rebuild the wx libraries and your code.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

Which version of gcc should I try with?

8.1 or 10.2

???
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

I have installed with gcc 8.1

My App now runs fine.

I have SUCCESSFULLY installed wxWidgets and my app runs fine now.

Thanks but it was a terrible time to fix the installation.

Thanks buddy.
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

That's good to hear =D>
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

Is there a way to save this installation?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: What is the right way to install wxWidgets with codeblocks

Post by ONEEYEMAN »

Hi,
What do you mean by "saving the installation"?
Unless you hard drive crash or computer dies there is no need to save anything...

Thank you.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

The Debugger wont start running:

Starting debugger: C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe -nx -fullname -quiet -args D:/Programming/ShellFromFB/bin/Debug/ShellFromFB.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

What is the difference in gcc 8.2.0 and gcc 10.2.0


Should I try installing 10.2?

Does 8.2 have bugs or something?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: What is the right way to install wxWidgets with codeblocks

Post by ONEEYEMAN »

Hi,
Didn't you say that everything worked?
And now you saying debugger is not starting?

Which is ir?

Thank you.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

App runs fine without debugging.

The app doesnt start in debug mode.



Starting debugger: C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe -nx -fullname -quiet -args D:/Programming/ShellFromFB/bin/Debug/ShellFromFB.exe
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0
User avatar
doublemax
Moderator
Moderator
Posts: 19102
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: What is the right way to install wxWidgets with codeblocks

Post by doublemax »

I'm wondering if it's the space in "C:\Program Files (x86)" that causes the problem. If this path is entered into the CB config somewhere, try putting the whole path to gdb (without the parameters) in quotes.
Use the source, Luke!
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

The Debugger path is C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe


How can I remove the space? Other apps will break.
sly_chandan
Earned some good credits
Earned some good credits
Posts: 116
Joined: Fri Sep 25, 2015 2:33 pm

Re: What is the right way to install wxWidgets with codeblocks

Post by sly_chandan »

Yep! I got that Fixed!

Installed gcc on a location without space.

That worked fine.

Now comes the gcc version.

Should I try the gcc version 10.2.0 to compile the project? Would that be a better situation?

I have everything working fine with gcc 8.1

What do you suggest should I try installing 10.2?
Post Reply