<<  >> (p.69)
    Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1155144 times)
    Morblias
    Hero Member
    *****
    Offline

    Activity: 576
    Merit: 500


    View Profile
    August 04, 2013, 12:35:51 AM
    Last edit: August 04, 2013, 03:18:42 AM by Morblias
     #1361

    pretty noob at linux, so I am not sure how to get opencl working. I got ubuntu 12.04, installed 12.1 driver here: http://support.amd.com/us/gpudownload/windows/previous/12/Pages/radeon_linux.aspx?os=Linux%20x86&rev=12.10 and it installed fine. When I try to run make oclvanitygen I get:

    Code:
    fatal error: CL/cl.h: No such file or directory

    Edit: got it working from changing makefile CFLAGS to CFLAGS=-ggdb -O3 -Wall -I/opt/AMDAPP/include/

    Thanks RaTTuS!

    edit Makefile and change the line
    CFLAGS to be like
    CFLAGS=-ggdb -O3 -Wall -I/opt/ati-stream-sdk-v2.1-lnx64/include/
    ^ or where ever your included path is for opencl
    see 2.3 or if using nvidia then somewhere else
    to find where try
    locatecl.h

    So now it compiles, but I don't think I installed OpenCL correct. My GPU does not show up on the list of Available OpenCL platforms and oclvanitygen only lets me select my CPU... bah.

    Wiped my ubuntu since I pretty much screwed it up lol. Gave it a try on Xubuntu and got my GPU to show up! But...



    lol... getting closer... I think? Weird thing is when I run cgminer it mines just fine. I just can't get this damn vanitygen working.

    Tips Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
Page 68
Viewing Page: 69