daid / LegacyCura

Read this, it's important! NEW CURA DEVELOPMENT IS HAPPENING AT https://github.com/Ultimaker/Cura, this is the Cura 15.04 archive. Cura 2.1 and newer is on the Ultimaker github.
https://www.ultimaker.com/pages/our-software
585 stars 429 forks source link

Developer Doc and Support - How to modify and compile Cura #1215

Open mo22de opened 9 years ago

mo22de commented 9 years ago

Hey, may this has been asked before but I really can't find something usefull on it. And may it is offtopic here but I hoped Daid would answer directly to me on that!? Can we talk Daid?

Well the instructions from the repo readme helped me but did not lead to some other answeres on questions which come along.

May someone could help me out on this:

I'm just able to compile on a 64bit Ubuntu for debian_amd64 and on a 32bit ubuntu to compile for debian_i386.

Win7 64 bit fails to compile via git command as recommended ending up following the error description in a situation where it wants a "usr/shared" folder on my windows system.

While compiling for debian and installing the request library was missing, but actually there wasnt a python at all on that machine so Cura just dont start. And after installing python it just hangs. Starting from Console it let me know that the requests library wasn't available.

So I guess there's a way to automate that? And is there a way to add the requerst library to the windows portable python as well?

Yes I'm new to python and this kind of compiling routine for multiple platforms. But I'm not a beginner at all in programming, so a hint could may be all I need. So pls help me getting to this.

THX

daid commented 9 years ago

Did you install the packages from: https://github.com/daid/Cura#debian-and-ubuntu-linux

mo22de commented 9 years ago

Thanks for getting to me daid. Yes I used that instruction and repo, the branch git creates is SteamEngine.

Well may I didnt mention clear enough that I'm on that Code adding some stuff and compiling on Ubuntu in a VM for debian_amd64 nicely.

And hell yeah, I learned a lot last weeks spending on this, but the compiling and espacially the windows build routine just makes me crazy ^^ Is it right that dependency management to include request is the right way to go?

But how to get it for windows python portable and how to include it?

mo22de commented 9 years ago

Well reading my own words now I myself didn't really get my questions ;-) So let me try to ask more precisely:

And just for completion what about RaspberryPi and BeagelBoneBlack? Has somone compiled and run it on a BeagleBone Black ? Would the debian_armhf target such a device?

So this is a lot of questioning and I'm not sure if I need to know everything about it. I just need to add this one library, may someone could help me out doing that if that is faster then explaining it to me!? ;-)

daid commented 9 years ago

For a complete release build, only the package.sh script is needed. So that should be the entry point.

Note that we are currently rebuilding the UI from scratch, which is one of the reasons that I'm not working on updating proper dev documentation.

mo22de commented 9 years ago

Thats great to hear as I was intended to do the same while adding some features to it first. As I said I'm new to python so this was my first lesson with it ;-)

Are you still going to use python? Will you make use of a gui framework?

Any chance to get a look at your plans or may get involved in it?

I would like to add my features to cura, which was planed as a mod build release, may you like it and want to make it part of the origin!?

Anyway I will finish it up and may we could have a chat then and I will show you what I'm doing to your cura right now?

Thanks for your time so far! :-) Have a great time and keep the good work and espacially your accessibility!