User forums > Using Code::Blocks
Help needed setting up Code::blocks IDE for geant4 - from scratch
oBFusCATed:
Have you read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F ?
stahta01:
I suggest reading the "geant4" directions; I saw that it said Cygwin and MSVC is the normal way to build it.
http://geant4.slac.stanford.edu/tutorial/installation/Geant4.8.0.p01/Windows/Geant4_8_0_p01_Windows_Installation.htm
http://geant4.slac.stanford.edu/installation/
Note: I suggest find a site that supports building "geant4" and try to follow the directions.
I would guess building "geant4" would not be easy for a beginner.
Tim S.
beastraban:
thank you, I have actually followed your advice...
it seems cygwin GCC is the right compiler, but it still doesn't compile like it should.
about the geant4 building... well I did follow the instructions to the letter
(because I'm new to all of this) and I have GEANT4 properly installed etc.
but as far as compiling it in c::b... well that just wont work... :(
TY
stahta01:
--- Quote from: beastraban on May 11, 2011, 01:36:25 pm ---it seems cygwin GCC is the right compiler, but it still doesn't compile like it should.
--- End quote ---
This may be Wrong! You need to use any library with an Compiler that is compatible to Compiler used to create the library.
I would guess MSVC compiler is the correct compiler; but, I do not know that.
You need to find a site that supports the library. This is NOT a site that supports the library.
Note: Saying you installed the Library means it is already compiled; I am giving up helping you because you are not talking like a experienced programmer.
Tim S.
Navigation
[0] Message Index
[*] Previous page
Go to full version