How to include Sdl_image lib for my Solution in Visual Studio 2015?

Asked

Viewed 113 times

0

I’m trying to create a C++ game with SDL2 for Windows Phone 8.1

I follow this tutorial https://hg.libsdl.org/SDL/raw-file/tip/docs/README-winrt.md and a game with only the SDL2/Winrt project (no SDL extensions) works fine.

But with that I can just do some little things like fill the screen with a color.

I tried to include lib Sdl_image (downloaded from Hg.libsdl.org) in Solution. But all the ways I try to do this ends up with several mistakes in the build. Anyway, inserting both Sdl_image and Sdl_mixer into the project is not as intuitive as it should be.

How to properly include Sdl_image and other SDL extensions in my Visual Studio Solution? They also come with a file. vcxproj, but only include in the Solution and reference them does not work.

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.