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

Author Topic: Having problems with missing dlls from SFML to Thor and Building with CMake  (Read 886 times)

0 Members and 1 Guest are viewing this topic.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
Hello! I am having problems with missing .dlls.

First I have problems with compiling SFML, it says missing SFML .dlls. I tried to put it on Environment Variables: Path and still nothing. I don't like copy-pasting needed dlls to project folder yet and its cumbersome when making simple prototypes.

Second using THor, I have downloaded it from the repository and my cmake says I have missing dll files typically from my MinGW compiler. It looks for the dll file name libgmp-10.dll. Again, adding it to envi still produces the same result. I have it on my mingw bin folder.

I don't know what I am missing?

Note:
I have perform factory reset on my laptop and have backup the codeblocks folders from %APPDATA% for my user defined settings alongside with my library configurations. Also I have perform backups on my libraries as well. So I just installed codeblocks on the same folder, pasted the MinGW on the same folder, and so is the libraries. Maybe that causes the problem???

I as I have tested, I also added both to user-define variables and system variables

I really need help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10914
    • View Profile
    • development blog
    • Email
Either place the DLLs next to your executable or make sure, that they are in a directory that is contained in the PATH environement variable. Those are the only locations where your exe will look for them. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything