Thread: mtsieve
View Single Post
Old 2020-06-05, 12:21   #347
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

10111010000012 Posts
Default

Quote:
Originally Posted by Citrix View Post
https://github.com/GPUOpen-Libraries...L-SDK/releases & https://github.com/KhronosGroup/OpenCL-Headers

I get this error with the latest release

Code:
cullen_woodall/CullenWoodallApp.cpp: In member function 'virtual void CullenWoodallApp::ValidateOptions()':
cullen_woodall/CullenWoodallApp.cpp:191:4: error: 'SetMaxPrimeForSingleWorker' was not declared in this scope
    SetMaxPrimeForSingleWorker(pForSingleWorker);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
cullen_woodall/CullenWoodallApp.cpp:191:4: note: suggested alternative: 'pForSingleWorker'
    SetMaxPrimeForSingleWorker(pForSingleWorker);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    pForSingleWorker
mingw32-make: *** [makefile:117: cullen_woodall/CullenWoodallApp.o] Error 1
Hmm. Which compiler are you using? Is it the current version of that compiler? That is a protected method in App.h, so a child class should be able to call it. What if you change App.h to make it public?

The first link you provided only has OpenCL headers. What OpenCL libraries are you linking against? Can you compile and link with the headers then it fails at runtime? If so, then I suspect the libraries to be an issue. If you cannot compile or link, it could be an issue with the code.

Last fiddled with by rogue on 2020-06-05 at 12:27
rogue is offline   Reply With Quote