I just installed CPCtelera in my Mac OS X (latest cloned from GitHub) and everything went smoothly.
However, when I try to create a project I see this message:
> Configuring project name to: cpcdev2015/sed: 1: "s/%%%PROJECT_NAME%%%/cp ...": bad flag in substitute command: '/'
[ OK ]
The project folder is created, but the build_config.mk file created is empty (0 bytes).
As expected, if I call make I get:
Makefile:38: /cfg/global_main_makefile.mk: No such file or directory
make: *** No rule to make target `/cfg/global_main_makefile.mk'. Stop.
Could please someone give me an advice about where to look for the cause?
BTW, the examples folder in CPCtelera were build with no problems, so I believe the toolchain itself is properly installed in my computer.
Thanks in advance
Paulo Garcia
Hi Paulo,
The problem is quite easy to solve: you have launched a command like this:
cpct_mkproject cpcdev2015/
but you should have written it without the trailing slash '/':
cpct_mkproject cpcdev2015
and remember that, as the script says in its help, the folder must not previously exist (the script creates it).
May be I should rewrite cpct_mkproject help to clarify this point.
Hope this helps :)
Hey Ronaldo
it helped indeed! Now it is all working :)
Thanks
Paulo
You're welcome, man :)