News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Paulo Garcia

Empty build_config.mk after creating project in CPCtelera

Started by Paulo Garcia, 01:33, 22 June 15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paulo Garcia


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

ronaldo

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 :)


Paulo Garcia

Hey Ronaldo


it helped indeed! Now it is all working :)


Thanks


Paulo


Powered by SMFPacks Menu Editor Mod