fifield/node-webcl — Issue #2: trouble compiling
Author: shownde
Created: 2011-11-24 08:14:50+00:00
State: open

I'm getting an error when compiling:

Checking for library OpenCL : not found
/usr/local/lib/node_modules/node-webcl/wscript:34: error: the configuration failed (see '/usr/local/lib/node_modules/node-webcl/build/config.log')

config.log ends in:

Checking for library OpenCL
==>

int main() {
return 0;
}

<==
[1/2] ESC[32mcxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/Release/test_1.o
ESC[0m['/Developer/usr/bin/g++', '-g', '../test.cpp', '-c', '-o', 'Release/test_1.o']
[2/2] ESC[33mcxx_link: build/.conf_check_0/testbuild/Release/test_1.o -> build/.conf_check_0/testbuild/Release/testprog
ESC[0mld: library not found for -lOpenCL
collect2: ld returned 1 exit status
['/Developer/usr/bin/g++', 'Release/test_1.o', '-o', '/usr/local/lib/node_modules/node-webcl/build/.conf_check_0/testbuild/Release/testprog', '-lOpenCL']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx_link test_1.o -> testprog}'not found

& FWIW
node -v
v0.6.1

System Version: Mac OS X 10.7.2 (11C74)