Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Drknownothing on August 25, 2009, 06:14:59 pm
-
I just download this. i had a few questions first if i want to run a existing code how do i do this. I tried importing which imported the ode but did not run. Next i was wondering since visual c++ express 2008 is free why use this? I use express 2008 it's a bit of a pain but once you get used to it. I was using widgets dev c++ i did not like that one setting it up i mean
Drknownothing
-
I just download this. [...]
I read this several times but I'm afraid I didn't get what you mean at all. What exactly is your question? Could you phrase a question, please?!
-
I was in a rush but the questions were plain the first one is how do i run existing code? When i tried I imported that code but it would not run, so how do i open an existing project?
Drknownothing
-
if it is a cb project,just open it ,
if it is other kind of project.use menu file->import project.
-
I already tried importing, the code is there but it does not run. This is existing code for opengl program. With VS 2008 I just select the folder and the hpp and cpp files load. Not so here
Drknownothing
-
No one knows? Are there any tutorials i have not had time to look. Codeblocks looks easy but should have better support. Thanks to everyone who replied
Drknownothing
-
http://www.codeblocks.org/user-manual
I have not used docs no idea of its quality.
See also
http://wiki.codeblocks.org/index.php?title=Off-site_documentation
Tim S.
-
No one knows?
What do you expect? We know nothing about the project you are trying to import. I don't know what voodoo is done in this VS project that it cannot be correctly imported. For me *every* VS project I imported was ready to run afterwards. Some needed some minor tweaking of the settings - but that usually only if I switched the compiler from Visual C to GCC for example.
So - either you post your project so I (we) can reproduce or explain exactly the steps you do and exactly what is not working and exactly what the error is. You should always include a full build log. The information you provided so far is not enough.
-
I tried opening up an existing project and importing, the code is there but when i try to build then run nothing hppens and there is no build log otherwise i would have posted it. When trying a something new it's always a pain
I was just curious about codeblocks I will wait for better tutorials I am using VS 2008 that works perfectly so why waste time. Thanks again
Drknownothing
-
I am using VS 2008 that works perfectly so why waste time.
Yes, sometimes finding the error and getting to a solution might be a waste of time. :?
Screenshots might have helped or the project... but hey... probably it's a waste of time, too.
-
You are way too sensitive, i am not putting code blocks down, i am doing something wrong, i know that.
The code is for an opengl tutorial (not my code) go to http://www.videotutorialsrock.com/ and download the source code for a lesson ( i tried loading fog into code blocks) If it works tell me what you did in detail. problem solved
Drknownothing
-
I just downloaded the source code for the 'fog' example, and all it has is a Makefile as way to build it.
Anyway, I created a new empty project in Code::Blocks, decompressed the zip file in the same folder as the project, added all source files to the project, added 'glut' to the link libraries (as seen in the Makefile), hit build, and it failed because it could not find gluPerspective. Same story if I use the Makefile. To solve that specific issue, I just Googled and found that GLU needs to be added too. I added GLU to the linker libraries and that was it. It builds and runs.
Just in case, I did that in Linux.