How to built Computercraft
Started by Wilma456, May 07 2017 12:30 PM
11 replies to this topic
#1
Posted 07 May 2017 - 12:30 PM
I want to built Computercraft from the source. But how can I do that? I had downlaoded the GitHub repository and run setup.sh. After a half hour, I got the Message, that it has finished but I dont't get a file.
#2
Posted 07 May 2017 - 12:47 PM
Run the ./deploy.sh or deploy.bat file (.bat if windows, .sh if not) and wait for a few minutes - you should get a file in build/libs which you can then play with. Alternatively, just download one of the "nightly" builds that CrazedProgrammer has set up.
Note: If you're writing a feature, you can use ./gradlew runClient instead. This will build ComputerCraft and start the game, which saves an awful lot of time.
Note: If you're thinking of writing a feature, think really hard about it first. Have a look through some of the existing PRs and see what you think other people did wrong or right.
Note: If you're writing a feature, you can use ./gradlew runClient instead. This will build ComputerCraft and start the game, which saves an awful lot of time.
Note: If you're thinking of writing a feature, think really hard about it first. Have a look through some of the existing PRs and see what you think other people did wrong or right.
Edited by SquidDev, 07 May 2017 - 12:51 PM.
#3
Posted 08 May 2017 - 03:56 PM
Thankyo for the link. I only want to have the latest beta of Computercraft. But I have a question: I have built Computercraft (Just for Fun) with your command. But if I click on a Computer, I only get a black screen. CraftOS is not booting. Why?
#5
Posted 09 May 2017 - 01:58 PM
I had update tehe code and make another build. Same Problem. The last build from the Website is a half hour ago, and the last code change is a hour ago, so the built from the website and my built has the same codebase. Why works the built from the website and my built not?
#6
Posted 09 May 2017 - 02:03 PM
How are you building it? Are you using ./deploy.sh or ./gradlew build? If the former is still not working, replace your build.gradle file with this one and try again.
#7
Posted 09 May 2017 - 04:24 PM
It works with your file. Thankyou. You should make a Pull Request, to put this file in the Computercraft Repository.
#8
Posted 09 May 2017 - 04:34 PM
Wilma456, on 09 May 2017 - 04:24 PM, said:
It works with your file. Thankyou. You should make a Pull Request, to put this file in the Computercraft Repository.
#9
Posted 15 June 2017 - 10:17 AM
I need further help: Building on my PC works, but the builtserver from CrazedProgrammer is down, so I want to make a Cronjob on my PI to built this. But I only get the error:
Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heapHow can I solve this?
#10
Posted 15 June 2017 - 10:25 AM
The build server isn't down, it just got moved to here.
In regards to your error, you're just running out of memory - the build process requires more than 2GB of memory so you'll need to allocate more.
In regards to your error, you're just running out of memory - the build process requires more than 2GB of memory so you'll need to allocate more.
#11
Posted 15 June 2017 - 05:38 PM
Thank you for the new link. I had changed my bookmark.
But how can I allocate more memory?
But how can I allocate more memory?
#12
Posted 15 June 2017 - 05:55 PM
Wilma456, on 15 June 2017 - 05:38 PM, said:
But how can I allocate more memory?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











