Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Procompiled Binary issues

This thread is locked; no one can reply to it. rss feed Print
Procompiled Binary issues
roger levy
Member #2,513
July 2002

I am in the process of trying out a modern Forth-like language called 8th (http://8th-dev.com) but I am having trouble loading the allegro_monolith-5.2.dll available here: https://github.com/liballeg/allegro5/releases/tag/5.2.4.0

I ran Dependencies on it (https://github.com/lucasg/Dependencies) and it seems libwinpthread-1.dll and libstdc++-6.dll are not being found/loaded.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

I am in the process of trying out a modern Forth-like language called 8th (http://8th-dev.com) but I am having trouble loading the allegro_monolith-5.2.dll available here: https://github.com/liballeg/allegro5/releases/tag/5.2.4.0

I ran Dependencies on it (https://github.com/lucasg/Dependencies) and it seems libwinpthread-1.dll and libstdc++-6.dll are not being found/loaded.

Please state your answer in the form of a question. :-X

So? You know what to do, install the dependencies, and then if they're not included, say so.

You can also try my binaries, they come with all the dependencies included.

roger levy
Member #2,513
July 2002

Um, actually, I don't know what to do, that's why I posted... weird how that works :P

I don't know how to obtain the missing DLL's. I have MinGW, but the libstdc from that install didn't work ... basically I don't know what I'm doing.

I checked out your binaries but they were 32-bit so they wouldn't load in 8th. Are there 64-bit ones available?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

I checked out your binaries but they were 32-bit so they wouldn't load in 8th. Are there 64-bit ones available?

There most certainly can be, if I build them. Might have to give me a few days to rebuild all the dependencies. It can be a bit of a pain.

Do you have a specific affinity for any one compiler over the other?

If it was me, I would build them with :

(Scroll down past the tarballs)
https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/ , specifically :

https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z

roger levy said:

Um, actually, I don't know what to do, that's why I posted... weird how that works :P

It helps to actually ask a question, otherwise we're left to guess it. There is a specific set of dependencies for allegro 5 you have to download separately. You made no mention of these so I assumed either you didn't have them, or you knew about them and some were missing from the distribution. It was just a little vague as to what you wanted us to do.

roger levy said:

I don't know how to obtain the missing DLL's. I have MinGW, but the libstdc from that install didn't work ... basically I don't know what I'm doing.

You can't mix compiler versions, they just don't work right mixing and matching them. libpthreads and libstdc++ and libgcc should have been included in the binary distribution you got from SiegeLord, otherwise you would have to have downloaded the same compiler, which would make sense, and they would be included with that.

roger levy
Member #2,513
July 2002

Honestly dude, I didn't even know what to ask. I guess the best thing I could have come up with is "what do now?" :P

I appreciate your help and patience VERY much.

So those standard libraries were not in the binary distribution on Github. They were probably all I needed, since I'm using the monolith version and a few of the addons. What are next steps?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

roger levy
Member #2,513
July 2002

Yes, I've downloaded these. But the only files in here are static .a files, there aren't any .dll's.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

They should have come with the compiler you downloaded, to match the allegro binaries and the dependencies.

If the binaries depend on libs that aren't included then that is a problem.

SiegeLord, ideas?

In the mean time, I can build some 64 bit binaries for you. Might take a few days though.

Which compiler do you prefer? My choice? You'll have to use the same version.

roger levy
Member #2,513
July 2002

Because I am so clueless, I would love that and I won't stop you. If I just knew how to get the DLL's I needed I'd go install whatever and copy them over, but I have MinGW.... so why aren't they there? It's all very confusing.

The compiler doesn't matter, since I'm using these in a different language.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

They will usually be located in c:\mingw\bin, or c:\mingw\x86_64blah\bin. Try looking for them there.

{"name":"611762","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/4\/448a7c7175e78801de97e02ab5f9112a.png","w":1920,"h":1080,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/4\/448a7c7175e78801de97e02ab5f9112a"}611762

roger levy
Member #2,513
July 2002

I believe I found the right DLL's but still they won't load in 8th. I installed MinGW 64 bit, 7.2.0, same as SiegeLord's binaries. Dependencies.exe says everything is being found, and it's AMD64. Here is the project folder if you'd like to double check things. https://www.dropbox.com/s/koggozoc1e84g50/8th-tests.zip?dl=0

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

roger levy
Member #2,513
July 2002

What joke? Oh you mean the name? Actually it has a lame backstory according to the manual.

I was just thinking you could see if the binaries load and work with any of your code.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

The binaries do me no good with nothing to test? I used a different compiler, so they wouldn't work with my programs anyway.

What does Forth, (and 8th) require? I mean the run time loading of dlls. You mentioned you needed 64 bit? Is that the only requirement?

Go to: