Giter Site home page Giter Site logo

simplesdl's Introduction

simpleSDL

A simple crossplatform libSDL cmake build environment example/test. This is still somewhat work in progress and is missing support for iOS builds.

Tested to build and run successfully with:

  • Android: gradle + cmake
  • Windows: mingw-w64
  • Windows: Visual Studio 2015
  • Linux (Ubuntu): GCC
  • Mac: (Just building a simple executable, no bundle)
  • Emscripten

Building on Android

You need to have NDK and cmake plugins installed on Android SDK (https://developer.android.com/studio/projects/add-native-code.html)

  1. Copy/clone SDL to the contrib/ directory

  2. run gradlew assemble in platforms/android

    or

    Open the project in Android Studio and build using the IDE. NOTE: Make sure to open the platforms/android/ dir. Android studio can also open the root dir but it's not recognized as an android project.

The included android gradle cmake project is pretty much what Android Studio generates when you create a new empty app with native cmake support. Just pointing to the CmakeLists.txt in the project root.

NOTE:

Currently the SDL2 Android Java code is included in this project. This is not a very good system as it easily leads to the SDL Java and native code being out of sync (i.e. code from different versions of SDL). You should replace the Java sources from the version of SDL you are using to make sure they are from the same version.

Todo

  • Nicer way to include SDL in an android project. A missing android feature is needed to include prebuilt native library with headers in a .aar package.
  • iOS build
  • Add instructions how to build on all platforms

simplesdl's People

Contributors

suikki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

simplesdl's Issues

How to include assets?

Hello. You project is great, but I miss one important point from it: how can I add assets to my SDL application, like images and fonts? Can you, please, extend example or at least provide some helpful links?

Thank you.

Unable to run app

I am able to build and deploy the app, but when I run it the shared object library fails to load.

In SDLActivity.SDLMain:

        Log.v("SDL", "Running main function " + function + " from library " + library);
        SDLActivity.nativeRunMain(library, function, arguments);

        Log.v("SDL", "Finished main function");

nativeRunMain calls dlopen, which returns a null handle and I get this error:

03-23 15:54:20.564 12504 12530 E SDL     : nativeRunMain(): Couldn't load library libSimpleExample.so

I checked the library name being passed in to dlopen. It definitely exists in the correct arch in the APK. I'm wondering if this is an issue with my NDK version. I'm using the latest stable (19.2.5345600) though I got the same behavior with 19.1.5304403.

Here's a gist with the readelf dump: https://gist.github.com/tbrosman/73d0118f8c5c5f4ea4df9b73b62fbd2a

Any pointers on how to debug this would be greatly appreciated!

Emscripten build

I just got your environment setup. I've been able to get the Windows and Android builds running but I am getting errors from the emscripten build. I am developing on Windows 10. Any idea what I am doing wrong? I've attached the output below.

C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>setlocal

C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>set PROJECT_DIR=C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\..

C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>set BUILD_DIR=C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\..\build\emscripten

C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>call "C:\Software\emscripten\emsdk_env.bat"
Setting environment variables:
EMSDK = C:/Software/emscripten
JAVA_HOME = C:\Software\emscripten\java\8.152_64bit


C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>if not exist "C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\..\build\emscripten_debug" mkdir "C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\..\build\emscripten_debug"   || goto error

C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten>pushd "C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\..\build\emscripten_debug"   || goto error

C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug>call emcmake cmake -D CMAKE_BUILD_TYPE:STRING=Debug "C:\Development\GameDevelopment\Library\simpleSDL\platforms\emscripten\..\.."   || goto error
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- 0.8.0 :: 8 :: 0 :: 8 :: 2.0
--
-- SDL2 was configured with the following options:
--
-- Platform: Emscripten-1
-- 64-bit:   FALSE
-- Compiler: C:/Software/emscripten/emscripten/1.37.35/emcc.bat
--
-- Subsystems:
--   Atomic:    OFF
--   Audio:     ON
--   Video:     ON
--   Render:    ON
--   Events:    ON
--   Joystick:  ON
--   Haptic:    ON
--   Power:     ON
--   Threads:   OFF
--   Timers:    ON
--   File:      ON
--   Loadso:    OFF
--   CPUinfo:   OFF
--   Filesystem:        ON
--   Dlopen:    OFF
--
-- Options:
--   3DNOW                  (Wanted: OFF): OFF
--   ALSA                   (Wanted: ON): OFF
--   ALSA_SHARED            (Wanted: ON): OFF
--   ALTIVEC                (Wanted: OFF): OFF
--   ARTS                   (Wanted: ON): OFF
--   ARTS_SHARED            (Wanted: ON): OFF
--   ASSEMBLY               (Wanted: OFF): OFF
--   ASSERTIONS             (Wanted: auto): auto
--   CLOCK_GETTIME          (Wanted: OFF): OFF
--   DIRECTFB_SHARED        (Wanted: OFF): OFF
--   DIRECTX                (Wanted: OFF): OFF
--   DISKAUDIO              (Wanted: ON): ON
--   DUMMYAUDIO             (Wanted: ON): ON
--   ESD                    (Wanted: ON): OFF
--   ESD_SHARED             (Wanted: ON): OFF
--   FUSIONSOUND            (Wanted: OFF): OFF
--   FUSIONSOUND_SHARED     (Wanted: OFF): OFF
--   GCC_ATOMICS            (Wanted: ON): OFF
--   INPUT_TSLIB            (Wanted: ON): OFF
--   JACK                   (Wanted: ON): OFF
--   JACK_SHARED            (Wanted: ON): OFF
--   KMSDRM_SHARED          (Wanted: ON): OFF
--   LIBC                   (Wanted: ON): ON
--   LIBSAMPLERATE          (Wanted: ON): OFF
--   LIBSAMPLERATE_SHARED   (Wanted: ON): OFF
--   MIR_SHARED             (Wanted: ON): OFF
--   MMX                    (Wanted: OFF): OFF
--   NAS                    (Wanted: ON): OFF
--   NAS_SHARED             (Wanted: ON): OFF
--   OSS                    (Wanted: ON): OFF
--   PTHREADS               (Wanted: OFF): OFF
--   PTHREADS_SEM           (Wanted: OFF): OFF
--   PULSEAUDIO             (Wanted: ON): OFF
--   PULSEAUDIO_SHARED      (Wanted: ON): OFF
--   RENDER_D3D             (Wanted: OFF): OFF
--   RPATH                  (Wanted: ON): OFF
--   SDL_DLOPEN             (Wanted: OFF): OFF
--   SDL_STATIC_PIC         (Wanted: OFF): OFF
--   SDL_TEST               (Wanted: OFF): OFF
--   SNDIO                  (Wanted: ON): OFF
--   SSE                    (Wanted: OFF): OFF
--   SSE2                   (Wanted: OFF): OFF
--   SSE3                   (Wanted: OFF): OFF
--   SSEMATH                (Wanted: OFF): OFF
--   VIDEO_COCOA            (Wanted: OFF): OFF
--   VIDEO_DIRECTFB         (Wanted: OFF): OFF
--   VIDEO_DUMMY            (Wanted: ON): ON
--   VIDEO_KMSDRM           (Wanted: ON): OFF
--   VIDEO_MIR              (Wanted: ON): OFF
--   VIDEO_OPENGL           (Wanted: ON): OFF
--   VIDEO_OPENGLES         (Wanted: ON): ON
--   VIDEO_RPI              (Wanted: ON): OFF
--   VIDEO_VIVANTE          (Wanted: ON): OFF
--   VIDEO_VULKAN           (Wanted: OFF): OFF
--   VIDEO_WAYLAND          (Wanted: ON): OFF
--   VIDEO_WAYLAND_QT_TOUCH (Wanted: ON): OFF
--   VIDEO_X11              (Wanted: ON): OFF
--   VIDEO_X11_XCURSOR      (Wanted: ON): OFF
--   VIDEO_X11_XINERAMA     (Wanted: ON): OFF
--   VIDEO_X11_XINPUT       (Wanted: ON): OFF
--   VIDEO_X11_XRANDR       (Wanted: ON): OFF
--   VIDEO_X11_XSCRNSAVER   (Wanted: ON): OFF
--   VIDEO_X11_XSHAPE       (Wanted: ON): OFF
--   VIDEO_X11_XVM          (Wanted: ON): OFF
--   WAYLAND_SHARED         (Wanted: ON): OFF
--   X11_SHARED             (Wanted: ON): OFF
--
--  CFLAGS:         -idirafter C:/Development/GameDevelopment/Library/simpleSDL/contrib/SDL/src/video/khronos
--  EXTRA_CFLAGS:
--  EXTRA_LDFLAGS:
--  EXTRA_LIBS:
--
--  Build Shared Library: OFF
--  Build Static Library: ON
--  Build Static Library with Position Independent Code: OFF
--
-- If something was not detected, although the libraries
-- were installed, then make sure you have set the
-- CFLAGS and LDFLAGS environment variables correctly.
--
     Sources: source/main.c

Include dirs: C:/Development/GameDevelopment/Library/simpleSDL/contrib/SDL/include

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Development/GameDevelopment/Library/simpleSDL/build/emscripten_debug
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2018-03-01 7:31:07 AM.
Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" on node 1 (default
targets).
Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" (1) is building "C:
\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ZERO_CHECK.vcxproj" (2) on node 1 (default target
s).
PrepareForBuild:
  Creating directory "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\Debug\".
InitializeBuildStatus:
  Creating "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  All outputs are up-to-date.
FinalizeBuildStatus:
  Deleting file "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
  Touching "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
CleanupEmptyRefsFolder:
  Removing directory "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\Debug\".
Done Building Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ZERO_CHECK.vcxproj" (def
ault targets).

Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" (1) is building "C:
\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (3) on node 1 (default tar
gets).
Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (3) is building
 "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2-static.vcxproj" (4) on node
1 (default targets).
InitializeBuildStatus:
  Touching "SDL2-static.dir\Debug\SDL2-static.tlog\unsuccessfulbuild".
CustomBuild:
  All outputs are up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\CL.exe /c /IC
  :\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\include /IC:\Development\GameDevel
  opment\Library\simpleSDL\contrib\SDL\include /nologo /W1 /WX- /diagnostics:classic /O2 /Oy- /D USING_GENERATED_CONFIG
  _H /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"SDL2-static.
  dir\Debug\\" /Fd"SDL2-static.dir\Debug\SDL2-static.pdb" /Gd /TC /analyze- /errorReport:queue  -idirafter C:/Developme
  nt/GameDevelopment/Library/simpleSDL/contrib/SDL/src/video/khronos -g -Wno-warn-absolute-paths C:\Development\GameDev
  elopment\Library\simpleSDL\contrib\SDL\src\SDL.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\SDL
  _assert.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\SDL_dataqueue.c C:\Development\GameDevelop
  ment\Library\simpleSDL\contrib\SDL\src\SDL_error.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\S
  DL_hints.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\SDL_log.c C:\Development\GameDevelopment\
  Library\simpleSDL\contrib\SDL\src\atomic\SDL_atomic.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\sr
  c\atomic\SDL_spinlock.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\SDL_audio.c C:\Develop
  ment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\SDL_audiocvt.c C:\Development\GameDevelopment\Library\si
  mpleSDL\contrib\SDL\src\audio\SDL_audiodev.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\S
  DL_audiotypecvt.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\SDL_mixer.c C:\Development\G
  ameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\SDL_wave.c C:\Development\GameDevelopment\Library\simpleSDL\co
  ntrib\SDL\src\cpuinfo\SDL_cpuinfo.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\dynapi\SDL_dynap
  i.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\events\SDL_clipboardevents.c C:\Development\Game
  Development\Library\simpleSDL\contrib\SDL\src\events\SDL_dropevents.c C:\Development\GameDevelopment\Library\simpleSD
  L\contrib\SDL\src\events\SDL_events.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\events\SDL_ges
  ture.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\events\SDL_keyboard.c C:\Development\GameDeve
  lopment\Library\simpleSDL\contrib\SDL\src\events\SDL_mouse.c C:\Development\GameDevelopment\Library\simpleSDL\contrib
  \SDL\src\events\SDL_quit.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\events\SDL_touch.c C:\Dev
  elopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\events\SDL_windowevents.c C:\Development\GameDevelopment\L
  ibrary\simpleSDL\contrib\SDL\src\file\SDL_rwops.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\li
  bm\e_atan2.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\e_fmod.c C:\Development\GameDevelo
  pment\Library\simpleSDL\contrib\SDL\src\libm\e_log.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src
  \libm\e_log10.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\e_pow.c C:\Development\GameDeve
  lopment\Library\simpleSDL\contrib\SDL\src\libm\e_rem_pio2.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\
  SDL\src\libm\e_sqrt.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\k_cos.c C:\Development\Ga
  meDevelopment\Library\simpleSDL\contrib\SDL\src\libm\k_rem_pio2.c C:\Development\GameDevelopment\Library\simpleSDL\co
  ntrib\SDL\src\libm\k_sin.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\k_tan.c C:\Developme
  nt\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\s_atan.c C:\Development\GameDevelopment\Library\simpleSDL\c
  ontrib\SDL\src\libm\s_copysign.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\s_cos.c C:\Dev
  elopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\s_fabs.c C:\Development\GameDevelopment\Library\simpl
  eSDL\contrib\SDL\src\libm\s_floor.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\s_scalbn.c
  C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\libm\s_sin.c C:\Development\GameDevelopment\Library\
  simpleSDL\contrib\SDL\src\libm\s_tan.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\SDL_d3
  dmath.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\SDL_render.c C:\Development\GameDevel
  opment\Library\simpleSDL\contrib\SDL\src\render\SDL_yuv_sw.c C:\Development\GameDevelopment\Library\simpleSDL\contrib
  \SDL\src\render\direct3d\SDL_render_d3d.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\dir
  ect3d\SDL_shaders_d3d.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\direct3d11\SDL_render
  _d3d11.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\direct3d11\SDL_shaders_d3d11.c C:\De
  velopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\opengl\SDL_render_gl.c C:\Development\GameDevelopm
  ent\Library\simpleSDL\contrib\SDL\src\render\opengl\SDL_shaders_gl.c C:\Development\GameDevelopment\Library\simpleSDL
  \contrib\SDL\src\render\opengles\SDL_render_gles.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\r
  ender\opengles2\SDL_render_gles2.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\opengles2\
  SDL_shaders_gles2.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\psp\SDL_render_psp.c C:\D
  evelopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\software\SDL_blendfillrect.c C:\Development\GameD
  evelopment\Library\simpleSDL\contrib\SDL\src\render\software\SDL_blendline.c C:\Development\GameDevelopment\Library\s
  impleSDL\contrib\SDL\src\render\software\SDL_blendpoint.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SD
  L\src\render\software\SDL_drawline.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\software
  \SDL_drawpoint.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\software\SDL_render_sw.c C:\
  Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\render\software\SDL_rotate.c C:\Development\GameDevelop
  ment\Library\simpleSDL\contrib\SDL\src\stdlib\SDL_getenv.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\S
  DL\src\stdlib\SDL_iconv.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\stdlib\SDL_malloc.c C:\Dev
  elopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\stdlib\SDL_qsort.c C:\Development\GameDevelopment\Library\
  simpleSDL\contrib\SDL\src\stdlib\SDL_stdlib.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\stdlib
  \SDL_string.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\thread\SDL_thread.c C:\Development\Gam
  eDevelopment\Library\simpleSDL\contrib\SDL\src\timer\SDL_timer.c C:\Development\GameDevelopment\Library\simpleSDL\con
  trib\SDL\src\video\SDL_RLEaccel.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_blit.c C
  :\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_blit_0.c C:\Development\GameDevelopment\Lib
  rary\simpleSDL\contrib\SDL\src\video\SDL_blit_1.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\vi
  deo\SDL_blit_A.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_blit_N.c C:\Development\G
  ameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_blit_auto.c C:\Development\GameDevelopment\Library\simpleS
  DL\contrib\SDL\src\video\SDL_blit_copy.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_b
  lit_slow.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_bmp.c C:\Development\GameDevelo
  pment\Library\simpleSDL\contrib\SDL\src\video\SDL_clipboard.c C:\Development\GameDevelopment\Library\simpleSDL\contri
  b\SDL\src\video\SDL_egl.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_fillrect.c C:\De
  velopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_pixels.c C:\Development\GameDevelopment\Library
  \simpleSDL\contrib\SDL\src\video\SDL_rect.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SD
  L_shape.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_stretch.c C:\Development\GameDev
  elopment\Library\simpleSDL\contrib\SDL\src\video\SDL_surface.c C:\Development\GameDevelopment\Library\simpleSDL\contr
  ib\SDL\src\video\SDL_video.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_vulkan_utils.
  c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\SDL_yuv.c C:\Development\GameDevelopment\Lib
  rary\simpleSDL\contrib\SDL\src\video\yuv2rgb\yuv_rgb.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\s
  rc\joystick\SDL_gamecontroller.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\joystick\SDL_joysti
  ck.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\haptic\SDL_haptic.c C:\Development\GameDevelopm
  ent\Library\simpleSDL\contrib\SDL\src\power\SDL_power.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\
  src\audio\dummy\SDL_dummyaudio.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\audio\disk\SDL_disk
  audio.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\dummy\SDL_nullevents.c C:\Development\
  GameDevelopment\Library\simpleSDL\contrib\SDL\src\video\dummy\SDL_nullframebuffer.c C:\Development\GameDevelopment\Li
  brary\simpleSDL\contrib\SDL\src\video\dummy\SDL_nullvideo.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\
  SDL\src\audio\emscripten\SDL_emscriptenaudio.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\files
  ystem\emscripten\SDL_sysfilesystem.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\joystick\emscri
  pten\SDL_sysjoystick.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\power\emscripten\SDL_syspower
  .c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\timer\unix\SDL_systimer.c C:\Development\GameDeve
  lopment\Library\simpleSDL\contrib\SDL\src\video\emscripten\SDL_emscriptenevents.c C:\Development\GameDevelopment\Libr
  ary\simpleSDL\contrib\SDL\src\video\emscripten\SDL_emscriptenframebuffer.c C:\Development\GameDevelopment\Library\sim
  pleSDL\contrib\SDL\src\video\emscripten\SDL_emscriptenmouse.c C:\Development\GameDevelopment\Library\simpleSDL\contri
  b\SDL\src\video\emscripten\SDL_emscriptenopengles.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\
  video\emscripten\SDL_emscriptenvideo.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\haptic\dummy\
  SDL_syshaptic.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\loadso\dummy\SDL_sysloadso.c C:\Deve
  lopment\GameDevelopment\Library\simpleSDL\contrib\SDL\src\thread\generic\SDL_syscond.c C:\Development\GameDevelopment
  \Library\simpleSDL\contrib\SDL\src\thread\generic\SDL_sysmutex.c C:\Development\GameDevelopment\Library\simpleSDL\con
  trib\SDL\src\thread\generic\SDL_syssem.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\thread\gene
  ric\SDL_systhread.c C:\Development\GameDevelopment\Library\simpleSDL\contrib\SDL\src\thread\generic\SDL_systls.c
cl : Command line error D8021: invalid numeric argument '/Wno-warn-absolute-paths' [C:\Development\GameDevelopment\Libr
ary\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2-static.vcxproj]
Done Building Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2-static.
vcxproj" (default targets) -- FAILED.

Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (3) is building
 "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2main.vcxproj" (5) on node 1 (
default targets).
InitializeBuildStatus:
  Touching "SDL2main.dir\Debug\SDL2main.tlog\unsuccessfulbuild".
CustomBuild:
  All outputs are up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\CL.exe /c /IC
  :\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\include /IC:\Development\GameDevel
  opment\Library\simpleSDL\contrib\SDL\include /nologo /W1 /WX- /diagnostics:classic /O2 /Oy- /D USING_GENERATED_CONFIG
  _H /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"SDL2main.dir
  \Debug\\" /Fd"SDL2main.dir\Debug\SDL2main.pdb" /Gd /TC /analyze- /errorReport:queue  -idirafter C:/Development/GameDe
  velopment/Library/simpleSDL/contrib/SDL/src/video/khronos -g -Wno-warn-absolute-paths C:\Development\GameDevelopment\
  Library\simpleSDL\contrib\SDL\src\main\dummy\SDL_dummy_main.c
cl : Command line error D8021: invalid numeric argument '/Wno-warn-absolute-paths' [C:\Development\GameDevelopment\Libr
ary\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2main.vcxproj]
Done Building Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2main.vcx
proj" (default targets) -- FAILED.

Done Building Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (
default targets) -- FAILED.

Done Building Project "C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" (defa
ult targets) -- FAILED.


Build FAILED.

"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (default target) (3) ->
"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2-static.vcxproj" (default targ
et) (4) ->
(ClCompile target) ->
  cl : Command line error D8021: invalid numeric argument '/Wno-warn-absolute-paths' [C:\Development\GameDevelopment\Li
brary\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2-static.vcxproj]


"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\SimpleExample.vcxproj" (default target) (3) ->
"C:\Development\GameDevelopment\Library\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2main.vcxproj" (default target)
 (5) ->
  cl : Command line error D8021: invalid numeric argument '/Wno-warn-absolute-paths' [C:\Development\GameDevelopment\Li
brary\simpleSDL\build\emscripten_debug\contrib\SDL\SDL2main.vcxproj]

    0 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.11
Build failed!
Press any key to continue . . .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.