User forums > General (but related to Code::Blocks)
Gurobi in Code::Blocks
nenin:
--- Quote from: Lobric on October 15, 2020, 08:25:44 pm ---Thanks for your replies.
Sorry, I just added all the libraries and failed.
I didn't know it doesn't provide support for MinGW.
*****
Is that means I can't use Gurobi with Code Block ?
--- End quote ---
Theoretically if Gurobi supplis dlls, you can try to link dlls, not libs, directly to you project. GCC can do it. But even in case of the successful linking there may be a lot of the other issues for c++ library.
MortenMacFly:
--- Quote from: Lobric on October 15, 2020, 08:25:44 pm ---I didn't know it doesn't provide support for MinGW.
--- End quote ---
I can tell that I use Gurobi with MinGW just fine. Not being shown on the hompage as a supported IDE does not mean anything. If the compiler you use supports the MS library format (assuming you don't mix languages not supported), the libs can be used with this compiler, too. MinGW is quite compatible. I never had major issues with using MSVC libs. Just as a hint: Its easier to configure in C::B if you make a copy of the library with a *.a instead of *.lib extension.
Navigation
[0] Message Index
[*] Previous page
Go to full version