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

Author Topic: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt  (Read 17647 times)

0 Members and 1 Guest are viewing this topic.

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« on: July 07, 2012, 06:42:33 pm »
-Downloaded Cmake
-Downloaded sfml
-Created a folder in C: named sfml. Put sfml 2.0 into that folder
-Directories added to Path enviromental Variable: ;C:\Program Files (x86)\CMake 2.8\bin\; C:\Program files (x86)\CodeBlocks\MinGW\bin\;
-Ive never ran cmake with this sfml directory
-Command Lines:
>sfml/sfml2
>cmake -G "MinGW Makefiles" -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=TRUE -D
STATIC_STD_LIBS=FALSE c:/sfml/sfml2/
The Problem:
Cmake error: The Source directory C:/Sfml/sfml2/ does not appear to contain Cmakelists.txt

What am i doing wrong why wont it configure the files and create what ive specified? Thank you in advance

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #1 on: July 07, 2012, 07:18:09 pm »
-Downloaded sfml
From where and which version did you download?

Have you tried to redownload it? IIRC I once also had the problem that the file was missing (although no idea how) a redownload 'fixed' the problem.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #2 on: July 07, 2012, 07:54:09 pm »
What's in your C:/Sfml/sfml2/ folder?
Laurent Gomila - SFML developer

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #3 on: July 07, 2012, 08:05:59 pm »
It version 2.0 the one at the bottom of the download page that says "Final version in beta for bug testing" or something similar.
sfml/sfml2 contains: bin, cmake, doc, examples, include, lib.


txt documents:
Readme
Licence

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #4 on: July 07, 2012, 08:09:06 pm »
Oh, but the precompiled RC doesn't contain source code. You must download it from Github.
Laurent Gomila - SFML developer

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #5 on: July 07, 2012, 09:18:11 pm »
Your right. I thought they both were the same when i was following the tutorial. When i changed them i got all these errors.

[attachment deleted by admin]

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #6 on: July 07, 2012, 09:29:50 pm »
You did something wrong, read the tutorial carefully and try again from scratch (clear your build folder).
Laurent Gomila - SFML developer

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #7 on: July 07, 2012, 09:36:04 pm »
In the video im following it says that you need to unzip the file twice but i could only unzip it once using winrar. could this be the problem?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #8 on: July 07, 2012, 09:37:20 pm »
I don't know which video you're watching, but you should rather follow the official tutorial.

And by the way, why do you want to compile SFML yourself?
Laurent Gomila - SFML developer

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #9 on: July 07, 2012, 09:43:52 pm »
...i thought you had to to use it with codeblocks...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #10 on: July 07, 2012, 09:47:11 pm »
Of course not ;)
Laurent Gomila - SFML developer

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #11 on: July 08, 2012, 02:35:31 am »
Where can i find a tutorial for 2.0 than if im doing it wrong?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #12 on: July 08, 2012, 08:08:34 am »
Frontpage->Tutorials->SFML 2.0

Wasn't that hard, was it? ;-)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

edumoette

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #13 on: July 10, 2012, 10:44:59 pm »
how to i get the lib dlls without compiling using cmake than. the snapshot doesnt even come with the lib files...and the pre comp version doesnt have the dlls

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2.0 MinGW Make "Does not contain Cmakelists.txt
« Reply #14 on: July 10, 2012, 11:00:33 pm »
Quote
the snapshot doesnt even come with the lib files...
It is a snapshot of the source repository. It's not supposed to contain any compiled file.

Quote
and the pre comp version doesnt have the dlls
It does.
Laurent Gomila - SFML developer

 

anything