* User Info

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

* Recent Posts

Anyone still around? by Bing
[October 28, 2024, 11:23:32 PM]


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]


Author Topic: How to Compile PU  (Read 15556 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".