'gurobi70.dll'. Cannot find or open the PDB file.

100 views
Skip to first unread message

Raz Widrich

unread,
Jul 23, 2018, 12:26:14 AM7/23/18
to Gurobi Optimization
Hi,

I've compiled my code successfully on Visual Studios 2015. It's written in C (Console Application x32, because that's the way to write a C project in VS as far as I know). 
However, when trying to run and debug it, it loads all symbols except for 'gurobi70.dll'.
The error is as follows:
'C:\gurobi702\win32\bin\gurobi70.dll'. Cannot find or open the PDB file.

I tried to change the settings of both debug and build, from x32 (x86) to x64 and back.
I tried to download the version of win64 too, and use the relevant library and include directories from there.

Is it maybe related to the license file? Should it be positioned in a specific directory?
Is it related to some other settings?

Thanks,
Raz

Dan Jeffrey

unread,
Aug 13, 2018, 10:43:20 AM8/13/18
to Gurobi Optimization
There are many possible causes for this error because Visual Studio projects have so many settings. the best approach is to "work fronm success."

First of all -- please upgrade Gurobi to version 8.0.2 -- the current release.

Then look at one of the C examples installed by Gurobi. The Visual Studio solution for all of those examples is installed as GUROBI_HOME%\examples\build\C_examples_2015.sln

Pick one of the projects and use it as a start point -- OR -- Copy the settings from the example project -- one by one -- into your own project.
Reply all
Reply to author
Forward
0 new messages