Development > Newbie Coding
SDL_image.h
criusmac:
UFOAI-2.3-dev-anim\src\shared\images.h|33|error: SDL_image.h: No such file or directory
I have been trying to compile the newest version of UFO: AI, and I get this error.
So, I went and downloaded 1,352,778 SDL_image-1.2.10.zip, and this made no difference.
I then used the CodeBlocks Plugin DevPaks updater/installer and used it to download the latest SDL (since sdllib couldn't be found).
This made no difference.
I tried to add the directory containing SDL_image.h to the project -> build options -> search directories -> Compiler -> Add, but this didn't work either.
So, basically, how do I tell CodeBlocks where to find include files?
I am using CodeBlocks svn build rev 5731 (2009-08-15 03:48:58) gcc 4.2.1 Windows/unicode
Muton:
http://ufoai.ninex.info/wiki/index.php/Compile_for_Windows
criusmac:
Oh wow, how can it be 1.1 gigs for the build environment? I guess it's a lot more than just source. I've already used up 1.5-2 gigs downloading UFO:AI and using updating all the source code. @.@ My bad, guess I shouldn't do such things.
Ah well, that's the price for convenience I guess.
Thanks! I'll have to wait a while before I can test it out - I still have bandwidth limits.
criusmac:
I decided to download the whole thing anyways, and it doesn't seem to work, but I can't tell why.
It seems to compile fine without the make install option, though it doesn't run due to missing sdl_image.dll. I guess the path is just wrong. I'm sure I can fix the problem by tinkering.
I've noticed this automated install method doesn't create Code Blocks start menu icons. If this is the only package that a person uses, they will probably be lost for a long time trying to figure out how to compile the code themselves with their own changes.
Update:
Obviously this is not meant to be compiled using Code Blocks in the method I'm trying:
"game - windows_debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
"ufo2map - windows_debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
"ufo_ded - windows_debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
"ufo - windows_debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
So, is this method only supposed to be compiled via the make_UfoAI_win32.exe file included?
Muton:
That was the problem
If you like to do everything on your own look here
you dont need to download anything just follow the steps ....
but this page is outdated ....
No time atm ...
Navigation
[0] Message Index
[#] Next page
Go to full version