2016-08-23 12:27 PM
2016-08-24 02:59 AM
Hi sklv,
There is a Problem when used Visual Studio 2015.As mentioned in the segger forum from this , the workaround for this issue is to change the Project Properties as followed:1. Right-Click on the Project (e.g. SimulationTrial) -> Properties2 Set Configuration to ''All Configurations''3. Go to Configuration Properties -> Linker -> Input.4. Set Ignore All Default Libraries: ''No''5. Set Ignore Specific Default Libraries: ''LIBC.lib;LIBCMTD.lib''6. Go to Configuration Properties -> Linker -> Advanced 7. Set Image Has Safe Exception Handlers:''No (/SAFESEH:NO)'' 8. Click ''OK''-Button.Regards2016-08-24 09:57 AM
Hi,
Thanks for your reply. After I followed your instructions, I only had one unresolved symbol:error LNK2001: unresolved external symbol _sprintfI added legacy_stdio_definitions.lib to the linker input (https://stackoverflow.com/questions/32418766/c-unresolved-external-symbol-sprintf-and-sscanf-in-visual-studio-2015)And the simulation compiled and ran.Thanks again for the input.