Closed Helco closed 6 years ago
Visual Studio Build is broken because of macro redefinitions and unresolved symbols, please fix.
:\pebbleofdoom\renderer\algebra.h(7): warning C4005: 'min': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdlib.h(1290): note: see previous definition of 'min' 1>c:\pebbleofdoom\renderer\algebra.h(8): warning C4005: 'max': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdlib.h(1289): note: see previous definition of 'max' 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\corecrt_math.h(466): error C2059: syntax error: '(' 1>c:\pebbleofdoom\renderer\renderer.c(188): warning C4013: 'memset' undefined; assuming extern returning int 1>renderer_debug.c 1>c:\pebbleofdoom\renderer\algebra.h(7): warning C4005: 'min': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdlib.h(1290): note: see previous definition of 'min' 1>c:\pebbleofdoom\renderer\algebra.h(8): warning C4005: 'max': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdlib.h(1289): note: see previous definition of 'max' 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\corecrt_math.h(466): error C2059: syntax error: '(' 1>algebra.c 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\corecrt_math.h(466): error C2059: syntax error: '(' 1>Generating Code... 1>Done building project "podrenderer.vcxproj" -- FAILED. 7>------ Build started: Project: pcmockup, Configuration: Debug Win32 ------ 8>------ Build started: Project: test_podrenderer, Configuration: Debug Win32 ------ 8>test_real.obj : error LNK2019: unresolved external symbol _real_neg referenced in function "private: virtual void __thiscall TestAlgebraReal_real_neg_Test::TestBody(void)" (?TestBody@TestAlgebraReal_real_neg_Test@@EAEXXZ) 8>C:\PebbleOfDoom\build\Debug\test_podrenderer.exe : fatal error LNK1120: 1 unresolved externals 8>Done building project "test_podrenderer.vcxproj" -- FAILED. 7>pcmockup.obj : error LNK2019: unresolved external symbol ___makeGSize referenced in function _main 7>podrenderer.lib(renderer.obj) : error LNK2019: unresolved external symbol _app_log referenced in function _renderer_init 7>C:\PebbleOfDoom\build\Debug\pcmockup.exe : fatal error LNK1120: 2 unresolved 067826 7>Done building project "pcmockup.vcxproj" -- FAILED. 9>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------ 9>Project not selected to build for this solution configuration ========== Build: 0 succeeded, 3 failed, 4 up-to-date, 6 skipped ==========
Visual Studio Build is broken because of macro redefinitions and unresolved symbols, please fix.