Hello to All
I´m trying to install the seagrid mex files in matlab and i do as follows:
>> make_seagrid_mex
Building with 'Microsoft Windows SDK 7.1 (C)'.
MEX completed successfully.
wait for the figure to finish plotting, then hit any key to continue
and a figure is shown (attached file *.jpg), then hit any key to continue
and i get this:
Warning: Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version of MATLAB.
For more information, consult the MEX release notes http://www.mathworks.com/help/matlab/release-notes.html.
> In make_seagrid_mex (line
***************************************************************************
Warning: Neither -compatibleArrayDims nor -largeArrayDims is selected.
Using -compatibleArrayDims. In the future, MATLAB will require
the use of -largeArrayDims and remove the -compatibleArrayDims
option. For more information, see:
http://www.mathworks.com/help/matlab/ma ... t-api.html
****************************************************************************
-> Options file specified on command line
----------------------------------------------------------------
-> Options file = ./mexrectopts.sh
MATLAB =
-> COMPILER = none
-> Compiler flags:
COMPFLAGS =
OPTIMFLAGS =
DEBUGFLAGS =
arguments =
Name switch =
-> Pre-linking commands =
-> LINKER =
-> Link directives:
LINKFLAGS =
LINKDEBUGFLAGS =
LINKFLAGSPOST =
Name directive =
File link directive =
Lib. link directive =
Rsp file indicator =
-> Resource Compiler =
-> Resource Linker =
----------------------------------------------------------------
Error: An options file for MEX was found, but the value for 'COMPILER'
was not set. This could mean that the value is not specified
within the options file, or it could mean that there is a
syntax error within the file.
C:\PROGRA~1\MATLAB\MATLAB~1\R2015A\BIN\MEX.PL: Error: Options file is invalid.
Unable to complete successfully.
Error in make_seagrid_mex (line
mex -f ./mexrectopts.sh -v mexrect.F
Any help will be welcome
Thanks in advance
Leo
poroblem with the seagrid "mex filesconfiguration in matlab
-
- Posts: 106
- Joined: Wed Feb 03, 2010 6:59 pm
- Location: Universidad Autonoma de Baja California Sur
poroblem with the seagrid "mex filesconfiguration in matlab
- Attachments
-
- Mexcompile.jpg (26.53 KiB) Viewed 3827 times
-
- Posts: 106
- Joined: Wed Feb 03, 2010 6:59 pm
- Location: Universidad Autonoma de Baja California Sur
Re: poroblem with the seagrid "mex filesconfiguration in mat
Hello
I looked at my mex.pl file to see what could be wrong written in it and i found this
The problem in here is that i have an Intel(R) Core(TM)i7-2600 proccesor with a 64 bits operative system and not an "AMD64" proccesor as written in the code.
Should that be the problem for compiling?
Thanks in advance
Leo
I looked at my mex.pl file to see what could be wrong written in it and i found this
Code: Select all
use mexsetup;
use mexutils;
require "shellwords.pl"; # Found in $MATLAB/sys/perl/win32/lib
# This is necessary to break up the text in
# the file into shell arguments. This is used
# to support the @<rspfile> argument.
if ( ( $ENV{'PROCESSOR_ARCHITECTURE'} eq "AMD64" ) ||
( $ENV{'PROCESSOR_ARCHITEW6432'} eq "AMD64" ) ) {
if ( -f mexCatfile($main::matlabroot, "bin", "win64", "matlab.exe") ) {
$ARCH = "win64";
} elsif (-f mexCatfile($main::matlabroot, "bin", "win32", "matlab.exe") ) {
$ARCH = "win32";
} else {
$ARCH = "UNKNOWN";
}
} elsif ( $ENV{'PROCESSOR_ARCHITECTURE'} eq "x86" ) {
$ARCH = "win32";
} else {
$ARCH = "UNKNOWN";
}
# Support command line override
if (grep /^-win32$/, @ARGV) {
$ARCH = "win32";
}
$ENV{'ARCH'} = $ARCH;
The problem in here is that i have an Intel(R) Core(TM)i7-2600 proccesor with a 64 bits operative system and not an "AMD64" proccesor as written in the code.
Should that be the problem for compiling?
Thanks in advance
Leo