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

Author Topic: Visual Studio 2010 Errors When Trying To Build SFML 2.1  (Read 1118 times)

0 Members and 1 Guest are viewing this topic.

Ancell

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Visual Studio 2010 Errors When Trying To Build SFML 2.1
« on: July 08, 2014, 04:27:13 am »
Hello,

I am trying to build SFML 2.1 from the source for Visual Studio 2010. I have successfully completed it for Code::Blocks and I have been using that but I would like to start using Visual Studio.

When I try to configure the build commands using:

cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=TRUE -D STATIC_STD_LIBS=FALSE c:/sfml/

I get lots of error output. I am using the visual studio command prompt. I am using cmake 2.8.4 and I have added the cmake to the path in the enviroment variables.

I can't figure out what my problem is. Any advice will help.

I have attached an screenshot of my error that I get. Please help!

Thanks

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Visual Studio 2010 Errors When Trying To Build SFML 2.1
« Reply #1 on: July 08, 2014, 04:33:25 am »
This has nothing to do with SFML. The same would happen if you tried to compile any other lib with CMake and this compiler. CMake is telling you it can't compile a test program using the specified compiler, so you probably got something screwed up in your environment.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

 

anything