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

Author Topic: Issue with SFML in Visual Studio 2017  (Read 2047 times)

0 Members and 1 Guest are viewing this topic.

Escarlatum

  • Newbie
  • *
  • Posts: 1
    • View Profile
Issue with SFML in Visual Studio 2017
« on: August 12, 2017, 01:06:52 am »
When trying to compile a c++ code, including the sfml api libraries, the following error occurs:

Quote
Internal Compiler Error in 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86\CL.exe' Choose the Technical Support command on the Visual C ++ Help menu, Or open the help desk file for more information C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(358,5): error MSB6006: "CL.exe" Was terminated with code 2.


I searched on the internet for a solution for this, but I couldn't solve it...

Heres the code with the error:

(click to show/hide)

I would like to know if there is a way to solve it, i dont know how to recompile the sfml libraries, so, someone tell me how to recompile the libraries if necessary...

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Issue with SFML in Visual Studio 2017
« Reply #1 on: August 12, 2017, 03:09:54 am »
Sounds like the VS 2017 compiler crashed for some reason... :o
I've not run into any issues with VS 2017 and SFML (or C++), so it's either a bug or faulty VS 2017 installation.

The official tutorial explains how to build SFML.
Alternatively you can grab some binaries compiled with VS 2017 from my nightlybuilds site link in my signature.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything