HI,
If I am trying to build and link my app in Release mode, i got linker error:
Error 72 error LNK2001: unresolved external symbol "public: __thiscall MyModels::MT6::MT6(double)" (??0MT6@MyModels@@QAE@N@Z) C:\Martin\Programing\WoknaTest\WoknaTest\DXForm.obj WoknaTest
In debug mode everything works fine.... what could be possibly wrong ?
Thanks
Judging from the fact that it builds successfully in the debug configuration, my first suggestion would be to check the additional dependencies supplied to the linker. This setting would be Additional Dependencies setting under Project -> Properties -> Configuration Properties -> Linker -> Input. Make sure this setting matches what is under the debug configuration, assuming there aren't debug-build-specific library names.
I'd check in the Project settings that all the .lib includes and dlls are included in both Release and Debug modes.
The solution to this is probably in the project settings for linking somewhere (either .lib .dll or path includes) , but I can't really tell you exactly where from the info. you provided.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With