i followed the tutorial exactly but every time i run it it tells me:
The program can't start because sfml-system.dll is missing from your computer. Try reinstalling the program to fix this problem.
heres the tutorial i followed:http://www.sfml-dev.org/tutorials/1.6/start-cb.php
What might i have done wrong? i installed mingw 4.4 also, so its all up to date. If you need more info on what i did i can post more, just ask. Thanks for the help
What do you do that causes that message to appear? The dll needs to be in the same place as the EXE in some cases, or the same place as the project in some cases - it depends on how you're running the app.
Ah we're doing the same thing! I just dealt with this problem last night, find wherever you extracted your SFML folder. In one o the sub folders you'll find a bunch of a dlls and you'll see the one you need. I just copied all the dlls to the same directory as my exe and it fixed the issue, but I ran into another dll issue lol
#include <SFML/Graphics.hpp>
int main()
{
// Create the main window
sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
// Load a sprite to display
sf::Image Image;
if (!Image.LoadFromFile("cb.bmp"))
return EXIT_FAILURE;
sf::Sprite Sprite(Image);
// Start the game loop
while (App.IsOpened())
{
// Process events
sf::Event Event;
while (App.GetEvent(Event))
{
// Close window : exit
if (Event.Type == sf::Event::Closed)
App.Close();
}
// Clear screen
App.Clear();
// Draw the sprite
App.Draw(Sprite);
// Update the window
App.Display();
}
return EXIT_SUCCESS;
}
is it something i need to change in the setting of my project?
The SFML tutorial tells you to link the -lsmfl- dlls. To be honest, I don't know the difference. I'm completely new to this third party SDK environment. And it seems to be quite the headache to get it rolling
Im with you there Resident, extremely confusing. Im just hoping one of the many C++ veterans can help solve my problems, probably seems like a simple problem in their minds.
Yea probably haha. I've spent quite awhile on C++, to the point of being familiar with most of its features. But the moment I try to get some new knowledge now, life just begins to suck. So frustrating, tempting to go to Java but I know better than that :p
Have you tried placing the DLL within C:\Windows\System32? Usually, that's where the OS searches. If you're on a x64 machine, try placing the DLL within C:\Windows\SysWOW64.