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

Author Topic: Error building SFML for Mingw  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

GeorgeR

  • Newbie
  • *
  • Posts: 4
    • View Profile
Error building SFML for Mingw
« on: January 07, 2015, 03:30:02 pm »
I'm trying to build SFML for Mingw using CMake. The makefiles were generated but when I build the project with the command "mingw32-make install" when the project is 100% it gives me the following error:
D:\...\SFML 2.2\SFML-2.2\build>mingw32-make install
[ 16%] Built target sfml-system
[ 18%] Built target sfml-main
[ 40%] Built target sfml-window
[ 53%] Built target sfml-network
[ 86%] Built target sfml-graphics
[100%] Built target sfml-audio
Install the project...
-- Install configuration: "Release"
-- Installing: C:/Program Files (x86)/SFML/./include
CMake Error at cmake_install.cmake:31 (file):
  file INSTALL cannot make directory "C:/Program Files (x86)/SFML/./include":
  No such file or directory

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: Error building SFML for Mingw
« Reply #1 on: January 07, 2015, 03:39:17 pm »
You need admin privileges to install something in "C:/Program Files (x86)", I suggest to set CMAKE_INSTALL_PREFIX to something else.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

GeorgeR

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Error building SFML for Mingw
« Reply #2 on: January 07, 2015, 03:52:47 pm »
Thank you very much! It's working now!

 

anything