SFML community forums
Help => General => Topic started by: BrainInaJar1245 on April 16, 2012, 04:16:55 pm
-
"The procedure entry point
_ZN2sf4Font12LoadFromFileERKsjRKNS_7Unicode4TextE could not be located in the dynamic link library sfml-graphics.dll."
What is this? Did I not build SFML right? Is it a problem with C::B? Somehthing else?
Thanks in advance.
-
Why did you rebuild SFML 1.6?
This error implies that sfml-graphics.dll doesn't match the libsfml-graphics.a that you linked your app to.
-
Ummm.... I never rebuilt it?
-
I thought you did:
Did I not build SFML right?
-
Don't you build it when you set it up?
I'm utterly clueless as to this stuff. SFML is my first experience with anything outside of the IDE and terminal. Please treat me as such.
-
Don't you build it when you set it up?
Sorry but I have no idea what you're talking about.
Anyway, what about this?
This error implies that sfml-graphics.dll doesn't match the libsfml-graphics.a that you linked your app to.
have you checked?
-
Don't you build it when you set it up?
Sorry but I have no idea what you're talking about.
In that case, I'm assuming not.
Anyway, what about this?
This error implies that sfml-graphics.dll doesn't match the libsfml-graphics.a that you linked your app to.
have you checked?
I would, if I knew how... What do I do for that?
-
I would, if I knew how... What do I do for that?
You must make sure that they are both from the same package.
-
And... How would I do that? I'm sorry but I'm just clueless at this.
-
There's nothing to "do". I'm just telling you to check that you're not mixing different versions of SFML that you would have downloaded or compiled.
-
That might be it... Where would I look to clean that up?
Edit: That said, everything I've been doing since I switched to C::B has been with 1.6, so I'm wondering what could have gone wrong...
-
Where did you get the sfml-graphics.dll file that you're trying to use? If you're not sure, upload it and I'll tell you.
-
ftp://2012cstoneman@llstudents.org@llstudents.org/SFML/sfml-graphics.dll (ftp://2012cstoneman@llstudents.org@llstudents.org/SFML/sfml-graphics.dll)
This should be it, assuming I uploaded it right.
-
Your FTP server asks for a username and password.
-
I PM'ed it to you.
-
Doesn't work. But please... just use one of the many websites that allow you to upload and share data :P
Have a look at sfmluploads.org
-
https://legacy.sfmluploads.org/file/131
Okay... Better?
-
Yeah ;)
What's your version of MinGW/gcc?
And is the error message in your first post an exact copy and paste, or did you write it manually?
-
What's your version of MinGW/gcc?
4.6.2, I'm pretty sure.
And is the error message in your first post an exact copy and paste, or did you write it manually?
It's manually written because c::b wouldn't let me copy and paste it, but it's exact.
-
it's exact
I don't think so, the symbol should be
_ZN2sf4Font12LoadFromFileERKSsjRKNS_7Unicode4TextE
instead of
_ZN2sf4Font12LoadFromFileERKsjRKNS_7Unicode4TextE
Can you confirm this?
-
Yep, you're right. Capital S.
-
Ok. Then I can tell you that the sfml-graphics.dll file that you uploaded contains this symbol, so for some reason your executable is using another sfml-graphics.dll file (probably one from a directory which is in the PATH environment variable).
Make sure that you don't have other SFML DLLs on your disk.
-
Deleted everything with SFML in it, re-downloaded it and started from scratch, with the exception of my program... Same error. What did I do wrong?
-
Use DependencyWalker.exe (Google it) to find out where is the sfml-graphics.dll file that yuor executable depends on.
-
How do I do use that? I can upload a dll, but how do i find which one my system depends on? Is it the codeblocks.dll file?
-
Drag n drop your executable inside DependencyWalker, then find "sfml-graphics.dll" and once you've found it, there should be its full path written.
-
Looks like that was where the problem was.
Thanks for being so patient, it's nice to know that not all computer forums are just a bunch of trolls who prey on any newbie who comes by looking for help. Definitely using this again.