User forums > Using Code::Blocks

Some C::B Suggestions...

<< < (5/7) > >>

takeshimiya:

--- Quote from: Shakes on November 18, 2006, 01:52:30 am ---OMG that CINT thing is awesome. Its like running the iPython shell or equiv.

--- End quote ---
Or it is even better :), as you can mix C/C++ interpreted and C/C++ native code.
"You can encapsulate arbitrary C/C++ code as a precompiled library. Precompiled library can be configured as a DLL and access between interpreted code and precompiled code can be done seamlessly in both directions."


--- Quote from: Shakes on November 18, 2006, 01:52:30 am ---Can u say "Kicks Python around like never before!" *Smack*, *Smack*, *BASH*

--- End quote ---
And it's also cool that the ROOT/CINT framework will be used in Large Hadron Collider(LHC) research project beyond 2020. :P


--- Quote from: Shakes on November 18, 2006, 01:52:30 am ---Someone make a plugin quick! "GO, GO, GO!"  :P

--- End quote ---
Until a plugin gets made, or the compiler framework gets redesigned, you can use makefiles build system in C::B, or for simple programs, create a Tool. :)

tiwag:

--- Quote from: takeshi miya on November 17, 2006, 08:12:30 pm ---...otherwise, (you want to use makecint, want to compile cint, or want the latest ver.), do what I said above. :)

--- End quote ---

can you explain exactly how you've built cint using the cint5.16.tar.gz ???

i tried using msys and mingw
./configure --arch=mingw
make


then there is an error when it wants to build readline, which isn't in the package,
how did you solve this ?

takeshimiya:

--- Quote from: tiwag on November 18, 2006, 08:41:16 am ---can you explain exactly how you've built cint using the cint5.16.tar.gz ???

i tried using msys and mingw
./configure --arch=mingw
make


then there is an error when it wants to build readline, which isn't in the package,
how did you solve this ?

--- End quote ---

As I said above of above :P :


--- Quote from: takeshi miya on November 17, 2006, 02:34:37 pm ---For compiling it, just open msys and do a ./configure --arch=mingw && make it works for me.
You might need to remove (or compile) readline and dl from linking libs if you don't have them.

--- End quote ---

I'm not quite sure what dl does, but readline is not really needed, so I removed it from the linking libs.
I guess that if you want it, you can compile it or use this precompiled library.

tiwag:

--- Quote from: takeshi miya on November 18, 2006, 08:53:46 am ---As I said above of above :P :


--- Quote from: takeshi miya on November 17, 2006, 02:34:37 pm ---For compiling it, just open msys and do a ./configure --arch=mingw && make it works for me.
You might need to remove (or compile) readline and dl from linking libs if you don't have them.

--- End quote ---

I'm not quite sure what dl does, but readline is not really needed, so I removed it from the linking libs.
I guess that if you want it, you can compile it or use this precompiled library.


--- End quote ---

yes i've read that, please exlain a step by step procedure what is necessary to
remove it from the linking libs ??? which file to edit ?? what to edit ??
that would be a helpful information.

takeshimiya:

--- Quote from: tiwag on November 18, 2006, 08:57:15 am ---yes i've read that, please exlain a step by step procedure what is necessary to
remove it from the linking libs ??? which file to edit ?? what to edit ??
that would be a helpful information.

--- End quote ---

Open the configure file in a text editor, and search for the function config_mingw (@line 155).
There, add this empty variable in one line: BUILDREADLINE= and this on another: DEFAULTLIBS=
With that, you'll be overriding the values specified in function config_GCC_defaults.

I'm not quite comfortable with the (new) building system it haves, so it might be better if we write a CodeBlocks project or premake script.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version