Pokemon Universe MMORPG

Pokémon Universe => Development => Topic started by: Aer0x on June 25, 2013, 01:16:19 am

Title: How to Compile PU
Post by: Aer0x on June 25, 2013, 01:16:19 am
Hi, i really need help with compiling the PU source.
My OS is Windows and i already have Eclipse and Golang installed.
I can't get it compiled, can someone make a video tut or sth else?
Golang is ea easy lang and i want to take a look at the source and maybe start to code.

Regards
Title: Re: How to Compile PU
Post by: Humen on June 25, 2013, 03:39:13 am
I'm sorry but what the heck are you or is he talking about
Title: Re: How to Compile PU
Post by: Aer0x on June 25, 2013, 08:49:16 am
I'm talking about the Pokemon Universe Source Code =>
https://code.google.com/p/pokemon-universe/ (https://code.google.com/p/pokemon-universe/)

It's the Source of this Game.
I need help with compiling

Edit: I also have goclipse installed, but i don't know how to start, the compiling guide is very tiny and not meaningful. Sorry:D
Title: Re: How to Compile PU
Post by: Mr_Dark on June 25, 2013, 09:50:30 am
The compile guide on the wiki page is pretty outdated. As for compiling the server it should be pretty straight forwarded.

Quote
1. Open terminal window (command prompt)
2. Navigate to the Go/src folder
3. type this `go build puserver`

If you get errors about missing packages you might have to install those separately by using `go install <packageename>`

As for compiling the WebClient (the other Client is deprecated), you need to install GWT.
Title: Re: How to Compile PU
Post by: Aer0x on June 25, 2013, 11:06:38 am
ok, go trys to compile the server, but i get this now:


(http://i.epvpimg.com/iXF8g.png)

How to set $GOPATH?

btw thanks for the help!
Title: Re: How to Compile PU
Post by: Zatir on June 25, 2013, 11:36:48 am
The easiest way is to set the GOPATH to your `Go` directory where the sourcecode is stored. Then you can invoke the go command from every directory. In your case it is:

Code: [Select]
Environment variable name: GOPATH
Environment variable value: C:\Users\Felix\Downloads\Pokemon Universe\Go

Here is a link to set the environment variables (http://www.computerhope.com/issues/ch000549.htm).

NOTE: do not use the `src `directory, but the `Go` directory instead!
Title: Re: How to Compile PU
Post by: Aer0x on June 25, 2013, 12:05:58 pm
Now i get this:o

(http://i.epvpimg.com/DXYOe.png)
Title: Re: How to Compile PU
Post by: Mr_Dark on June 25, 2013, 02:25:56 pm
Oh that's a code error, just fix it in the source and try again.
Title: Re: How to Compile PU
Post by: Aer0x on June 25, 2013, 03:33:57 pm
Ok i fixed but now i get a bigbigbig list of errors..
can't someone help?
Title: Re: How to Compile PU
Post by: Mr_Dark on June 25, 2013, 04:48:24 pm
Ok i fixed but now i get a bigbigbig list of errors..
can't someone help?

Before I'm gonna spent a lot of time on this I have to ask. For what purpose are you trying to compile our code?
Title: Re: How to Compile PU
Post by: Humen on June 25, 2013, 05:48:45 pm
Were did u even get it
Title: Re: How to Compile PU
Post by: Mr_Dark on June 25, 2013, 06:46:49 pm
Were did u even get it

https://code.google.com/p/pokemon-universe/