Post
Topic
Board Beginners & Help
Re: CGMiner & OSX
by
numismatics
on 16/04/2013, 04:30:03 UTC
OK, here's the issue with ADL_SDK and cgminer on os x:
- the adl_sdk.h uses __stdcall which isn't supported with clang on os x, removing that fixes compilation

Great catch! I installed a different buildchain (gcc47), and deleting the reference to « __stdcall » but compiling still didn't work:

Code:
In file included from miner.h:106:0,
                 from cgminer.c:44:
ADL_SDK/adl_sdk.h:22:27: error: expected ')' before '*' token
make[2]: *** [cgminer-cgminer.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

HOWEVER, once it compiles you will get link errors because the AMD libs/driver for OS X simply don't have the required ADL layer compiled in... so no use trying.

Is there anyway to install the necessary layers?