Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to compile sfml.net for VS Express 2013?  (Read 2873 times)

0 Members and 1 Guest are viewing this topic.

drm81x

  • Newbie
  • *
  • Posts: 1
    • View Profile
How to compile sfml.net for VS Express 2013?
« 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

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: How to compile sfml.net for VS Express 2013?
« Reply #1 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.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor