-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot install on macOS or ubuntu #52
Comments
Well, honestly I have no idea what is going on there. I do not own a Mac, so I can't really debug into this. I know the Python interface for proxTV works under MacOS (Travis tests are passing), but I'm afraid the Matlab interface has only been tested under Ubuntu. The error traces above seem a macOS problem. What error do you get under Ubuntu? Can you provide more information about your system? |
I get similar Error on Ubuntu. I am using MATLAB 2018b with gcc 7.3.0 and Ubuntu 18 The Error message is Error in install (line 34) |
Seeing the same error on RHEL-7 using gcc 6.3.0 and MATLAB 2019a /usr/bin/g++ -c -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/nas/longleaf/apps/matlab/2019a/extern/include" -I"/nas/longleaf/apps/matlab/2019a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -fopenmp -O3 "/nas/longleaf/apps/matlab/2019a/src/proxTV-master/matlab/solveTV1_condat.cpp" -o /tmp/mex_57507958252673322_88083/solveTV1_condat.o Error in install (line 34) |
It looks the lines like this in the install.m file poses a dilema: g++ fails with "*.o" where the expanded files are in a quote and thus fail with no subh file or directory Hope that help. |
Building with 'Xcode Clang++'.
/usr/bin/xcrun -sdk macosx10.13 clang++ -c -DUSE_MEX_CMD -DMATLAB_MEX_FILE -I"/Applications/Matlab/MATLAB_R2017b.app/extern/include" -I"/Applications/Matlab/MATLAB_R2017b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -O3 "/Users/vinith/Documents/DownloadedCodes/proxTV-master/matlab/solveTV1_condat.cpp" -o /var/folders/d3/2mszdryx5xgbh6l8cn0dlqyc0000gt/T/mex_14100380134723_1097/solveTV1_condat.o
/usr/bin/xcrun -sdk macosx10.13 clang++ -c -DUSE_MEX_CMD -DMATLAB_MEX_FILE -I"/Applications/Matlab/MATLAB_R2017b.app/extern/include" -I"/Applications/Matlab/MATLAB_R2017b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.9 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -O3 "/Applications/Matlab/MATLAB_R2017b.app/extern/version/cpp_mexapi_version.cpp" -o /var/folders/d3/2mszdryx5xgbh6l8cn0dlqyc0000gt/T/mex_14100380134723_1097/cpp_mexapi_version.o
/usr/bin/xcrun -sdk macosx10.13 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.9 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -framework Cocoa -bundle -stdlib=libc++ -O -Wl,-exported_symbols_list,"/Applications/Matlab/MATLAB_R2017b.app/extern/lib/maci64/mexFunction.map" -Wl,-exported_symbols_list,"/Applications/Matlab/MATLAB_R2017b.app/extern/lib/maci64/c_exportsmexfileversion.map" /var/folders/d3/2mszdryx5xgbh6l8cn0dlqyc0000gt/T/mex_14100380134723_1097/solveTV1_condat.o /var/folders/d3/2mszdryx5xgbh6l8cn0dlqyc0000gt/T/mex_14100380134723_1097/cpp_mexapi_version.o ".o" -lblas -llapack -lm -L"/Applications/Matlab/MATLAB_R2017b.app/bin/maci64" -lmx -lmex -lmat -o solveTV1_condat.mexmaci64
Error using mex
clang: error: no such file or directory: '.o'
Error in install (line 68)
mex -v -cxx -lblas -llapack -lm CXXOPTIMFLAGS=-O3 solveTV1_condat.cpp "*.o"
The text was updated successfully, but these errors were encountered: