Development > Newbie Coding
libjpeg-8.dll
(1/1)
xcomfanatic20:
Hello Folks
Tried to download source using Git but for some reason, Git would not download to my Windoze 7 system.
Undaunted, I simply downloaded the source from the Downloads page (source and data versions 2.4).
After a lot of stuffing around, including using the codeblocks installable with MinGW configured (from codeblocks site) instead of the
version for UFO-AI, I was able to build the code. I noticed a couple of things.
- When I select BUILD->RUN from the menu in codeblocks, the program runs no problems.
- When I try to run the executable directly from the UFO-AI directory, I get the error:
"The program can't start because libjpeg-8.dll is missing from your computer...."
- I downloaded the full game installer as well and installed in a separate directory. This one runs fine. When I compared the sizes of the files, the one I built was around 11726k, while the file in from the game installer was 30,713k.
As I said earlier, the program runs fine from the development environment, but not when you run the executable directly. What am I missing here?
Thank you for your help and patience in advance.
Mattn:
you are not linking statically - but dynamically. make sure to copy the contrib/dlls files from the git repo [1] to your game root dir:
[1] gitweb/contrib/dlls
xcomfanatic20:
Thanks. No more error messages. I knew it was something obvious.
Learning the quirks of codeblocks and the code structure as I go along.
Wish me luck. Great open sauce game.
Navigation
[0] Message Index
Go to full version