User forums > Using Code::Blocks

linking GTK with codeblocks?

<< < (2/6) > >>

stahta01:
I will do gtk2 under Windows 7 32 bit; this might take a few days to figure it out or just a few hours.

Then, I will start on GTK3 on Windows 7 64 bit.

If you did NOT know MSys2 32bit and 64 bit are different from each other.
(64 bit is easier in most ways)

Edit: I have no knowledge of either version of GTK.
I plan on just getting the Code::Blocks wizard sample code working with GTK2/3 using the MSys2 compiler.
Edit3: The Code::Blocks Wizard is hard coded to use GTK2; that is why I am doing GTK2 first.

Edit2: I am trying to get the MSys2 compiler to work better with Code::Blocks.

Tim S.

southernsontn:
I try to run the 64 bit versions of software for compatibility issues, but I forget to mention that I'm using that version from time to time. Honestly, aside from memory allocation abilities, I'm not entirely educated about the difference. I am autodidactic in regards to computers, and from time to time I tend to overlook certain things only to find that I have to go back and learn them later when I should have learned them in the first place.

without steering too far off topic, From a programming standpoint, is there a major difference writing programs for 32 vs. 64 bit that I should be aware of?

stahta01:
When using 32 bit DLLs in MSys2 you get a weird run-time error that requires to run a batch file to redo the base addressing for all of the DLLs. That is the major newbie issue that I stumbled over a few months, ago. This includes MSYS2 built DLLs. I had to run the batch file every month or so.

Tim S.


--- Quote from: southernsontn on January 05, 2016, 01:15:18 am ---I try to run the 64 bit versions of software for compatibility issues, but I forget to mention that I'm using that version from time to time. Honestly, aside from memory allocation abilities, I'm not entirely educated about the difference. I am autodidactic in regards to computers, and from time to time I tend to overlook certain things only to find that I have to go back and learn them later when I should have learned them in the first place.

without steering too far off topic, From a programming standpoint, is there a major difference writing programs for 32 vs. 64 bit that I should be aware of?

--- End quote ---

stahta01:
I Have gotten an edited Code::Blocks SVN 10638 to build GTK2 sample.

Now, I need to switch to my Windows 7 64 bit laptop and see if that works.

If you are a Git User; I am using this branch to do my work.
https://github.com/stahta01/codeblocks_https_metadata/tree/msys2_gtk

Tim S.

southernsontn:

--- Quote from: stahta01 on January 05, 2016, 01:23:56 am ---When using 32 bit DLLs
--- End quote ---

Ok, so it's something that I'll have to look at down the road. I'm far from building applications that require the use of DLLs (I have only wrote a few very minor console applications, and those have just been modestly upgraded versions of the examples found in the C++ books I've read.

Since I'm not actually getting any formal education in the subject, and I don't personally know anyone in computer programming, I am basically learning from a few books (mostly older, prior to C++0x), let alone the newest standard), online tutorials, and browsing message boards for what information I can gather. I don't really post on them much because my questions can sometimes tend to get a little... abstract, and from what I've noticed programming message boards (understandably) aren't geared towards catering to the ultra new user. Therefore, I typically read a little bit on a particular topic, cross reference it with what the other books say about the topic, and then spend some time further researching it through online tutorials, blogs, online forums, etc. just so I can further understand it. I don't want to learn "You type this in, and the program will do this", I want to learn the how, why, and to what extent can this be optimized of the subject. Follow up questions of that nature tend to be seen as either off topic, wasting time, or trolling...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version