* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

2023 Check in by Gawerty
[March 28, 2023, 12:41:12 am]


Holy crap my login worked. by Ez
[December 03, 2020, 08:56:26 am]


Been a while. by Bing
[July 13, 2019, 04:47:06 am]


Was Feeling Nostalgic (Pokemon Knights) by Monzta
[October 24, 2018, 07:37:00 am]


Old Habits Die Hard by Miss Wednesday
[January 23, 2018, 12:35:35 am]


WHY IS EVERYONE MISSING by Tickles
[September 16, 2017, 08:20:25 pm]


Been a long time. by Monzta
[August 27, 2017, 03:18:58 pm]


Pokemon Universe Tribute Thread by Jerry
[September 29, 2016, 06:41:31 pm]


Author Topic: How to Compile PU  (Read 11952 times)

Offline Aer0x

  • Beginning Trainer
  • *
  • Posts: 5
  • Karma: 0
  • I'M NEW! BE NICE!
    • View Profile
How to Compile PU
« 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

Offline Humen

  • Normal Trainer
  • **
  • Posts: 306
  • Karma: 3
  • I am the last of my kind and im loving it
    • View Profile
Re: How to Compile PU
« Reply #1 on: June 25, 2013, 03:39:13 am »
I'm sorry but what the heck are you or is he talking about
Sticks and stones can break my bones and names can make me feel like i deserved it.

Offline Aer0x

  • Beginning Trainer
  • *
  • Posts: 5
  • Karma: 0
  • I'M NEW! BE NICE!
    • View Profile
Re: How to Compile PU
« Reply #2 on: June 25, 2013, 08:49:16 am »
I'm talking about the Pokemon Universe Source Code =>
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
« Last Edit: June 25, 2013, 09:06:46 am by Aer0x »

Offline Mr_Dark

  • PU God
  • Administrator
  • Senior Trainer
  • ********
  • Posts: 9.502
  • Karma: 52
  • QQ
    • View Profile
    • Dark Productions
Re: How to Compile PU
« Reply #3 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.
IRC: #pokemon-universe @ Rizon.net

!!PRIVATE MESSAGES WITHOUT A SUBJECT WILL NOT BE READ!!

Quote from: Frenchfry545
That settles it. I'm starting a new religion. It's called "Misterdarkism".

Offline Aer0x

  • Beginning Trainer
  • *
  • Posts: 5
  • Karma: 0
  • I'M NEW! BE NICE!
    • View Profile
Re: How to Compile PU
« Reply #4 on: June 25, 2013, 11:06:38 am »
ok, go trys to compile the server, but i get this now:




How to set $GOPATH?

btw thanks for the help!

Offline Zatir

  • PU Developer
  • Administrator
  • Normal Trainer
  • ********
  • Posts: 164
  • Karma: 0
    • View Profile
Re: How to Compile PU
« Reply #5 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.

NOTE: do not use the `src `directory, but the `Go` directory instead!
Zatir - PU developer
Current project: Creating the Pokéditor

Offline Aer0x

  • Beginning Trainer
  • *
  • Posts: 5
  • Karma: 0
  • I'M NEW! BE NICE!
    • View Profile
Re: How to Compile PU
« Reply #6 on: June 25, 2013, 12:05:58 pm »
Now i get this:o


Offline Mr_Dark

  • PU God
  • Administrator
  • Senior Trainer
  • ********
  • Posts: 9.502
  • Karma: 52
  • QQ
    • View Profile
    • Dark Productions
Re: How to Compile PU
« Reply #7 on: June 25, 2013, 02:25:56 pm »
Oh that's a code error, just fix it in the source and try again.
IRC: #pokemon-universe @ Rizon.net

!!PRIVATE MESSAGES WITHOUT A SUBJECT WILL NOT BE READ!!

Quote from: Frenchfry545
That settles it. I'm starting a new religion. It's called "Misterdarkism".

Offline Aer0x

  • Beginning Trainer
  • *
  • Posts: 5
  • Karma: 0
  • I'M NEW! BE NICE!
    • View Profile
Re: How to Compile PU
« Reply #8 on: June 25, 2013, 03:33:57 pm »
Ok i fixed but now i get a bigbigbig list of errors..
can't someone help?

Offline Mr_Dark

  • PU God
  • Administrator
  • Senior Trainer
  • ********
  • Posts: 9.502
  • Karma: 52
  • QQ
    • View Profile
    • Dark Productions
Re: How to Compile PU
« Reply #9 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?
IRC: #pokemon-universe @ Rizon.net

!!PRIVATE MESSAGES WITHOUT A SUBJECT WILL NOT BE READ!!

Quote from: Frenchfry545
That settles it. I'm starting a new religion. It's called "Misterdarkism".

Offline Humen

  • Normal Trainer
  • **
  • Posts: 306
  • Karma: 3
  • I am the last of my kind and im loving it
    • View Profile
Re: How to Compile PU
« Reply #10 on: June 25, 2013, 05:48:45 pm »
Were did u even get it
Sticks and stones can break my bones and names can make me feel like i deserved it.

Offline Mr_Dark

  • PU God
  • Administrator
  • Senior Trainer
  • ********
  • Posts: 9.502
  • Karma: 52
  • QQ
    • View Profile
    • Dark Productions
IRC: #pokemon-universe @ Rizon.net

!!PRIVATE MESSAGES WITHOUT A SUBJECT WILL NOT BE READ!!

Quote from: Frenchfry545
That settles it. I'm starting a new religion. It's called "Misterdarkism".