CWE: Getting Started Question

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
User avatar
Lyrositor
Director of Wiki Operations
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm
MOULa KI#: 6940115
Contact:

Re: CWE: Getting Started Question

Post by Lyrositor »

Well a core point about the GoW wiki is that it will NOT teach the use of programs used in the creation of Ages, development, etc.. So this includes teaching C++, Blender, Visual Studio... and Git.
But don't worry. I learned Git on the fly as I was experimenting with Plasma. Just make a few quick searches on the Internet and you'll have everything you need. Here are the basics:
1. When installed on Windows, it should add a right-click context entry for the "Git bash", which is a terminal capable of interpreting Git commands.
2. Common commands are: "git clone" which clones a remote repository, "git commit" which takes the changes you've made locally and registers them and "git push" which pushes your commited changes remotely (to a repository on which you have write permissions).
3. Github is a hosting platform for Git repos, and a very convenient one, thanks to a lot of neat "social" features - but you can absolutely host your own Git server, at the cost of a loss of more advanced features.
Lyrositor
Explorer #16601888
Paradox
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada
Contact:

Re: CWE: Getting Started Question

Post by Paradox »

A good place to get an intro to git is at http://git-scm.com/documentation, and you can run through the workflow at http://try.github.com/.
User avatar
PeterC
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: CWE: Getting Started Question

Post by PeterC »

One thing the CWE: Getting Started page doesn't state is what things I need Git to get.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
Lyrositor
Director of Wiki Operations
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm
MOULa KI#: 6940115
Contact:

Re: CWE: Getting Started Question

Post by Lyrositor »

It does, look:
The sources for CWE (also called Plasma) can be found on Github. To download them, use Git as follows:
1. Start git-bash in a folder where the source repository should be downloaded.
2. Enter:
git clone https://github.com/H-uru/Plasma
Lyrositor
Explorer #16601888
User avatar
PeterC
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: CWE: Getting Started Question

Post by PeterC »

OK, got through the CMake instructions. Apparently no problems. But in VC++...

========== Build: 97 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

First error I can find in the output is:

82>------ Build started: Project: pfPython, Configuration: Release Win32 ------
82> Building Custom Rule H:/Working/Plasma/Sources/Plasma/FeatureLib/pfPython/CMakeLists.txt
82> CMake does not need to re-run because H:\Working\Plasma\Build\Sources\Plasma\FeatureLib\pfPython\CMakeFiles\generate.stamp is up-to-date.
82> Pch.cpp
80> plLayerAVI.cpp
80> plLayerBink.cpp
82> cyAccountManagement.cpp
82>H:\Working\Plasma\Sources\Plasma\FeatureLib\pfPython\cyAccountManagement.cpp(73): error C3861: 'PyInt_FromLong': identifier not found
82>H:\Working\Plasma\Sources\Plasma\FeatureLib\pfPython\cyAccountManagement.cpp(74): error C3861: 'PyString_FromString': identifier not found

Is it the code or me or what?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
Lyrositor
Director of Wiki Operations
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm
MOULa KI#: 6940115
Contact:

Re: CWE: Getting Started Question

Post by Lyrositor »

It would seem that you didn't set the appropriate Python include directory in CMake. :|

Edit: Actually, it looks like you have the wrong version of Python. Make sure it's 2.7.
Lyrositor
Explorer #16601888
User avatar
PeterC
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: CWE: Getting Started Question

Post by PeterC »

Yes, it was. Thank you for all your hard work. ;)
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Post Reply

Return to “Plasma Development”