Hi,
I have downloaded a copy of ArrayFire for evaluation and was trying to compile the examples. The compilation failed for the helloworld example. This is the error I get,
cc -m64 -Wall -Werror -I/N/u/pratnali/BigRed2/Software/arrayfire-2.0/include -pthread -O2 -DNDEBUG -DAFCL -lrt -Wl,--no-as-needed -L/N/u/pratnali/BigRed2/Software/arrayfire-2.0/lib64 -lpthread -lstdc++ -lm -Wl,-rpath,/N/u/pratnali/BigRed2/Software/arrayfire-2.0/lib64,-rpath,/N/u/pratnali/BigRed2/Software/arrayfire-2.0/lib64 -lafcl helloworld.cpp -o helloworld_ocl
/usr/lib64/libGL.so.1: undefined reference to `xcb_glx_set_client_info_arb'
/usr/lib64/libGL.so.1: undefined reference to `xcb_glx_create_context_attribs_arb_checked'
/usr/lib64/libGL.so.1: undefined reference to `xcb_glx_set_client_info_2arb'
collect2: error: ld returned 1 exit status
make: *** [helloworld_ocl] Error 1
The gcc version on the system is 4.8.1.
Could you please suggest a solution for this problem?
- Pushkar