ampl / rAMPL

R API for AMPL
http://rAMPL.ampl.com
BSD 3-Clause "New" or "Revised" License
15 stars 8 forks source link

Makevars not working on mac #2

Closed robingirard closed 5 years ago

robingirard commented 5 years ago

The Makevars doesn't work on my mac, i got the following error :

clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -L/Users/user_name/opt/clang+llvm-4.0.1-x86_64-apple-macosx10.9.0/lib -lomp -o rAMPL.so RcppExports.o rampl.o rcon_entity.o rcon_instance.o renvironment.o robj_entity.o robj_instance.o rparam_entity.o rset_entity.o rset_instance.o rvar_entity.o rvar_instance.o utils.o -L../inst/libs/x64 -L../inst/libs/i386 -lampl -Wl,-rpath,@loader_path/../libs/x64 -Wl,-rpath,$ORIGIN/../libs/x64 -Wl,-rpath,$ORIGIN/../libs/i386 -Wl,-rpath,$ORIGIN/../inst/libs/x64 -Wl,-rpath,$ORIGIN/../inst/libs/i386 SHLIB_LIBADD = -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation clang: error: no such file or directory: 'SHLIB_LIBADD' clang: error: no such file or directory: '=' make: *** [rAMPL.so] Error 1