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

Problems after download recent updates #173

Open
Andreh1982 opened this issue Aug 15, 2023 · 2 comments
Open

Problems after download recent updates #173

Andreh1982 opened this issue Aug 15, 2023 · 2 comments

Comments

@Andreh1982
Copy link

Andreh1982 commented Aug 15, 2023

Hello, actually i'm using this binding in a personal project (thank you go-skynet for the opportunity) and after download the lastest code, i'm getting the follow error:

github.com/go-skynet/go-llama.cpp
binding.cpp:1:10: fatal error: common.h: No such file or directory
1 | #include "common.h"
| ^~~~~~~~~~
compilation terminated.

I guess i miss something but i cant find what is happening, can you guys help me?

@mudler
Copy link
Member

mudler commented Aug 15, 2023

Did you updated the submodules too? Try a fresh clone otherwise

@Andreh1982
Copy link
Author

Andreh1982 commented Aug 20, 2023

Screenshot from 2023-08-20 20-20-54
Screenshot from 2023-08-20 20-22-04
Hey Ettore! :)

I will try a fresh install, but maybe you can check if i'm doing right. The idea is to use as a module inside my project:

1 - Cloned the repo inside my project folder;
2 - Compiled the libbinding.a;
3 - Copy the libbinding.a to the root folder of my project;
4 - Copy the folder llama.cpp to the root folder of my project;
5 - Copy the file llama.h to the root folder of my project;

Is that right? Being honest, i was only following the errors and trying to fix then. But this one from "common.h"... damn! haha

ps1: sorry the late!
ps2: Screenshot from the file folder and the command running the project (the old who is working okie).

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

2 participants