News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_EgoTrip

Help with Cygwin/CPCTelera

Started by EgoTrip, 17:06, 25 September 15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skylas

#25
Finally i contacted the cpctelera and gave me a correct mirror link that works! The mirrors probably was the problem.
I used your previous instructions for what packages to enter and it was installed without errors.
Is cpctelera a separate program that i have to open or just use cygwin terminal? it seems the same.


If yes, how can it be used? i meen not for something advanced, but just draw a line, or make a video, or make a new file, load a code of a game etc. Or if there is a small manual somewhere for the languages that are used.
What made me install it, of course taking a look on all this, and also the new feature that could let us  make an amstrad game in android.
Web: https://amstradsakis.blogspot.com
Twitter: https://twitter.com/AmstradSakis
My programs (only BASIC):
RETRO-LOADSHEET!, PENALTY KICKS!, CAPITAL QUIZ!, CAPITAL QUIZ 2! (Reverse edition), HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ), HEART CHASER 1,2,3!, BARBOUTI!, STROOPIE!, AMSTABOO!
TEXT ADVENTURES:
BUDRUMI!, ART WAR!, BATTLE OF LENINGRAD!, RODOLFO SKYLARRIENTE 1 and 2!

awergh


Great that you have got it installed. Cpctelera isn't a separate application instead it provides libraries and tools to compile and build complete Amstrad CPC projects.
To use access these tools you use cygwin which has been setup to work with the cpctelera installation.


My suggestion for what to do next is have a play with the included examples.
From cygwin start by changing directory (cd) to the directory where you installed cpctelera to.
For example if it was in D:\cpctelera you would enter the following:
cd /cygdrive/d/cpctelera


Now that you are in the cpctelera directory you can find all the examples under cpctelera/examples
These are a set of programming examples (of varying complexity) using CPCtelera that shows off its various features.


There is also a complete game example you can look at under:
cpctelera/examples/games/platformClimber


To compile any of the examples just type
make


To then run the generated disk file with WinAPE (it will prompt where you have WinAPE the first time)
cpct_winape filename.dsk


CPCtelera has a very good reference manual (although not necessarily small) that is worth a look.
CPCtelera is supported for use with C and Z80 Assembly Language.
http://lronaldo.github.io/cpctelera/files/readme-txt.html


To look or work with the code I suggest using a decent text editor such as Visual Studio Code.

skylas

Quote from: awergh on 10:56, 27 April 20
Great that you have got it installed. Cpctelera isn't a separate application instead it provides libraries and tools to compile and build complete Amstrad CPC projects.
To use access these tools you use cygwin which has been setup to work with the cpctelera installation.


My suggestion for what to do next is have a play with the included examples.
From cygwin start by changing directory (cd) to the directory where you installed cpctelera to.
For example if it was in D:\cpctelera you would enter the following:
cd /cygdrive/d/cpctelera


Now that you are in the cpctelera directory you can find all the examples under cpctelera/examples
These are a set of programming examples (of varying complexity) using CPCtelera that shows off its various features.


There is also a complete game example you can look at under:
cpctelera/examples/games/platformClimber


To compile any of the examples just type
make


To then run the generated disk file with WinAPE (it will prompt where you have WinAPE the first time)
cpct_winape filename.dsk


CPCtelera has a very good reference manual (although not necessarily small) that is worth a look.
CPCtelera is supported for use with C and Z80 Assembly Language.
http://lronaldo.github.io/cpctelera/files/readme-txt.html


To look or work with the code I suggest using a decent text editor such as Visual Studio Code.
Many thx awergh for all useful info and help!
Web: https://amstradsakis.blogspot.com
Twitter: https://twitter.com/AmstradSakis
My programs (only BASIC):
RETRO-LOADSHEET!, PENALTY KICKS!, CAPITAL QUIZ!, CAPITAL QUIZ 2! (Reverse edition), HEADS OR TAILS (ΚΟΡΩΝΑ/ΓΡΑΜΜΑΤΑ), HEART CHASER 1,2,3!, BARBOUTI!, STROOPIE!, AMSTABOO!
TEXT ADVENTURES:
BUDRUMI!, ART WAR!, BATTLE OF LENINGRAD!, RODOLFO SKYLARRIENTE 1 and 2!

Skunkfish

I managed to get Cygwin installed with the required libraries etc.

However, I'm now getting the below error after executing setup.sh:
#########################
## UNRECOVERABLE ERROR ##
#########################
##> There was an error building CPCtelera tools. Please, check '/home/JFord/cpctelera/logs/tool_building.log' for details. Aborting.

I have attached the tool_building.log file - does anyone have any ideas where I'm going wrong? ???
An expanding array of hardware available at www.cpcstore.co.uk (and issue 4 of CPC Fanzine!)

ervin


This might be a dumb question (I apologise if that's the case), but did you accidentally copy the cpctelera folder to the destination twice?
Or do you have any other potential duplicates in your cpctelera folder?
In any case, it might be easiest to just delete the cpctelera folder, and extract it from the download again.

Skunkfish

After another couple of failed attempts I think it's working....

Re-extracted the CPCtelera file but with no more luck.

Downgraded GCC to an earlier version and no luck.

Downgraded GCC to an even earlier version, re-extracted CPCtelera file and now it seems to be working fine *touch wood*

Thanks for your help!
An expanding array of hardware available at www.cpcstore.co.uk (and issue 4 of CPC Fanzine!)

Powered by SMFPacks Menu Editor Mod