Pokémon Universe > Development

Compiling the source code?

<< < (3/3)

RM:
I think I narrowed down the problems I had before. Which versions of SDL_image and SDL_ttf does the project use? I'm currently using SDL_image 1.2.0, and SDL_ttf 2.0.0, and its giving me a sigpanic when it tried to call SDL_CreateTextureFromSurface. Its odd that no one else has that problem, so it must be a problem with my setup. Or maybe a required file is missing.

Here's the output I got when trying to run the client: http://pastebin.com/9wc20fFh

Urmel:
You have to be sure to compile SDL_ttf and SDL_image yourself, from the mercurial repositories. Especially SDL_ttf because the latest zipped version does not have a certain function that is being used in PU.

RM:
Yeah, I just rebuilt them fresh from the repo, still the same error. It only happens when it tries to call the SDL library, and as far as I can tell, its always when it tries to call the CreateTextureFromSurface method, never anything else. Of course I haven't tested any other methods, but it looks like it manages to create a window. Perhaps there's a problem with type casting on certain platforms?

zippoxer:
I think I will start creating a compiling tutorial, on ubuntu (or anywhere you have apt-get and it's friends).
On windows it required me to install so many things each in different stupid way, that I just forgot and will never try to remember.
Also the server was proven to run much faster on linux.

Okay, I just started writing one: http://code.google.com/p/pokemon-universe/wiki/Compiling
I will continue later :)

Navigation

[0] Message Index

[*] Previous page

Go to full version