Thanks! Definitely getting on the right path here. It compiled for a long time and gave a ton of warnings, but then finally halted on this error:
scrypt.cpp:33:10: fatal error: 'omp.h' file not found
#include
^
1 error generated.
make[2]: *** [ccminer-scrypt.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
EDIT:I found the file in /usr/ folder. I just copied it to the root ccminer directory along with malloc.h and now its compiling.....fingers crossed.
BTW, I applied this code fix to the sp-hash fork. When I tried to apply it to your fork, it gave a bunch of errors.
UPDATE:Now it halts on this error:
clang: warning: argument unused during compilation: '-pthread'
ld: warning: directory not found for option '-L/usr/local/cuda/lib64'
ld: library not found for -lcudart
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ccminer] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
UPDATE 2I used macports instead of homebrew on a fresh osx install and I was able to get gcc5 with openmp support enabled. I also had to install the CUDA 6.5.27 toolkit for compute 5.2 support. I did the code fix that Epsylon3 suggested and am now compiling. Also had to do chmod 775 on install-sh for some reason (it was saying permission denied). I am also noticing MUCH less warnings while compiling. Fingers crossed....again!
UPDATE 3SUCCESS!!!!!!!!!!
I cant beleive it, took me forever and alot of forum searching but I have it successfully compiled and hashing with my GTX 970 on OSX 10.10. MASSIVE improvement over the ccminer 1.2 from John Chapman. I was getting 4-4.5 MH X11 on that build and now I am getting 7-7.5 MH X11.
Epsylon3, you got a little BTC coming your way for your help. If anyone wants this build of ccminer sp-mod pm me and I'll help you out.