the CMake with those error messages was building correctly i added nothing to the options just generated files
i open the cbp file in codeblocks and try to build the project it goes on well for a while then it gives these errors:
"||=== Build: all in Urho3D (compiler: GNU GCC Compiler) ===|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\SDL_log.c|309|warning: ‘consoleAttached’ defined but not used [-Wunused-variable]|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\SDL_log.c|312|warning: ‘stderrHandle’ defined but not used [-Wunused-variable]|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c||In function ‘DetectWaveOutDevs’
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|57|error: unknown type name ‘WAVEOUTCAPS2W’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|44|note: in definition of macro ‘DETECT_DEV_IMPL’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|48|error: request for member ‘szPname’ in something not a structure or union|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|57|note: in expansion of macro ‘DETECT_DEV_IMPL’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|48|error: request for member ‘NameGuid’ in something not a structure or union|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|57|note: in expansion of macro ‘DETECT_DEV_IMPL’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c||In function ‘DetectWaveInDevs’
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|58|error: unknown type name ‘WAVEINCAPS2W’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|44|note: in definition of macro ‘DETECT_DEV_IMPL’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|48|error: request for member ‘szPname’ in something not a structure or union|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|58|note: in expansion of macro ‘DETECT_DEV_IMPL’|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|48|error: request for member ‘NameGuid’ in something not a structure or union|
E:\tar\games\developedgames\Urho3D-1.7.1\Source\ThirdParty\SDL\src\audio\winmm\SDL_winmm.c|58|note: in expansion of macro ‘DETECT_DEV_IMPL’|
Source\ThirdParty\SDL\CMakeFiles\SDL.dir\build.make|1168|recipe for target ‘Source/ThirdParty/SDL/CMakeFiles/SDL.dir/src/audio/winmm/SDL_winmm.c.obj’ failed|
CMakeFiles\Makefile2|1963|recipe for target ‘Source/ThirdParty/SDL/CMakeFiles/SDL.dir/all’ failed|
E:\tar\games\developedgames\Urho3D-1.7.1\build\Makefile|150|recipe for target ‘all’ failed|
||=== Build failed: 9 error(s), 2 warning(s) (1 minute(s), 29 second(s)) ===|
"
how should we fix these errors? maybe some of the missing things was essential within the configuration process?