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

Author Topic: [SOLVED]CMake GNUtoMS building error  (Read 1912 times)

0 Members and 3 Guests are viewing this topic.

Dreamflask

  • Newbie
  • *
  • Posts: 8
    • View Profile
[SOLVED]CMake GNUtoMS building error
« on: February 16, 2015, 07:33:46 pm »
Hello guys,
i cloned the Git master SFML repository.
Now i want to build it with cmake & mingw32_make.
(I followed: http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php)
This is my %PATH% Variable:
C:\Program Files (x86)\CMake\bin;C:\Microsoft Visual Studio 2013 Ultimate\VC\bin;C:\MinGW\bin;
I always run cmd in Admin mode!

My Problem looks like this (but only if i checked GNUtoMS because i want .lib prefix)

I dont know what to do here :S (googled and searched a lot)
Please help

Dreamflask
« Last Edit: February 16, 2015, 09:32:25 pm by Dreamflask »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: CMake GNUtoMS building error
« Reply #1 on: February 16, 2015, 08:23:32 pm »
I'm not sure what is all required, but I think converting a MinGW/GCC import library to VS import library only works for pure C libraries or maybe some very rare C++ cases.
As such you should build SFML for your MinGW compiler and build SFML for your VS 2013 compiler and not try to build with one compiler for the other compiler. ;)
Besides there are pre-built binaries for Visual Studio 2013.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Dreamflask

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: CMake GNUtoMS building error
« Reply #2 on: February 16, 2015, 09:32:10 pm »
Thanks, it worked now :)

 

anything