0

I have a problem in makeing gpgpu-sim package in my Ubuntu. This is a ubuntu error and I do not know how to solve it

in the make file I have this

        g++ -shared -Wl,-soname,libcudart.so \

        build/3010/release/libcuda/*.o \
        build/3010/release/cuda-sim/*.o \
        build/3010/release/cuda-sim/decuda_pred_table/*.o \
        build/3010/release/gpgpu-sim/*.o \
        build/3010/release/intersim/*.o \
        build/3010/release/*.o -lm -lz -lGL -pthread \
        /home/alireza/gpgpu-sim/v3.x/src/gpuwattch//obj_opt/*.o \
        -o lib/3010/release/libcudart.so

but I get the following error

/usr/bin/ld: cannot find -lGL

collect2: ld returned 1 exit status

make: *** [lib/3010/release/libcudart.so] Error 1

do you know how to solve this? thanks

1 Answer 1

0

Running the following commands should solve the problem:

sudo apt-get install mesa-common-dev
sudo apt-get install freeglut3-dev
sudo apt-get install freeglut3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .