or Create a profile
20 Oct, 2018 07:13 PM
I've pushed over 40 commits and spent hours on this but I am unable to get my project to build that uses SDL2. I can't for the life of me figure out how to get it work... I even tried moving my original SDL2 into my project
c:\projects\project-n2de\2d_engine\2d_gameengine\game.h(4): fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory [C:\projects\project-n2de\2D_Engine\2D_GameEngine\2D_GameEngine.vcxproj]```
The file seems to be wrong so here is the code
image: Visual Studio 2017
- mkdir %SDL2_IDIR%
- cd %TEMP%
%DEPENDS% appveyor DownloadFile https://www.libsdl.org/release/SDL2-devel-2.0.8-VC.zip
%DEPENDS% appveyor DownloadFile https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.3-VC.zip
%DEPENDS% 7z x SDL2-devel-2.0.8-VC.zip > nul
%DEPENDS% 7z x SDL2_image-devel-2.0.3-VC.zip > nul
%DEPENDS% copy SDL2-2.0.8\include\* %SDL2_IDIR% > nul
%DEPENDS% copy SDL2_image-2.0.3\include\* %SDL2_IDIR% > nul
%DEPENDS% copy SDL2-2.0.8\lib\x86\* %LIBDIR% > nul
%DEPENDS% copy SDL2_image-2.0.3\lib\x86\* %LIBDIR% > nul
on 22 Oct, 2018 06:33 PM
Have you tried accessing the build worker via rdp to make sure that your copying of folder contents to the project directory is working as expected?
on 23 Oct, 2018 07:15 PM
I'm not familiar with it but I will do some research to see if I can get more information through that
on 23 Oct, 2018 07:48 PM
On the remote desktop I opened VS and it built the game successfully
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.