cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

omac
Journeyman III

quantal quetzal driver and opencl setup

Hi there,

I made the mistake of upgrading from Precise Pangolin to Quantal Quetzal thinking the drivers/opencl would work without issue.

I just found these links which might be helpful for others:

http://www.webupd8.org/2012/10/how-to-reset-compiz-and-unity-in-ubuntu.html

http://wiki.cchtml.com/index.php/Ubuntu_Quantal_Installation_Guide

I have an opencl issue:

uname -a

reports:

3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

fglrxinfo

reports:

display:   screen: 0

OpenGL vendor string: Advanced Micro Devices, Inc.

OpenGL renderer string: AMD Radeon HD 7900 Series

OpenGL version string: 4.2.11903 Compatibility Profile Context

Then, when I do:

/opt/AMDAPP

make

I get the following error:

SDKCommon.cpp: In member function ‘std::string streamsdk::SDKCommon::getPath()’:

SDKCommon.cpp:41:67: error: ‘readlink’ was not declared in this scope

make[3]: *** [build/debug/x86_64//SDKCommon.o] Error 1

0 Likes
1 Reply
omac
Journeyman III

Add

#include <unistd.h>

to

/opt/AMDAPP/samples/opencl/SDKUtil/include/opt/AMDAPP/samples/opencl/SDKUtil/include/SDKCommon.hpp

That fixes it and everything builds.  The fix is related to changes in the new gcc 4.7 found in Quantal Quetzal(ubuntu 12.10).

http://gcc.gnu.org/gcc-4.7/porting_to.html

0 Likes