node-chimera icon indicating copy to clipboard operation
node-chimera copied to clipboard

Compiling path is set wrong on OSX

Open bugs181 opened this issue 12 years ago • 0 comments

Can node-gyp configure and node-gyp make fine however when trying to node example for any of the examples, the following error happens.

module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: dlopen(/Users/levi/.../node-chimera/build/Release/chimera.node, 1): 
Library not loaded: /Volumes/thumb/node-chimera/qt/lib/libQt5Gui.5.dylib
  Referenced from: /Users/levi/.../node-chimera/build/Release/chimera.node
  Reason: image not found

It should be noted that I do NOT have the path /Volumes/thumb/node-chimera/qt/lib/

In fact I do not even have the volume thumb.

I have a reason to believe this has something to do with XCode setting the wrong path however could not find any way to change it. I also browsed through the source a little bit but haven't come across anything yet except for the following.

In biinding.gyp line 32 has:

'xcode_settings': {
    'OTHER_LDFLAGS': [
        '-Wl,-rpath <(module_root_dir)/qt/lib'
    ]
}

bugs181 avatar Dec 27 '13 13:12 bugs181