dmarcuse / turbokrist

The first-ever GPU accelerated Krist miner - using Java and OpenCL.
GNU General Public License v3.0
6 stars 3 forks source link

Problem while building #16

Closed Luca0208 closed 8 years ago

Luca0208 commented 8 years ago
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':compileJava'.
> Configuration with name 'default' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.895 secs

If you need the total stack trace please tell me, it's quite a bit.

Lignum commented 8 years ago

You're probably missing the submodules. Try this:

git submodule init
git submodule update

If that worked, clone recursively next time:

git clone --recursive https://github.com/apemanzilla/turbokrist.git
Luca0208 commented 8 years ago

I did that, but I will try anyways had a lot of problems with git lately.

Luca0208 commented 8 years ago
me.apemanzilla.jclminer.tests.TestCLConstants > testConstant_K FAILED
    com.nativelibs4java.opencl.CLBuildException

me.apemanzilla.jclminer.tests.TestCLHashing > testHashing_digest FAILED
    com.nativelibs4java.opencl.CLBuildException

me.apemanzilla.jclminer.tests.TestCLMacros > testMacro_PAD FAILED
    com.nativelibs4java.opencl.CLBuildException

me.apemanzilla.jclminer.tests.TestCLMacros > testMacro_RR FAILED
    com.nativelibs4java.opencl.CLBuildException

me.apemanzilla.jclminer.tests.TestCLMining > testMining_hashToLong FAILED
    com.nativelibs4java.opencl.CLBuildException

5 tests completed, 5 failed
:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///Users/Luca/turbokrist/build/reports/tests/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 50.422 secs
dmarcuse commented 8 years ago

Alright that's an OpenCL problem. Can you send me a stacktrace from any of the tests in the file file:///Users/Luca/turbokrist/build/reports/tests/index.html

Lignum commented 8 years ago

It may be worth updating your graphics drivers to see if that fixes it.

Luca0208 commented 8 years ago

Archiv.zip

Afaik I have the newest drivers.

Lignum commented 8 years ago

This seems to be the same issue as #9. Intel HD is already not well supported, but add Apple's weird drivers on top of that and you'll get even more trouble... either way, we don't really know what's causing this and don't have a machine to test this on either.

dmarcuse commented 8 years ago

Shit, it's the OSX bug again.

See #9. AFAIK there's literally nothing that we can do, this is a bug with Apple's OpenCL implementation. You can try omitting tests via gradlew build -x test but you'll just get the same error when you try to mine.

The only advice I can give you is to try a different OS.

Luca0208 commented 8 years ago

Actually I get another error(After using -x test and executing the built file). Seems like Main-Class is missing in MANIFEST.MF. What is the main class?

Lemmmy commented 8 years ago

:egg:

dmarcuse commented 8 years ago

@Luca0208 the executable jar is in the turbokrist-cli folder.

Luca0208 commented 8 years ago

Actually it works lol :D

Luca0208 commented 8 years ago

Thx

Luca0208 commented 8 years ago

If I ignore that it warms my GPU to 100°C and only gets 7 MH/s it even works perfectly lol

dmarcuse commented 8 years ago

what GPU is it?

Luca0208 commented 8 years ago

It's On-Board graphics 😛 but I just compiled it to use it on my windows PC, works fine.

Luca0208 commented 8 years ago

On windows it's like impossible to compile not even gradle works on windows(At least on mine)

dmarcuse commented 8 years ago

Well I compiled it on Windows so idk

gradlew build

Luca0208 commented 8 years ago

Strange, but it is not your program gradle seems broken.