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

Author Topic: I just can't cmake SFML from source , help me .  (Read 1745 times)

0 Members and 1 Guest are viewing this topic.

TraverseBiTree

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
I just can't cmake SFML from source , help me .
« on: April 12, 2021, 04:27:44 pm »
OS: Windows 10 20H2
CMake gui: 3.20.1
SFML ver: 2.5.1
Compiler: mingW-w64 、TDM 、MSVS2019
description:
I'm compiling SFML with CMake , follows the guide 【https://www.sfml-dev.org/tutorials/2.5/compile-with-cmake.php】 online . And I've set all the neccessary environment variables .

Then I use CMake gui , set paths of source code and output , click 'Configure' button .
An error occurred while executing to VORBIS and failed . Just like the image shows.



Then I use command line and `make` ,All of the libs are generated except audio . Who can tell me why??
« Last Edit: April 12, 2021, 04:33:25 pm by TraverseBiTree »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: I just can't cmake SFML from source , help me .
« Reply #1 on: April 13, 2021, 10:50:46 am »
It's a warning, but SFML should still build correctly.

The issue is fixed on the master branch. As such you may want to grab the source code from the master branch.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

TraverseBiTree

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: I just can't cmake SFML from source , help me .
« Reply #2 on: April 13, 2021, 02:40:55 pm »
Thank you very much. I downloaded the source from github and I successfully cmaked the file.

 

anything