Pokémon Universe > Development

Compiling the source code?

(1/3) > >>

Eclipsor:
Hey guys, I just got around to downloading the source and I've been trying to compile it.

So far every time I try and make any of the files in Ubuntu it cannot find an import, I've also tried compiling in Windows with an emulated Unix base and a Go port for Windows, no luck.

For Ubuntu, I've tried Master, Client, and the Server folders, all fail because of a missing import in the main.go file.

If I try to compile the Client folder it says


--- Code: ---go:19 can't find import: sdl
--- End code ---

If I try to compile the Master folder it says


--- Code: ---go: 25: can't find import: mysql
--- End code ---

Now the main.go file is the one that has these imports, are these imports folders or files?

Where are they and where should they be to make this work right?

I think this would help development a lot if their was a source code compiling tutorial....

Any help is greatly appreciated!

Urmel:
You have to compile/install (make install) all the Packages in trunk/Packages first :)

Eclipsor:

--- Quote from: Urmel on April 24, 2011, 05:18:32 PM ---You have to compile/install (make install) all the Packages in trunk/Packages first :)

--- End quote ---

Thank you very much for the reply, when I try to make the install in the Packages folder it says

Makefile:5 /src/Make.inc: No such file or directory
make: *** No rule to make target '/src/Make.inc'. Stop

Where should the Pokemon Universe folder be in relation to the Go folder?

Urmel:
The PU folder can be anywhere. Are you sure you have installed Go correctly with all the environment variables (GOROOT, GOBIN, PATH:GOBIN)?

FireDarkGuy:
What is that thing?

Navigation

[0] Message Index

[#] Next page

Go to full version