Skip to content
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

Rock cannot find sdk when run from make #1001

Open
refi64 opened this issue Jun 6, 2016 · 2 comments
Open

Rock cannot find sdk when run from make #1001

refi64 opened this issue Jun 6, 2016 · 2 comments

Comments

@refi64
Copy link
Contributor

refi64 commented Jun 6, 2016

Create the following simple Makefile:

x :
    rock -v x.ooc

Now make an empty file x.ooc. This is what happens when I then run make:

rock -v x.ooc
Parsing...

x/x.ooc:1:0 error Use not found in the ooc library path: sdk

To install ooc libraries, copy their directories to /usr/lib/ooc/
If you want to install libraries elsewhere, use the OOC_LIBS environment variable,
which is the path ooc will scan for .use files (in this case, sdk.use).
For more information, see http://ooc-lang.org/docs/tools/rock/usefiles/
-------------------




[FAIL]
make: *** [x] Error 
@slice
Copy link

slice commented Jun 7, 2016

@kirbyfan64 How did you install OOC? I cannot reproduce this.

@alexnask
Copy link
Collaborator

alexnask commented Jun 7, 2016

Weird, it should look into the executable's parent directory and try to find it regardless on how it was ran.

Will look into reproducing this.

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

3 participants