SFML community forums

Help => General => Topic started by: vFUNKERv on November 10, 2018, 03:00:13 pm

Title: cannot find -lwinm
Post by: vFUNKERv on November 10, 2018, 03:00:13 pm
So i have been trying to dynamically link my sfml libraries to a code blocks project. I got a bunch of errors like "_imp_*things*" and cannot find "-something". However with help from this website and other various sources i managed to solve all but one problem. Cannot find -lwinm. I dont know what winm is or where to find it, and using google to try and find it seems useless. If anyone can bring me up to speed about what the error means and how i can fix it that would be great.
Title: Re: cannot find -lwinm
Post by: eXpl0it3r on November 10, 2018, 04:03:30 pm
It's winmm and not winm. It's a system library and comes with your compiler.
Title: Re: cannot find -lwinm
Post by: vFUNKERv on November 10, 2018, 04:42:50 pm
It's winmm and not winm. It's a system library and comes with your compiler.

I see, however linking the "libwinmm.a" file in the link libraries results in an error. what file should i use for it to work properly? for refrence my link libraries contain:

Project name: glew; freetype; jpeg; opengl32; gdi32; winmm wich seems to be the problem
debug: "sfml-***-s-d"
release: "sfml-***-s"

is there something im doing wrong?
Title: Re: cannot find -lwinm
Post by: eXpl0it3r on November 10, 2018, 08:49:32 pm
We haven't been using glew for quite a while. If you've seen that on some tutorial, it must be quite old and outdated. Check the newest official Code::Blocks tutorial: https://www.sfml-dev.org/tutorials/2.5/start-cb.php

We can't really tell you what the issue is, if you don't provide the error messages. ;)