Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Unknown platform: "Darwin" #9

Closed
atamis opened this issue May 1, 2011 · 1 comment
Closed

Unknown platform: "Darwin" #9

atamis opened this issue May 1, 2011 · 1 comment

Comments

@atamis
Copy link

atamis commented May 1, 2011

Running on an intel iMac, 10.5.8. Running DiabloMiner under the provided Java 1.5 produces the following error:

 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException

Running it under Soylatte (port of Java 1.6 to Darwin) produces the following:

[5/1/11 3:40:10 PM] Started

[5/1/11 3:40:10 PM] Connecting to: http://http://mining.bitcion.cz:8332:8332/
Exception in thread "main" java.lang.LinkageError: Unknown platform: Darwin
    at org.lwjgl.LWJGLUtil.<clinit>(LWJGLUtil.java:285)
    at org.lwjgl.Sys.createImplementation(Sys.java:111)
    at org.lwjgl.Sys.<clinit>(Sys.java:98)
    at org.lwjgl.opencl.CL.<clinit>(CL.java:51)
    at com.diablominer.DiabloMiner.DiabloMiner.execute(DiabloMiner.java:242)
    at com.diablominer.DiabloMiner.DiabloMiner.main(DiabloMiner.java:107)

How can I solve either problem?

@Diablo-D3
Copy link
Owner

You have three problems:

OSX 10.5 does not do OpenCL. You need at least 10.6. Apple refuses to backport OpenCL support to 10.5.

The Java 5 issue probably can't be fixed. DiabloMiner is compiled on Java 6, and as such will not work on 5, and I believe I'm using 6-only features as well. It is not worth the trouble as every platform that does OpenCL has 6.

Finally, LWJGL does not recognize Darwin as a platform name, Soylatte should probably emit the OSX platform name instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants