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

Author Topic: MinGW install error?  (Read 1779 times)

0 Members and 1 Guest are viewing this topic.

dark ninjuh

  • Newbie
  • *
  • Posts: 13
    • View Profile
MinGW install error?
« on: October 17, 2014, 09:40:24 am »
OS:Windows 7 32 bit
IDE:Codeblocks | MinGW
Compiler:g++ 4.9.1

Got the sfml-master branch. I first tried to cmake a codeblocks project file. Worked with no errors. When i tried to install the generated project i got these errors
(click to show/hide)
Then under complete reassurance that it wasn't my IDE being weird, I installed directly from MinGW with a rebuilt MinGW makefile. Same errors.

going to try to include as much relevant  details as possible:
my MinGW is installed in my codeblocks directory. programfiles/codeblocks/MinGW <----------- here
To get cmake to not return any errors i originally had to rename my mingw32 folder to MinGW |

I have this MinGW version :
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.1/threads-win32/dwarf/
Im using this one so i get full c++ 11 support.

I also remember having to copy libwinpthread-1.dll to the cmake/lib directory because it was giving me that error ever since i switched to that MinGW version."your computer does not have libwinpthread-1.dll " or something like that, it was IN my MinGW folder (which it had recognized) but just putting it in the cmake bin worked.

In the spoiler it says recipe target for "all" because i originally tried install. Then just tried all to see if it would fix (and i tried install from g++ cmd that returned the same error, so the "all" is irrelevant.)

I did search the error in the forum search but returned no results. any help is appreciated.
« Last Edit: October 17, 2014, 10:11:02 am by dark ninjuh »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: MinGW install error?
« Reply #1 on: October 17, 2014, 12:31:42 pm »
Your compiler install is still broken somehow or a Code::Blocks issue.
You might want to try the CMake MinGW Makefile generator instead. This only requires that you have your installed MinGW bin directory in PATH or temporarily added to PATH.

If nothinc works there are still my Nightly Builds. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dark ninjuh

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MinGW install error?
« Reply #2 on: October 17, 2014, 12:36:33 pm »
You might want to try the CMake MinGW Makefile generator instead.
I installed directly from MinGW with a rebuilt MinGW makefile. Same errors.
yeah i'm just going with your nightly builds.