-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
MATLAB R2014a mex -v behavior breaks cmake scripts #53
Comments
The cmake scripts are not finding your mex compiler. Can you run |
30-6-159:drake-distro rkk$ mex -v -> hmm, seems like my pdfTeX took the mex command, how can I get that fixed? |
yes. great. that's the problem. i recently updated the cmake scripts to try to help with this, can we make sure that you're using the most up-to-date? can you try the following?
if it pulls something new down, then
and to see if that helped? On Mar 11, 2014, at 9:44 PM, Robert Katzschmann notifications@github.com wrote:
|
I tried it, but it did not work out, I think the problem is my cmake folder is completely empty... See below: 30-6-159:~ rkk$ cd drake-distro/drake/cmake |
Sorry. I should have realized your drake directory is old, too. (before the cmake was pulled to a submodule).
that should put something non-empty in your cmake folder. On Mar 11, 2014, at 11:27 PM, Robert Katzschmann notifications@github.com wrote:
|
everything worked until running 'make configure', which resulted in an error. it still can not find my mex or my mex options: 30-6-159:drake rkk$ git submodule init BUILD_PREFIX: /Users/rkk/drake-distro/build CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Warning at cmake/mex.cmake:18 (message): CMake Error at cmake/mex.cmake:256 (get_compiler_version): CMake Error at cmake/mex.cmake:273 (message):
Call Stack (most recent call first): -- Configuring incomplete, errors occurred! |
Say down with Robert yesterday. It appears that matlab has changed the mex command line behavior with 2014a (it believe it was not changed in the pre-release candidate that I had installed). Now mex -v returns "no input files" error without reporting any variables. And mex -v dummy.cpp returns the parameters, but with a different delimiter. I will have to update the parser (after downloading and installing the latest release). Robert's system is working fine now with 2013a, which he also had installed. |
…ion#53) * reproduce large pentadiagonal factorization error * print error (only) at each iteration * print condition number in unit test * test random matrices with different condition numbers * compare dense and sparse solvers to ground truth * Experiments with PetsC and accuracy * Undo unwanted changes to acrobot.yaml * Addresses reviews Co-authored-by: Vince Kurtz <vjkurtz@gmail.com>
…ion#53) * reproduce large pentadiagonal factorization error * print error (only) at each iteration * print condition number in unit test * test random matrices with different condition numbers * compare dense and sparse solvers to ground truth * Experiments with PetsC and accuracy * Undo unwanted changes to acrobot.yaml * Addresses reviews Co-authored-by: Vince Kurtz <vjkurtz@gmail.com>
Hello Russ,
I have a problem during the getting started/installation process of drake on my mac book retina running mavericks 10.9.2 and matlab 2014a, I hope you can help me with. In short:
running ‘make' in the 'drake-distro' folder compiles fine until ‘drake’ itself has to be compiled - this is the console error output for the drake portion:
-- drake
BUILD_PREFIX: /Users/rkk/drake-distro/build
CMake Error at cmake/mex.cmake:11 (string):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
cmake/mex.cmake:56 (get_mex_option)
cmake/mex.cmake:199 (mex_setup)
CMakeLists.txt:38 (include)
-- compiler1 version string:
-- compiler2 version string:
4.2.1
CMake Error at cmake/mex.cmake:203 (message):
Your cmake C compiler is: /usr/bin/cc but your mex options use: . Consider
rerunning 'mex -setup' in Matlab.
Call Stack (most recent call first):
CMakeLists.txt:38 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/rkk/drake-distro/drake/pod-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [configure] Error 1
make[1]: *** [pod-build/Makefile] Error 2
make: *** [all] Error 2
——
I ran 'mex -setup' in Matlab, also for C++ and FORTRAN, but it does not fix the problem,.
In long, these are the steps I did before:
I followed the guide on: https://github.com/RobotLocomotion/drake/wiki/Installation-and-Quickstart
30-6-159:drake-distro rkk$ make install_prereqs_homebrew
Warning: cmake-2.8.12.2 already installed
Warning: gtk+-2.24.22 already installed
Warning: glib-2.38.2 already installed
Warning: coreutils-8.22 already installed
Warning: cmake-2.8.12.2 already installed
Warning: gtk+-2.24.22 already installed
make[1]: *** No rule to make target
install_prereqs_homebrew'. Stop. Warning: gnu-sed-4.2.2 already installed Warning: gfortran-4.8.2 already installed Warning: gfortran-4.8.2 already installed make[2]: *** No rule to make target
install_prereqs_homebrew'. Stop.make[1]: *** [install_prereqs_homebrew] Error 2
Warning: boost-1.55.0 already installed
Warning: graphviz-2.36.0 already installed
alright I moved on, I am using bash, so my '~/.profile' looks like this:
export MATLAB_JAVA=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
export PKG_CONFIG_PATH=:/opt/X11/lib/pkgconfig:/opt/X11/lib/pkgconfig:/opt/X11/lib/pkgconfig
I added the second line is according to your guide. The first line is needed so that my matlab R2014a displays correctly on my retina mac book (using newer JRE - mine is version 7 update 51). Matlab uses an older builtin java version, which does not support the retina resolution.
My matlab version is:
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: 650667
Operating System: Mac OS X Version: 10.9.2 Build: 13C64
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 8.3 (R2014a)
Simulink Version 8.3 (R2014a)
Aerospace Blockset Version 3.13 (R2014a)
Aerospace Toolbox Version 2.13 (R2014a)
Bioinformatics Toolbox Version 4.4 (R2014a)
Communications System Toolbox Version 5.6 (R2014a)
Computer Vision System Toolbox Version 6.0 (R2014a)
Control System Toolbox Version 9.7 (R2014a)
Curve Fitting Toolbox Version 3.4.1 (R2014a)
DSP System Toolbox Version 8.6 (R2014a)
Database Toolbox Version 5.1 (R2014a)
Datafeed Toolbox Version 4.7 (R2014a)
Econometrics Toolbox Version 3.0 (R2014a)
Embedded Coder Version 6.6 (R2014a)
Filter Design HDL Coder Version 2.9.5 (R2014a)
Financial Instruments Toolbox Version 1.3 (R2014a)
Financial Toolbox Version 5.3 (R2014a)
Fixed-Point Designer Version 4.2 (R2014a)
Fuzzy Logic Toolbox Version 2.2.19 (R2014a)
Global Optimization Toolbox Version 3.2.5 (R2014a)
Image Acquisition Toolbox Version 4.7 (R2014a)
Image Processing Toolbox Version 9.0 (R2014a)
Instrument Control Toolbox Version 3.5 (R2014a)
LTE System Toolbox Version 1.1 (R2014a)
MATLAB Builder JA Version 2.3.1 (R2014a)
MATLAB Coder Version 2.6 (R2014a)
MATLAB Compiler Version 5.1 (R2014a)
MATLAB Report Generator Version 3.16 (R2014a)
Mapping Toolbox Version 4.0.1 (R2014a)
Model Predictive Control Toolbox Version 4.2 (R2014a)
Neural Network Toolbox Version 8.2 (R2014a)
Optimization Toolbox Version 7.0 (R2014a)
Parallel Computing Toolbox Version 6.4 (R2014a)
Partial Differential Equation Toolbox Version 1.4 (R2014a)
RF Toolbox Version 2.14 (R2014a)
Robust Control Toolbox Version 5.1 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
SimBiology Version 5.0 (R2014a)
SimDriveline Version 2.6 (R2014a)
SimElectronics Version 2.5 (R2014a)
SimEvents Version 4.3.2 (R2014a)
SimHydraulics Version 1.14 (R2014a)
SimMechanics Version 4.4 (R2014a)
SimPowerSystems Version 6.1 (R2014a)
Simscape Version 3.11 (R2014a)
Simulink 3D Animation Version 7.1 (R2014a)
Simulink Coder Version 8.6 (R2014a)
Simulink Control Design Version 4.0 (R2014a)
Simulink Design Optimization Version 2.5 (R2014a)
Simulink Report Generator Version 3.16 (R2014a)
Simulink Verification and Validation Version 3.7 (R2014a)
Stateflow Version 8.3 (R2014a)
Statistics Toolbox Version 9.0 (R2014a)
Symbolic Math Toolbox Version 6.0 (R2014a)
System Identification Toolbox Version 9.0 (R2014a)
Wavelet Toolbox Version 4.13 (R2014a)
sudo ln -s /Applications/MATLAB_R2014a.app/bin/matlab /usr/bin
Thank you for your help,
Is there a bug tracking page I should add this request to?
Bye
Robert Katzschmann
The text was updated successfully, but these errors were encountered: