CXX0017: Error: Character not found in the static library

When I try to look at some variables in the static library associated with the current startup project, I get this error:

CXX0017: Error: symbol not found 

I tried to restore the project / close the IDE, but I have the same error. I can use breakpoints / step / other functions.

Do you have an idea why this is happening? Maybe some weird compiler flags, otherwise ...

Edit: only some variables cannot be viewed in the debugger! In the general case, local variables.

+4
source share
3 answers

Taken from http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/8d1007d4-c85a-44e8-970a-1c2a7b638ce4

check if the pdb file is loaded correctly from the correct project, you can select Debug → Windows → Modules , on the Modules window, right-click the symbol element, select “Symbol load” Information from the pop-up window you can see if the pdb file will be and where pdb file is loading.

+1
source

I use the Cplex solver, and I had this problem, I changed the following setting to "disabled (/ od)": from the page properties> configuration manager> c / C ++> optimization> optimization and now it works :)

+1
source

I ran into the same problems and I am using VS2005. About changing the parameter in (/ od) in projects - propoties - C / C ++ Optimization and failed. Then I found the Souce file and right-click the file, then click propoties, on this page I found another C / C ++ optimization and selected / od. It helps.

0
source

Source: https://habr.com/ru/post/1413185/


All Articles