What is the right way to install wxWidgets with codeblocks Topic is solved
-
- 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
Yep!
I got that fixed with compiling again.
I just dont want to get stuck on this compilation process again.
Thanks.
I got that fixed with compiling again.
I just dont want to get stuck on this compilation process again.
Thanks.
Re: What is the right way to install wxWidgets with codeblocks
Hi,
You are missing the point.
Why did you want to play with the different compilers and their different vetrsions in the first place?
As I said - unless you want a different C++ standard you shouldn't be playing with different versions of C++ compilers - they are all ABI-compatible.
Thank you.
You are missing the point.
Why did you want to play with the different compilers and their different vetrsions in the first place?
As I said - unless you want a different C++ standard you shouldn't be playing with different versions of C++ compilers - they are all ABI-compatible.
Thank you.
-
- 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
I actually don't understand all this process of compilation.
It just is confusing.
First we compile the wxwidgets library.
Then we build the project and compile the project.
Then we can link up different compilers if we would like to.
What is the point of all this process?
Could you please explain me the above process?
It just is confusing.
First we compile the wxwidgets library.
Then we build the project and compile the project.
Then we can link up different compilers if we would like to.
What is the point of all this process?
Could you please explain me the above process?
-
- 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
Can you help me dig deeper in actually understanding how to compile this wxwidgets library?
I have read the book Compilers 2e by Aho.
I know what the compiler is actually meant for. It converts high level language to lower level language.
Can I help in development work of wxwidgets?
Can I understand the gcc compiler?
Can I actually do something in this community?
I have read the book Compilers 2e by Aho.
I know what the compiler is actually meant for. It converts high level language to lower level language.
Can I help in development work of wxwidgets?
Can I understand the gcc compiler?
Can I actually do something in this community?
Re: What is the right way to install wxWidgets with codeblocks
In fact, it is as simple as:
1. Select a compiler that matches your needs and is supported by the libraries your application requires.
2. Build the library and your application with the compiler selected in #2.
Your problems were:
1. Choosing the compiler which is known to be problematic.
2. Following the outdated build guide.
3. Ignoring advice given on forum.
BTW, I assume there is a typo and this
1. Select a compiler that matches your needs and is supported by the libraries your application requires.
2. Build the library and your application with the compiler selected in #2.
Your problems were:
1. Choosing the compiler which is known to be problematic.
2. Following the outdated build guide.
3. Ignoring advice given on forum.
BTW, I assume there is a typo and this
should actually be "....are NOT ABI-compatible.". Once you select a compiler, you must stick with it. I believe that binary compatibility is rare. Not only are different compilers incompatible, even the same versions of the compiler are.
-
- 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
Can I learn the compilation process of the gcc or wxwidgets library?
Re: What is the right way to install wxWidgets with codeblocks
Yes, you can. I am not smart yet I am sufficiently knowledgeable about that, so I think anyone can.
The official wxWidgets documentation provides information needed to build wxWidets. My guide, which you did not like, goes into some more detail. If you want to know more about GCC itself, you need to study its documentation. There is no magic, just effort and time needed.
The official wxWidgets documentation provides information needed to build wxWidets. My guide, which you did not like, goes into some more detail. If you want to know more about GCC itself, you need to study its documentation. There is no magic, just effort and time needed.
-
- 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
What are you talking about?
How can I dig deeper with wxwidgets library?
How can I dig deeper with wxwidgets library?
Re: What is the right way to install wxWidgets with codeblocks
Hi,
@sly_chandan,
What is you end goal? Do you want to do Software Development, further develop wxWidgets library to help improve it or you want to become a system developer and work for M$ improving Windows or MSVC.
Also, what kind of experience do you have working as a developer? Out of college? Have some development experience?
@PB,
That was not a typo. I meant to say that MinGW/gcc versions are ABI-compatible and all MSVC versions are.
Of course there is no compatibility between MSVC and MinGW/gcc. But that is irrelevant here since the OP wanted to play with the different versions of the same compiler.
@sly_chandan,
What is you end goal? Do you want to do Software Development, further develop wxWidgets library to help improve it or you want to become a system developer and work for M$ improving Windows or MSVC.
Also, what kind of experience do you have working as a developer? Out of college? Have some development experience?
@PB,
That was not a typo. I meant to say that MinGW/gcc versions are ABI-compatible and all MSVC versions are.
Of course there is no compatibility between MSVC and MinGW/gcc. But that is irrelevant here since the OP wanted to play with the different versions of the same compiler.
Re: What is the right way to install wxWidgets with codeblocks
Obviously I am answering your
sly_chandan wrote: ↑Tue Mar 02, 2021 5:02 pm Can I learn the compilation process of the gcc or wxwidgets library?
What are you talking about?
Do you think the process with wxWidgets is different than with other similar libraries, i.e.:
1. Read the documentation.
2. Write the code using the library to familiarize yourself with the library.
3. Read the library source to understand what is going under the hood.
Re: What is the right way to install wxWidgets with codeblocks
Hi,
@OP:
Unless you want to become a compiler developer, you shouldn't think about that too much.
But that brings us to my previous post - what is your end goal.
Thank you.
@OP:
Unless you want to become a compiler developer, you shouldn't think about that too much.
But that brings us to my previous post - what is your end goal.
Thank you.
Re: What is the right way to install wxWidgets with codeblocks
AFAIK, MinGW/GCC are certainly not binary compatible between versions or even distributions (e.g., different exception handling). I did even experience runtime crashes when a compiler DLL with the same name was in PATH but the executable was built with different GCC version.
MSVC is binary compatible only for 2015, 2017, and 2019 versions. But even there are gotchas, see https://docs.microsoft.com/en-us/cpp/po ... w=msvc-160
-
- 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
I really am good with Higher Level Languages.
But when it gets down to understanding the libraries like .Net, wxWidgets, I never have entered into this arena.
Will reading wxWidgets library help me understand and further do something with the library?
Can I understand the gcc compiler? If yes then how should I begin with it.
But when it gets down to understanding the libraries like .Net, wxWidgets, I never have entered into this arena.
Will reading wxWidgets library help me understand and further do something with the library?
Can I understand the gcc compiler? If yes then how should I begin with it.
Re: What is the right way to install wxWidgets with codeblocks
Hi,
Unless you want to become a compiler developer you don't want to bother with gcc.
And yes - reading the docs and the code will help. You can also build and run different samples provided by wxWidgets.
If you get a problem - post here and someone will be able to help.
But first - try to understand it yourself.
BTW, there is nothing wrong by being a good "High Level" developer.
Thank you.
Unless you want to become a compiler developer you don't want to bother with gcc.
And yes - reading the docs and the code will help. You can also build and run different samples provided by wxWidgets.
If you get a problem - post here and someone will be able to help.
But first - try to understand it yourself.
BTW, there is nothing wrong by being a good "High Level" developer.
Thank you.
-
- 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
Yes I would like to be a compiler developer.
How should I begin with it?
How should I begin with it?