hughperkins / clnn

OpenCL backend for Torch nn neural networks library
BSD 2-Clause "Simplified" License
126 stars 16 forks source link

mac build fails with "ld: library not found for -lTHC" #22

Closed hughperkins closed 8 years ago

hughperkins commented 8 years ago

mac build fails with "ld: library not found for -lTHC"

https://travis-ci.org/hughperkins/clnn/builds/99839333

hughperkins commented 8 years ago

(Note: the pull referenced above has nothing to do with this issue)

hughperkins commented 8 years ago

I think this is fixed by https://github.com/hughperkins/clnn/commit/7c83307de34c291bebccb129f27aaa17e0ce406c

data-ux commented 8 years ago

After updating to most recent clnn version, build goes through, but now require 'clnn' fails:

th> require 'clnn'
libthclnn_searchpath    nil
...ta/Users/jan/torch/install/share/lua/5.1/clnn/THCLNN.lua:11: bad argument #1 to 'load' (string expected, got nil)
stack traceback:
    [C]: in function 'load'
    ...ta/Users/jan/torch/install/share/lua/5.1/clnn/THCLNN.lua:11: in main chunk
    [C]: in function 'require'
    ...Data/Users/jan/torch/install/share/lua/5.1/clnn/init.lua:5: in main chunk
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: at 0x010486aba0
hughperkins commented 8 years ago

Ah, interesting. Getting closer :-) Will take a look.

hughperkins commented 8 years ago

(created new issue for this)