Alright, so I'm trying to follow the instructions here: https://ogrecave.github.io/ogre/api/2.1 ... urApp.html
And it didn't work, since it couldn't find the SDL files SDL2Config.cmake or sdl2-config.cmake. I searched my system and could only find a sdl2-config.cmake.in file, which didn't work
So, I followed the advice of this link: https://brendanwhitfield.wordpress.com/ ... with-sdl2/ and grab https://github.com/brendan-w/collector/ ... SDL2.cmake and rename it to sdl2-config.cmake.
This seemed to work, until I tried building the EmptyProject build in Visual Studio 2015. It gave these errors:
Code: Select all
1>------ Build started: Project: EmptyProject, Configuration: Debug x64 ------
1> Creating library D:/Projects/ogre/projects/EmptyProject/bin/Debug/EmptyProject.lib and object D:/Projects/ogre/projects/EmptyProject/bin/Debug/EmptyProject.exp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>SDL2.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp_timeGetTime referenced in function SDL_GetPerformanceCounter_REAL
1>SDL2.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp_timeBeginPeriod referenced in function SDL_TimerResolutionChanged
1>SDL2.lib(SDL_systimer.obj) : error LNK2019: unresolved external symbol __imp_timeEndPeriod referenced in function SDL_TicksQuit
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol GetFileVersionInfoSizeA referenced in function IME_GetId
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol GetFileVersionInfoA referenced in function IME_GetId
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol VerQueryValueA referenced in function IME_GetId
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmGetIMEFileNameA referenced in function IME_GetId
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmGetContext referenced in function IME_ClearComposition
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmReleaseContext referenced in function IME_ClearComposition
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmAssociateContext referenced in function IME_Disable
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmGetCompositionStringW referenced in function IME_GetCompositionString
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmSetCompositionStringW referenced in function IME_ClearComposition
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmGetCandidateListW referenced in function IME_GetCandidateList
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmNotifyIME referenced in function IME_ClearComposition
1>SDL2.lib(SDL_windowskeyboard.obj) : error LNK2019: unresolved external symbol ImmSetCompositionWindow referenced in function WIN_SetTextInputRect
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutGetNumDevs referenced in function DetectWaveOutDevs
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutGetDevCapsW referenced in function DetectWaveOutDevs
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutGetErrorTextW referenced in function SetMMerror
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutOpen referenced in function WINMM_OpenDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutClose referenced in function WINMM_CloseDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutPrepareHeader referenced in function WINMM_OpenDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutUnprepareHeader referenced in function WINMM_CloseDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveOutWrite referenced in function WINMM_PlayDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveInGetNumDevs referenced in function DetectWaveInDevs
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveInGetDevCapsW referenced in function DetectWaveInDevs
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveInOpen referenced in function WINMM_OpenDevice
1>SDL2.lib(SDL_winmm.obj) : error LNK2019: unresolved external symbol __imp_waveInClose referenced in function WINMM_CloseDevice
1>D:\Projects\ogre\projects\EmptyProject\bin\Debug\EmptyProject.exe : fatal error LNK1120: 27 unresolved externals
2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========
I'm honestly going insane, I just wanna build a demo
Any ideas how to fix this? Thanks