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

Can't run hello_world!!!!helo!!!! #21

Open
Demalll opened this issue Sep 2, 2023 · 2 comments
Open

Can't run hello_world!!!!helo!!!! #21

Demalll opened this issue Sep 2, 2023 · 2 comments

Comments

@Demalll
Copy link

Demalll commented Sep 2, 2023

nvcc fatal : Unknown option 'pthread'

error
~/NewDisk/CARLsim5/projects/hello_world$ sudo make
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
/usr/local/cuda/bin/nvcc -I/home/demal/CARL/include -L/home/demal/CARL/lib -pthread -Wno-deprecated-gpu-targets src/main_hello_world.cpp -o hello_world -lcarlsim -lcurand
nvcc fatal : Unknown option 'pthread'
Makefile:90: recipe for target 'hello_world' failed
make: *** [hello_world] Error 1

@Demalll
Copy link
Author

Demalll commented Sep 2, 2023

I have been changing various versions of cmake, but I do not know what version cuda9.0 and ubuntu16.04 should use, that is too many, keep trying seems inconvenient

@KarlXing
Copy link
Contributor

KarlXing commented Sep 2, 2023

Hi @Demalll, thank you for your interest in CARLsim. The latest version is CARLsim6 https://github.com/UCI-CARL/CARLsim6. Could you try that version? You could get more help if using CARLsim6 as it's under active development and maintaining.

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