Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CXX0017: Error: symbol not found in static library

When I try to watch some variables in a static library linked with current startup project I receive this error:

CXX0017: Error: symbol not found

I've tried to rebuild the project/close IDE but I have same error. I can use breakpoints/step/other features.

Do you have any idea why is this happening? Maybe some weird compiler flags or else...

Edit: Only some variables can't be viewed in debugger! In general local variables.

like image 445
Mircea Ispas Avatar asked Oct 08 '22 19:10

Mircea Ispas


1 Answers

I am using Cplex solver and I had this problem, I changed the following setting to "disabled(/od)": from property pages > configuration manager > c/c++ > optimization >optimization and now it works :)

like image 166
Mohammad Avatar answered Oct 13 '22 10:10

Mohammad