Hi, I'm new to the NLopt libraries and am having the following issues.
I have Ubuntu 12.04 with MATLAB 2012 and have reverted to the gcc and g++ 4.4 version compilers as per the output of the mex command in matlab. I have followed the installation instructions as best I can. My configure command: sudo ./configure --enable-shared MEX=/home/connie/MATLAB/R2012b/bin/mex --with-matlab=~/home/connie/MATLAB/R2012b MEX_INSTALL_DIR=~/nlopt-2.3/octave/dir and then make and make install. The only concerning output is: checking for mex... /home/connie/MATLAB/R2012b/bin/mex checking for extension of compiled mex files... mexa64 checking for matlab... no where matlab is not recognized. The only place that I can find the nlopt_optimize.m is in the /octave folder, and all it contains is text. Thus, when I try to run the nlopt_optimize() in that folder, it says I am trying to use a script as a function. I also cannot mex nlopt_optimize.c without having library linking errors, but as configure should do this for me, I am not surprised. the dummy file also gives errors. All of this is still in the octave folder. I feel like there should be a matlab folder since I cam using matlab, but the configure process is not finding it. I have also, after cleaning up the make and make install, tried versions of configure && make and make && make install, with significant errors for each one. Advice much appreciated. Thanks in advance. _______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
