Skip to content

Won't build on Mac OS X #3

@natevw

Description

@natevw

After I installed the FreeImage libs via brew install freeimage, the node-image build process is still not finding them:


$ npm install node-image

> node-image@0.5.0 install /Users/natevw/Desktop/Clients/Argyle Tiles/code/node_modules/node-image
> rm -rf build; node-waf configure clean build

Checking for program g++ or c++          : /usr/bin/g++ 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/bin/ar 
Checking for program ranlib              : /usr/bin/ranlib 
Checking for g++                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local/Cellar/node/0.6.19 
Checking for static library freeimage    : yes 
'configure' finished successfully (0.532s)
'clean' finished successfully (0.019s)
Waf: Entering directory `/Users/natevw/Desktop/Clients/Argyle Tiles/code/node_modules/node-image/build'
[1/4] cxx: src/FreeImage.cpp -> build/Release/src/FreeImage_1.o
[2/4] cxx: src/bindings.cpp -> build/Release/src/bindings_1.o
[3/4] cxx: src/Image.cpp -> build/Release/src/Image_1.o
[4/4] cxx_link: build/Release/src/FreeImage_1.o build/Release/src/bindings_1.o build/Release/src/Image_1.o -> build/Release/image.node
i686-apple-darwin11-llvm-g++-4.2: /Users/natevw/code/FreeImage/Dist/libfreeimage.a: No such file or directory
Waf: Leaving directory `/Users/natevw/Desktop/Clients/Argyle Tiles/code/node_modules/node-image/build'
Build failed:  -> task failed (err #1): 
    {task: cxx_link FreeImage_1.o,bindings_1.o,Image_1.o -> image.node}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions