Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions for Windows? #3

Open
simendsjo opened this issue Jan 27, 2012 · 1 comment
Open

Build instructions for Windows? #3

simendsjo opened this issue Jan 27, 2012 · 1 comment

Comments

@simendsjo
Copy link

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!

@deadalnix
Copy link
Owner

Hi,

DSFML is under active devellopement, and I have no clue if it compile or not under window ATM. I wanted to work on the build system when the binding to the new SFML2 graphic API is done.

Apparently it doesn't. The curent build isn't even complete on a linux system (it compile everything but doesn't do any working .a after that, it have to be done manually ATM).

This regression comes form the fact that SFML has to be patched to start thread in a compliant manner with D2 runtime.

If you want to contribute to the build process, I'd be very happy to give you any information you need.

I'm only by myself on that project, so, sadly, I can't adress everything at the same time :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants