User forums > Using Code::Blocks
Help needed setting up Code::blocks IDE for geant4 - from scratch
beastraban:
Hello all,
I know I know, there's already a thread addressing this but please indulge me
for a moment:
I am trying to set up code::blocks as an IDE for geant4,
I am following instructions as on a youtube flick at:
http://www.youtube.com/watch?v=LWSFxR1G1Og
only problem is: it doesn't work for me - it won't compile the example.
and I have no idea what he did in:
(a) the release target folder (he doesn't say what he does exactly) and,
(b) when he adds directories I don't know which directories he's adding and which files
I am supposed to look for in order to add their containing directory.
at the other thread they also mentioned a .bashrc which I have no idea what is,
and they also mentioned "port" which I am clueless about.
could anybody please provide a step-by-step installation guide for the said configuration?
I have tried to research the web before posting this, Nada^2...
thank you
stahta01:
Please give the information needed to ask an smart question!
We are not mind readers!!!
Your Operating System!!!
Your Compiler name and version!!!
The version of Code::Blocks being used!!!
Note: This is NOT really a Code::Blocks question; but, maybe you will learn to ask a smart question for another site.
Tim S.
beastraban:
Wow, sorry, I'm new to this (obviously)...
OS: Windows vista 32-bit.
C::B version 10.05 rev 6283
as for compiler, there are many options there, so I guess
I'm using GNU GCC compiler.
thank you
oBFusCATed:
--- Quote from: beastraban on May 11, 2011, 05:25:42 am ---as for compiler, there are many options there, so I guess
I'm using GNU GCC compiler.
--- End quote ---
But do you have installed any version of GCC? Having it as an option doesn't mean you have it installed.
beastraban:
I think I do have it installed bc when I write normal c++ programming,
I am compiling it also with GNU gcc and it compiles and runs just fine...
so probably its not that..
when I try to compile G4 work, I get either:
Using makefile: Makefile
Execution of 'make.exe -s -f Makefile Release' in 'C:\Program Files\CodeBlocks\Hall1' failed.
Nothing to be done.
in some cases,
and in others:
Using makefile: Makefile
Execution of 'make.exe -s -f Makefile Debug' in 'C:\G4WORKDIR\88' failed.
Nothing to be done.
so... I really don't know.
I would be happy if there would have been some documentation helping ppl with this stuff anywhere,
I just can't find any, not even in G4 dedicated forums... :(
thanks though
Navigation
[0] Message Index
[#] Next page
Go to full version