SFML community forums

Bindings - other languages => DotNet => Topic started by: drm81x on May 04, 2014, 10:09:09 pm

Title: How to compile sfml.net for VS Express 2013?
Post by: drm81x on May 04, 2014, 10:09:09 pm
Hi i´m completely new to SFML so hope to get an easy/detail answer.

I´m running: Windows 8.1 x64 and Visual Studio Express 2013
I downloaded the SFML .net binding

Tried to run the examples .exe that came in the extracted folder, but all resulted in appcrash window (x86 and x64 versions)

So i thought that maybe i needed to compile with CMake 2.8.12.2

- I put the source code at the extracted folder (containing "build", "doc", "examples", "extlibs", "src" folders and "license", "readme" files)
- I put the empty/new build binaries folder route
- configure for Visual Studio 12 Win64 and click finish

But i get this:
"Error in configuration process, project files may be invalid"
CMake Error: The source directory "R:/SFMLnet2.1 source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.


What i´m doing wrong and what can i do? I had spent a few days already seaching for SFML.net tutorials, guides, examples but all i can find is c++ and comments about using that..

Thanks
Title: Re: How to compile sfml.net for VS Express 2013?
Post by: zsbzsb on May 04, 2014, 10:27:58 pm
Quote
but all resulted in appcrash window

Great, let me pull out my crystal ball to determine what the issue is.

Quote
So i thought that maybe i needed to compile with CMake 2.8.12.2

Lets be clear here, CMake is not a compiler - it has nothing more to do with compiling code than any IDE has.

Quote
CMake Error: The source directory "R:/SFMLnet2.1 source" does not appear to contain CMakeLists.txt.

Isn't the error message clear? SFML.NET does not use CMake, you need to open the project file in the /build folder.