Problem with: libGLEW.a File format not recognized

Hello, I am new in CUDA programming. I am trying to run samples with Nsight Eclipse Edition in cross developöments sync mode ( explained here to use Jetson TK1.

I did the all library changes as descripted in the link however I confronted with a problem in build stage. Eclipse gives error “libGLEW.a error adding symbols: File format not recognized”.

More detailed output :

"/usr/local/cuda-6.5/samples/common/lib/linux/x86_64/libGLEW.a: error adding symbols: File format not recognized
make: Leaving directory `/home/ubuntu/NVIDIA_CUDA-6.5_Samples/deneme12/Debug’
collect2: error: ld returned 1 exit status
make: *** [test] Error 1

Shell Completed (exit code = 2)

Thank you in advance for all your help.


Hi Bugra, try to use the armv7l version instead of x86_64. That worked for my TX1

Other Objects:

Library search path:

Do a clean after updating the settings.

Note, I also had to add the X11 library, but that is another story.
Best regards


Try this:

In NVCC Linker->Libraries:

1. Add ‘/usr/local/cuda-6.5/targets/x86_64-linux/lib’ to Libraries search path
2. Select ‘Shared’ @ CUDA Runtime Library