Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Dependency Binaries

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Dependency Binaries
Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Well, they have to be in the current working directory, or on your %PATH%. That's all there is to it.

Edit
Actually, nevermind what I said earlier about changing the run time path. That won't affect the loading of dlls. When you link them to your program, they are set to load in the global start up before main as far as I know.

Neil Roy
Member #2,229
April 2002
avatar

I statically link and Allegro 5 works fine. There was a minor problem Edgar fixed where you needed the DLLs even for statically linked audio. When I copied the DLLs into my executable directory it worked at that time. Edgar has since fixed this, but it did show me that it worked. But they need to be in your path or in your executable folder. I don't keep DLLs in my own path ever as I need to know which ones are required and if I forget to add one, I want that error to happen. So I always keep them out of the path and just copy the ones needed into the executable folder.

---
“I love you too.” - last words of Wanda Roy

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

 1   2 


Go to: