Skip to content

nvcc fatal : Unknown option 'pthread' #36

@Demalll

Description

@Demalll

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions