Compile QtOpenCl.dll with Qt (64bit)
-
omfg, i just realized that i got a new graphics card...
its amd and i just can find so called amd_opencl32.dll or 64.dll in sum drivers folders...but nothing in the catalyst folders nor ATI Technologies folders. -
Did you install the AMD OpenCL SDK ?
-
well i did now.... can you tell me what to execute or how to link and which files need to be linked ?
omfg im such a noob :D -
Before that did you retry to build QtOpenCL from scratch ?
-
the failures above still come up, if thats what you ask for
-
mb i've got the wrong sdk.... named APP AMD SDK.
there is a so called OpenCLService.exe which i installed via prompt
OpenCLService.exe -i and run it via -s -
So, it is working now ?
-
no its not, still the same errors
-
Do you have any OpenCL something lib file in the AMD sdk ?
-
nope
just kernels for examples and stuff -
Strange, did you do a global disk search ? Sometimes there are things are dispatched in both Program Files and Program Files (x86)
Just to be sure did you download "that":http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-tools-sdks/amd-accelerated-parallel-processing-app-sdk/ sdk ?
-
yes, thats what i installed...
i did searched for opencl files... and as i posted before i just found strange files like AMD_opencl64.dl_
i always throught the only thing i need is the opencl.dll (no matter from which source) and compile it with the needed compiler, in my case the amdx64 compiler of msvs10.0 -
no .lib or .a file ?
-
the only .lib or .a files are named glew32 and 64 or glut32 64.
-
I wonder if the SDK has installed correctly
-
did you see the lib files if you take a look at it ?
-
ololol, i searched them manually and found them
dunno why the autosearch cant track them.... OpenCL.lib and libOpenCL.a
what to do now ? -
Depending on your compiler link to either OpenCL.libg (Visual Studio) or libOpenCL.a if you are using MinGW
-
i use MSVS compiler for 64bit... how to link libs in the pro file?
-
You can use Qt Creator built in dialog for that.
Or add
@
LIBS += -Lpath/to/sdk/ -lOpenCL
@If you want to be independent from the SDK installation path, you can use the environment variables to generate the proper path