How to build GLEW to a custom path? -


i trying build glew git clone https://github.com/nigels-com/glew.git

according website, can modify install path using environment variable glew_dest did was

export glew_dest=/usr/local/glew make extensions make 

however compilation shows following error

ld: dylib lib/libglew.dylib missing lc_id_dylib load command file 'lib/libglew.dylib' architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) make: *** [bin/glewinfo] error 1 

can figuring out problem?

i haven't had luck using provided makefile build glew. hoewever, there cmakefilelists useful. in order build glew using cmake, can check this issue in glew's github.

finally, install in desired path, don't forget add -dcmake_install_prefix=<somepath> cmake command.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -