Closed KrishnaPG closed 8 years ago
After installing rake
with the command sudo apt-get install rake
, the corto run
command worked fine. It printed the output.
But I would suggest the rake installation
step to be integrated into the corto installation
step, just in case.
@KrishnaPG ah, the documentation should be clearer about that. The corto create
tool uses the rake-based buildsystem. It is a simple wrapper around creating a corto project that helps you to setup a project very quickly.
It is possible to setup a project with another buildsystem manually, but then the corto create
tool won't work. Essentially for a non-rake based project, you would need to manually link with libcorto.so and include the package repository:
gcc src/myApp.c -I/usr/local/include/corto/0.2 /usr/local/lib/corto/0.2/corto/libcorto.so -o myApp
Thanks @SanderMertens No issues. Just thought of suggesting to add the rake dependency
to the corto installation
step itself. Will help the beginners.
After fresh installation of
corto
, following the tutorial steps (here), the create command failed as below:The
myApp
folder is created fine. Looks like thecorto run
command is looking forrake
which is not found.I thought
rake
was required only for building thecorto
itself and not the user projects?Anyway, if
rake
is indeed required forcorto run
, then I think lettingcurl https://corto.io/install | sh
command install it as prerequisite would be good idea as part of thecorto
installation itself (rather than user having to install it separately).