Skip to content

no project found? #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joshuacox opened this issue Sep 19, 2014 · 4 comments
Open

no project found? #2

joshuacox opened this issue Sep 19, 2014 · 4 comments

Comments

@joshuacox
Copy link

cd /tmp
mkdir beep
cd beep
ino init -t blink
vim src/sketch.ino

Then <Leader> ac produces this output:

"sketch.ino" 15L, 182C written
Compiling... /tmp/beep/src/sketch.ino
No project found in this directory.
Failed.

I tried cd src and vimming it and <Leader> ac to the same effect. Am I missing something? Was there perhaps supposed to be a Makefile somewhere that gets generated in the ino init command?

$  ls -Rlh /tmp/beep
.:
total 0
drwxr-xr-x 2 bob bob 60 Sep 19 09:12 lib
drwxr-xr-x 2 bob bob 60 Sep 19 09:12 src

./lib:
total 0

./src:
total 4.0K
-rw-r--r-- 1 bob bob 182 Sep 19 09:19 sketch.ino
@delianides
Copy link

+1

@jplaut
Copy link
Owner

jplaut commented Nov 11, 2014

In order for ino to find the project, you'll have to cd into the base project directory (/tmp/beep) instead of into the src directory itself.

@juicechu
Copy link

+1

@jplaut
Copy link
Owner

jplaut commented Jun 6, 2017

Per the Ino quickstart guide, you have to be in the top level of the tree (where the src and lib directories are located. I've confirmed that the build command works from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants