Comments (4)
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?
from proxtv.
I get similar Error on Ubuntu. I am using MATLAB 2018b with gcc 7.3.0 and Ubuntu 18
The Error message is
/usr/bin/g++ -c -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/usr/local/MATLAB/R2018b/extern/include" -I"/usr/local/MATLAB/R2018b/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -fopenmp -O3 "/home/vinith/Desktop/proxTV-master/matlab/solveTV1_condat.cpp" -o /tmp/mex_5293994932119778_9874/solveTV1_condat.o
/usr/bin/g++ -c -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/usr/local/MATLAB/R2018b/extern/include" -I"/usr/local/MATLAB/R2018b/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -fopenmp -O3 "/usr/local/MATLAB/R2018b/extern/version/cpp_mexapi_version.cpp" -o /tmp/mex_5293994932119778_9874/cpp_mexapi_version.o
/usr/bin/g++ -pthread -Wl,--no-undefined -fopenmp -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2018b/extern/lib/glnxa64/c_exportsmexfileversion.map" /tmp/mex_5293994932119778_9874/solveTV1_condat.o /tmp/mex_5293994932119778_9874/cpp_mexapi_version.o "*.o" -lblas -llapack -lm -Wl,--as-needed -Wl,-rpath-link,/usr/local/MATLAB/R2018b/bin/glnxa64 -L"/usr/local/MATLAB/R2018b/bin/glnxa64" -Wl,-rpath-link,/usr/local/MATLAB/R2018b/extern/bin/glnxa64 -L"/usr/local/MATLAB/R2018b/extern/bin/glnxa64" -lMatlabDataArray -lmx -lmex -lmat -lm -lstdc++ -o solveTV1_condat.mexa64
Error using mex
g++: error: *.o: No such file or directory
Error in install (line 34)
mex -v -cxx -lblas -llapack -lm CXXOPTIMFLAGS=-O3 CXXFLAGS="$CXXFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp" solveTV1_condat.cpp "*.o"
from proxtv.
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
/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/extern/version/cpp_mexapi_version.cpp" -o /tmp/mex_57507958252673322_88083/cpp_mexapi_version.o
/usr/bin/g++ -pthread -Wl,--no-undefined -fopenmp -shared -O -Wl,--version-script,"/nas/longleaf/apps/matlab/2019a/extern/lib/glnxa64/c_exportsmexfileversion.map" /tmp/mex_57507958252673322_88083/solveTV1_condat.o /tmp/mex_57507958252673322_88083/cpp_mexapi_version.o "*.o" -lblas -llapack -lm -Wl,--as-needed -Wl,-rpath-link,/nas/longleaf/apps/matlab/2019a/bin/glnxa64 -L"/nas/longleaf/apps/matlab/2019a/bin/glnxa64" -Wl,-rpath-link,/nas/longleaf/apps/matlab/2019a/extern/bin/glnxa64 -L"/nas/longleaf/apps/matlab/2019a/extern/bin/glnxa64" -lMatlabDataArray -lmx -lmex -lmat -lm -lstdc++ -o solveTV1_condat.mexa64
Error using mex
g++: error: *.o: No such file or directory
Error in install (line 34)
mex -v -cxx -lblas -llapack -lm CXXOPTIMFLAGS=-O3 CXXFLAGS="$CXXFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp" solveTV1_condat.cpp "*.o"
from proxtv.
It looks the lines like this in the install.m file poses a dilema:
mex -v -cxx -lblas -llapack -lm CXXOPTIMFLAGS=-O3 CXXFLAGS="$CXXFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp" solveTV1_condat.cpp "*.o"
g++ fails with "*.o" where the expanded files are in a quote and thus fail with no subh file or directory
if remove the quote, the * doesn't get expanded.
So I copied those lines and run them in bash:
mex -v -cxx -lblas -llapack -lm CXXOPTIMFLAGS=-O3 CXXFLAGS="$CXXFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp" solveTV1_condat.cpp *.o
.....
Hope that help.
from proxtv.
Related Issues (20)
- maximum relevant lambda for tv1_1d
- Python demos images not rendering correctly
- Weighted loss function HOT 4
- Missing docs for lapack pre-requisites HOT 1
- Missing docs for demos dependencies HOT 1
- pls help me in resolving this HOT 2
- Control reaches end of non-void function HOT 1
- Tag 3.2.2 HOT 1
- Precompiled distributions HOT 1
- For complex variables HOT 1
- Prebundled Windows wheels
- 3.3.0 pypi wheels are not valid manylinux wheels HOT 5
- Documentation clarification; monitoring objective functional along iterations HOT 3
- Weighted Objective of the library?
- Please provide either Py3.8 wheels or a sdist on PyPI
- proxtv installation HOT 3
- Second order total variation [feature request] HOT 2
- Behaviour on Mac HOT 1
- plans to port proxtv to numba or cupy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxtv.