Author Topic: Graphics Libraries that work with codeblocks  (Read 39811 times)

Offline CodeGuy

  • Multiple posting newcomer
  • *
  • Posts: 11
Graphics Libraries that work with codeblocks
« on: February 18, 2010, 05:02:00 am »
I want to try some experiments with graphics, but I need a graphics library for codeblocks. Does anyone know of a good library, and how would I use it with codeblocks? I've never used a library before.

Another thing I would like to do is be able to create GUI programs (like a message window asking for an OK on something for example).

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Graphics Libraries that work with codeblocks
« Reply #1 on: February 18, 2010, 05:07:56 am »
Look up the QT or wxWidgets frameworks for gui app developement.  Or google for a tutorial on OpenGL or DirectX.   more advice than that though delvs into the realm of  'general programing' which is explicitely forbidden in the forum rules (ya know that sticky topic in the thread that says READ BEFORE ASKING QUESTIONS).  Questions about how to use codeblocks will be answered.   In general questions about how to program will not.   Try  irc channel  #c++-basic   for more info  (google if you dont know what irc is).

Offline CodeGuy

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Graphics Libraries that work with codeblocks
« Reply #2 on: February 18, 2010, 05:38:51 am »
Ok thanks, I have a problem: I can't compile my first program with codeblocks. It keeps telling that the debugger executable is not set, and that I need to go to Settings>Compiler and Debugger> and then to the programs tab. There is not a programs tab. I spent ten minutes doing this over and over and there is no tab named that.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Graphics Libraries that work with codeblocks
« Reply #3 on: February 18, 2010, 07:15:13 am »
I spent ten minutes doing this over and over and there is no tab named that.
That happens if you tell nothing about your configuration / version etc. The tab is called "Toolchain executables" in your version most likely. Sometimes it's also worth not just trying a "pattern matching" but probably think what this could mean: An executable is not set -> on what tab are executables being set...?!

In addition: The debugger must be installed separately if you didn't use an installer that installs the debugger for you, too. The compiler suite is splitted into separate packages, so is the debugger. Search the forums on that topic - there is plenty of information about this.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline CodeGuy

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Graphics Libraries that work with codeblocks
« Reply #4 on: February 18, 2010, 06:54:21 pm »
Quote
That happens if you tell nothing about your configuration / version etc. The tab is called "Toolchain executables" in your version most likely. Sometimes it's also worth not just trying a "pattern matching" but probably think what this could mean: An executable is not set -> on what tab are executables being set...?!

In addition: The debugger must be installed separately if you didn't use an installer that installs the debugger for you, too. The compiler suite is splitted into separate packages, so is the debugger. Search the forums on that topic - there is plenty of information about this.

That is very unhelpful. I told nothing about my config and version? Tell who? C::B or this forum? First of all, I don't even know what the difference is between a compiler, and an IDE. Another forum suggested that I use code::blocks, some time ago, and I decided I would use it after nearly a month trying to get another compiler working. All I want to do I program, and so far I've done nothing because whatever compiler/ide/whatever has been completely useless. None of them work! I'm sick of all the hoops I have to jump through to get something to work, when it should work right from the get go!

I searched the forum, and I found none of this "plenty of information" about this. I barely know what to search for! Why have me spend time searching when you can easily provide the answer? That is completely inefficient!

Do I sense hostility? If you're going to be a jerk, like 90% of all other forums out there, I'm going to be a jerk right back, and abandon C::B and find another compiler worth using and you'll have one less user on your hands!

Quote
Or google for a tutorial on OpenGL or DirectX.

Why would I do that? I'm sick of reading tutorials, I want to do SOMETHING! I liked a certain language, it had graphics built in. I can't use it though because the stupid compiler, the only one that works with it, does not work and no one is willing to help me fix it anymore. I've bumped the topic multiple times, and still no help. I can't even use the other compiler by the same company for C++, because that is nearly identical and doesn't work. You cannot begin to comprehend my frustration!!!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Graphics Libraries that work with codeblocks
« Reply #5 on: February 18, 2010, 07:55:10 pm »
Quote
Or google for a tutorial on OpenGL or DirectX.

Why would I do that? I'm sick of reading tutorials, I want to do SOMETHING!

If you are not willing to learn by reading, you should give up programming.

If you do not even know the difference between a compiler and an IDE, you should start posting in an absolute beginners forum or do something totally different.

You seem to be in the wrong place here.

We neither provide information for each and any library or compiler, nor do we teach programming, we "just" develop an IDE that can make use of them.

If you're going to be a jerk, like 90% of all other forums out there, I'm going to be a jerk right back, and abandon C::B and find another compiler worth using and you'll have one less user on your hands!

Good bye!

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Graphics Libraries that work with codeblocks
« Reply #6 on: February 18, 2010, 11:22:55 pm »
If you're going to be a jerk, like 90% of all other forums out there, I'm going to be a jerk right back, and abandon C::B and find another compiler worth using and you'll have one less user on your hands!

Good bye!

lol  :D, unbelievable  :shock:, people seems to think that they are paying for support or something like that, what is happening?  :lol: Something like that could be said to a for profit company giving bad user support but for a free open source project that is not even earning any money from such users lmao  :lol: I just keep reading this forum even im not active developing in c/c++ just to have fun on what users post here  :D

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Graphics Libraries that work with codeblocks
« Reply #7 on: February 19, 2010, 01:24:25 am »
You realize you did not specify what OS you are using.  You did not say what version of C::B you are trying to get working.  Did you try to click the link at the top of THIS VERY PAGE that says "wiki" ?  As wikis are designed to do, C::Bs wiki has a lot of highly organized information. It will tell you how to install it on multiple operating systems and those instructions are written out in a manner that my 10 year old step son followed on his own.  Did you google  "how to install codeblocks on <insert OS here>" ?   Did you try to go to the irc channel I mentioned above?  If so I didnt see you there.   While it would be simple enough to write out the instructions here YOU WOULD STILL BE REQUIRED TO READ THEM and why should I write something that is already written down in enough other places that you would find it if you only looked.

Offline CodeGuy

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Graphics Libraries that work with codeblocks
« Reply #8 on: February 22, 2010, 01:37:41 pm »
Quote
If you are not willing to learn by reading, you should give up programming.

That's an assumption. I am willing to learn, but I'm sick and tired of it, I want to start doing stuff as I said before. I've done enough reading for my taste.

I don't know why you're all asking me about how I installed codeblocks, I have it installed on windows vista, and as the download link said, MingW doesn't work with windows vista, so I downloaded the other binary executable. I think the version is codeblocks 8.02.

I checked the wiki, I couldn't find any help on this matter. I searched google, the wiki, and this forum and couldn't find anything useful. I found a few threads asking the same exact question with little to no help provided. I did find one thread about something called GDB, downloaded from MingW, that the person couldn't get working. If I downloaded it I wouldn't know where to put it or how to get it to work with codeblocks.

What is MingW anyway? What is the point of code blocks if it is just an add on to other compilers?

I can understand setting up the environment for a 3d modeling program, the settings actually affect the work, but in a compiler like code blocks?? What exactly would "setting up the environment" help with?

Offline rcoll

  • Almost regular
  • **
  • Posts: 150
Re: Graphics Libraries that work with codeblocks
« Reply #9 on: February 22, 2010, 01:55:13 pm »
This isn't really the place to ask your kinds of questions.  This place is about an IDE named Code::BLocks, not about programming.  You are not getting any usefull answers because you are not asking the right people.

There are a lot of other forums out there that can help you.  Find one that specializes in graphics programming for Windows; believe me, they will overwhelm you with the amount of information they have.

Ringo

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Graphics Libraries that work with codeblocks
« Reply #10 on: February 22, 2010, 04:57:27 pm »
[...] believe me, they will overwhelm you with the amount of information they have.

But it has to be read and that seems to be a problem.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Graphics Libraries that work with codeblocks
« Reply #11 on: February 22, 2010, 05:05:10 pm »
But it has to be read and that seems to be a problem.

I think the understanding is the second problem.

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 CodeGuy

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Graphics Libraries that work with codeblocks
« Reply #12 on: February 25, 2010, 01:32:16 am »
Quote
I think the understanding is the second problem.

Yes, what I don't "under-stand" is why you keep telling me my questions have to do with coding, when they do not. I know how to include a file full of functions for use in my programs (forgot what they're called) but what I don't know is where to put these files so they are found by the compiler/ide/whatever.

You all seem to think I need help with getting a graphics library to work, that is true, but beside the point. Right now I need to figure out how to get my program to debug. I can't find the information on how to do this anywhere, and since you think I need help with coding/this graphics library thing would you PLEASE read the entire thread!

My other questions had nothing to do with coding, you said I needed to set up the environment, how does that help me?

Quote
Btw setting the environment is a big part of the work you dont just go and press a simple button "make my program work".

Pressing a simple button and the program debugging is all that I've ever experienced in the past. Why should code::blocks be any different?

So much time has been fucking wasted, my frustration builds!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Graphics Libraries that work with codeblocks
« Reply #13 on: February 25, 2010, 04:05:01 am »
Why should code::blocks be any different?

Because Code::Blocks is an IDE that works with more than one make of C/C++ Compiler.

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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Graphics Libraries that work with codeblocks
« Reply #14 on: February 25, 2010, 07:37:53 am »
Why should code::blocks be any different?
Because Code::Blocks is an IDE that works with more than one make of C/C++ Compiler.
Not to forget: ...and works with more than one debugger. So you'll need at least install the right debugger and setup it correctly. Consult the WiKi how to do that.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ