I have looked a little more at the gpu miner code.
It seams to be a mess.
I looked at the following code and could not understand why the miner prints out "Error AMD accelerated parallel processing found". I saw that he did not care if it was a AMD or Nvidia but how could it drop down to the last else and get the error.
if (strcmp(platformId, "amd") == 0)
platformName = "AMD Accelerated Parallel Processing";
else if (strcmp(platformId, "nvidia") == 0)
platformName = "NVIDIA CUDA";
else {
pthread_mutex_lock(&io_mutex);
cout << get_time() << "ERROR: platform " << platformId << " not supported ";
cout << " use amd or nvidia" << endl;
pthread_mutex_unlock(&io_mutex);
exit(EXIT_FAILURE);
Also he don't use the exit somewere else. He don't check for the cards before this code executes. So this piece of code is not useful for the program.
Then I started to read more. There are over 100 lines of code that are repeating itself. Checking the cards again and again. Also the fact that some old code in pthread also could course problems. I'm not a c or c++ programmer so I maybe can't fix all of that. It's probably a cut and paste problem that left so much faulty code there.
I was only trying to fix faulty math against graphic cards and compile it. If it don't make harm I leave it in there for now.
I could not find any later gpu miner than 4.1 to work on. So if I'm wrong about that then point me in the right direction. This one I'm looking at.
https://github.com/gapcoin/GapMinerI said that I probably will fail.

All that faulty code don't make it easier.
Latest Gpu miner is rev4.1.