Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: soltanma on January 19, 2023, 12:47:25 pm

Title: Using CB to compile/debug codes with various libraries/dependencies
Post by: soltanma 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
Title: Re: Using CB to compile/debug codes with various libraries/dependencies
Post by: Miguel Gimenez 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.
Title: Re: Using CB to compile/debug codes with various libraries/dependencies
Post by: stahta01 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/ (https://www.msys2.org/)

Tim S.