Skip to content

Build instructions for Windows? #3

Description

@simendsjo

I wanted to try this library, but I'm on windows and cannot get it to compile.
Could you add some very simple build instructions?

Cygwin:
$ ./build.sh
./build.sh: line 2: $'\r': command not found
./build.sh: line 5: $'\r': command not found
./build.sh: line 42: syntax error: unexpected end of file

Windows:
C:\code\DSFML>"\Program Files (x86)\CMake 2.8\bin\cmake.exe" .
-- Building for: Visual Studio 10
CMake Error: cmListFileCache: error can not open file C:/code/DSFML
CMake Error: Could not find cmake module file:
CMake Error: Could not find cmake module file:C:/code/DSFML/CMakeFiles/CMakeDCom
piler.cmake
-- Check for working C compiler using: Visual Studio 10
-- Check for working C compiler using: Visual Studio 10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10
-- Check for working CXX compiler using: Visual Studio 10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error: Could not find cmake module file:CMakeDInformation.cmake
CMake Error at CMakeLists.txt:14 (include):
include could not find load file:

UseDUnittest

-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
CMake Error at include/dsfml/CMakeLists.txt:21 (find_package):
Could not find module FindCSFML.cmake or a configuration file for package
CSFML.

Adjust CMAKE_MODULE_PATH to find FindCSFML.cmake or set CSFML_DIR to the
directory containing a CMake configuration file for CSFML. The file will
have one of the following names:

CSFMLConfig.cmake
csfml-config.cmake

CMake Error at cmake/Macros.cmake:59 (add_unittests):
Unknown CMake command "add_unittests".
Call Stack (most recent call first):
include/dsfml/system/CMakeLists.txt:21 (dsfml_add_library)

-- Configuring incomplete, errors occurred!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions