Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Using CB to compile/debug codes with various libraries/dependencies
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Using CB to compile/debug codes with various libraries/dependencies (Read 2954 times)
soltanma
Guest
Using CB to compile/debug codes with various libraries/dependencies
«
on:
January 19, 2023, 12:47:25 pm »
Hello, I am trying to figure out how to use Code::Block as an IDE for a open source code called PFLOTRAN (
https://www.pflotran.org/documentation/user_guide/how_to/installation/installation.html
). I looked at PFLOTRAN installation instructions below. They have for visual studio but not for Code::Blocks. There are multiple libraries/dependencies as well as PETSC solver need to be integrated within a project file so that PFLOTRAN is compiled, etc...
I was wondering I should go about this!!
https://www.pflotran.org/documentation/user_guide/how_to/installation/installation.html
Thank you in advance for your help.
Best regards
Logged
Miguel Gimenez
Developer
Lives here!
Posts: 1674
Re: Using CB to compile/debug codes with various libraries/dependencies
«
Reply #1 on:
January 19, 2023, 07:36:00 pm »
You did not specify your OS, I suppose it is Windows due to the reference to Visual Studio.
I would follow the steps for Visual Studio, adapting the changes to C::B (not a noob task). I do not know if this will work, though.
«
Last Edit: January 19, 2023, 07:40:33 pm by Miguel Gimenez
»
Logged
stahta01
Lives here!
Posts: 7721
Re: Using CB to compile/debug codes with various libraries/dependencies
«
Reply #2 on:
January 19, 2023, 11:05:36 pm »
To soltanma: If I created an MSys2 MinGW64 package for pflotran could you build and use it?
If yes, I might try to do that.
I would also write simple CB directions for Code::Blocks and MSys2 pflotran package setup.
https://www.msys2.org/
Tim S.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Using CB to compile/debug codes with various libraries/dependencies