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

error with building the example #1

Open
i-am-logger opened this issue Feb 6, 2023 · 7 comments
Open

error with building the example #1

i-am-logger opened this issue Feb 6, 2023 · 7 comments

Comments

@i-am-logger
Copy link

Hi,

excellent work!

seems i'm missing some packages to compile, maybe you can help with which one?

error: linking with `cc` failed: exit status: 1
... 
  = note: /usr/bin/ld: cannot find -lc++: No such file or directory
          collect2: error: ld returned 1 exit status
@emaadparacha
Copy link
Owner

What OS are you using? If Linux, perhaps try sudo apt install libstdc++-12-dev?

@i-am-logger
Copy link
Author

using linux - ubuntu 22.04 on orange pi-5

I have the above lib installed

@emaadparacha
Copy link
Owner

Apologies for the delayed response, I was away. I don't know exactly unless I have access to your exact computer, but have you found a solution to it yet by any chance? Or any further troubleshooting?

@i-am-logger
Copy link
Author

no worries, thanks for the reply.

I have not resolved it yet. I use it on orange pi5 with the base ubuntu image .

@emaadparacha
Copy link
Owner

emaadparacha commented Mar 4, 2023

I made a change in the qhyccd.rs file, linking to stdc++ instead of c++. I think c++ works for MacOS vs stdc++ for Linux. I've published the changes in the ubuntu-fix branch if you can try that?

@i-am-logger
Copy link
Author

Thanks! will try it this week

@emaadparacha
Copy link
Owner

For sure, let me know!

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