Debugging mex files from multiple source Files

2 次查看(过去 30 天)
Hello, I am trying to compile and debug a mex function, which consists of multiple .cpp source files.
At the moment I debugg my mex functions with XCode on my Mac and it is working as expected for functions with only one source file. But as soon as I use multiple Files and the -g option
mex -v -g mex/perform_front_propagation_mesh.cpp mex/gw/gw_core/GW_Config.cpp mex/gw/gw_core/GW_FaceIterator.cpp mex/gw/gw_core/GW_SmartCounter.cpp mex/gw/gw_core/GW_VertexIterator.cpp mex/gw/gw_core/GW_Face.cpp mex/gw/gw_core/GW_Mesh.cpp mex/gw/gw_core/GW_Vertex.cpp mex/gw/gw_geodesic/GW_GeodesicFace.cpp mex/gw/gw_geodesic/GW_GeodesicMesh.cpp mex/gw/gw_geodesic/GW_GeodesicPath.cpp mex/gw/gw_geodesic/GW_GeodesicPoint.cpp mex/gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp mex/gw/gw_geodesic/GW_GeodesicVertex.cpp mex/gw/gw_geodesic/GW_TriangularInterpolation_Linear.cpp mex/gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp
No breakpoint is hit in XCode (The functions i want to compile with debug information are from the Fast Marching Toolbox Fast Marching)
Am I missing something in compiling the mex file?
the compiler output is:
Verbose mode is on.
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:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
... Looking for compiler 'Xcode Clang++' ...
... Looking for environment variable 'DEVELOPER_DIR' ...No.
... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer').
... Looking for folder '/Applications/Xcode.app/Contents/Developer' ...Yes.
... Executing command 'which xcrun' ...Yes ('/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun').
... Looking for folder '/Applications/Xcode.app/Contents/Developer/usr/bin' ...Yes.
... Executing command 'defaults read com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...No.
... Executing command 'defaults read /Library/Preferences/com.apple.dt.Xcode IDEXcodeVersionForAgreedToGMLicense' ...Yes ('7.2').
... Executing command '
agreed=7.2
if echo $agreed | grep -E '[\.\"]' >/dev/null; then
lhs=`expr "$agreed" : '\([0-9]*\)[\.].*'`
rhs=`expr "$agreed" : '[0-9]*[\.]\(.*\)$'`
if echo $rhs | grep -E '[\."]' >/dev/null; then
rhs=`expr "$rhs" : '\([0-9]*\)[\.].*'`
fi
if [ $lhs -gt 4 ] || ( [ $lhs -eq 4 ] && [ $rhs -ge 3 ] ); then
echo $agreed
else
exit 1
fi
fi' ...Yes ('7.2').
... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer').
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...No.
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk' ...No.
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk' ...Yes.
... Executing command 'xcode-select -print-path' ...Yes ('/Applications/Xcode.app/Contents/Developer').
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' ...No.
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk' ...No.
... Looking for folder '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk' ...Yes.
... Executing command 'echo /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk | rev | cut -c1-10 | rev | egrep -oh '[0-9]+\.[0-9]+'' ...Yes ('10.11').
Found installed compiler 'Xcode Clang++'.
Options file details
-------------------------------------------------------------------
Compiler location: /Applications/Xcode.app/Contents/Developer
Options file: /Users/steaff/.matlab/R2015b/mex_C++_maci64.xml
CMDLINE200 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.11 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -framework Cocoa -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map" -stdlib=libc++ -g -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map" perform_front_propagation_mesh.o GW_Config.o GW_FaceIterator.o GW_SmartCounter.o GW_VertexIterator.o GW_Face.o GW_Mesh.o GW_Vertex.o GW_GeodesicFace.o GW_GeodesicMesh.o GW_GeodesicPath.o GW_GeodesicPoint.o GW_TriangularInterpolation_Cubic.o GW_GeodesicVertex.o GW_TriangularInterpolation_Linear.o GW_TriangularInterpolation_Quadratic.o -L"/Applications/MATLAB_R2015b.app/bin/maci64" -lmx -lmex -lmat -o perform_front_propagation_mesh.mexmaci64
CXX : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++
DEFINES : -DMX_COMPAT_32 -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CXXFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++
INCLUDE : -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include"
CXXOPTIMFLAGS : -O2 -DNDEBUG
CXXDEBUGFLAGS : -g
LDXX : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++
LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.11 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -framework Cocoa -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map" -stdlib=libc++
LDBUNDLE : -bundle
LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map"
LINKLIBS : -L"/Applications/MATLAB_R2015b.app/bin/maci64" -lmx -lmex -lmat
LDOPTIMFLAGS : -O
LDDEBUGFLAGS : -g
OBJEXT : .o
LDEXT : .mexmaci64
DEVELOPER_DIR_CHECK :
XCODE_DIR : /Applications/Xcode.app/Contents/Developer
XCRUN_DIR : /Applications/Xcode.app/Contents/Developer/usr/bin
XCODE_AGREED_VERSION : 7.2
ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
SDKVER : 10.11
MATLABROOT : /Applications/MATLAB_R2015b.app
ARCH : maci64
SRC : "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/perform_front_propagation_mesh.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Config.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_FaceIterator.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_SmartCounter.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_VertexIterator.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Face.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Mesh.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Vertex.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPath.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPoint.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicVertex.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Linear.cpp";"/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp"
OBJ : perform_front_propagation_mesh.o;GW_Config.o;GW_FaceIterator.o;GW_SmartCounter.o;GW_VertexIterator.o;GW_Face.o;GW_Mesh.o;GW_Vertex.o;GW_GeodesicFace.o;GW_GeodesicMesh.o;GW_GeodesicPath.o;GW_GeodesicPoint.o;GW_TriangularInterpolation_Cubic.o;GW_GeodesicVertex.o;GW_TriangularInterpolation_Linear.o;GW_TriangularInterpolation_Quadratic.o
OBJS : perform_front_propagation_mesh.o GW_Config.o GW_FaceIterator.o GW_SmartCounter.o GW_VertexIterator.o GW_Face.o GW_Mesh.o GW_Vertex.o GW_GeodesicFace.o GW_GeodesicMesh.o GW_GeodesicPath.o GW_GeodesicPoint.o GW_TriangularInterpolation_Cubic.o GW_GeodesicVertex.o GW_TriangularInterpolation_Linear.o GW_TriangularInterpolation_Quadratic.o
SRCROOT : /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/perform_front_propagation_mesh
DEF : /var/folders/71/gqzv1qws7y130bk718qn44rw0000gn/T//mex_8459757156696_1370/perform_front_propagation_mesh.def
EXP : perform_front_propagation_mesh.exp
LIB : perform_front_propagation_mesh.lib
EXE : perform_front_propagation_mesh.mexmaci64
ILK : perform_front_propagation_mesh.ilk
MANIFEST : perform_front_propagation_mesh.mexmaci64.manifest
TEMPNAME : perform_front_propagation_mesh
EXEDIR :
EXENAME : perform_front_propagation_mesh
OPTIM : -g
LINKOPTIM : -g
CMDLINE100_0 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/perform_front_propagation_mesh.cpp" -o perform_front_propagation_mesh.o
CMDLINE100_1 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Config.cpp" -o GW_Config.o
CMDLINE100_2 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_FaceIterator.cpp" -o GW_FaceIterator.o
CMDLINE100_3 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_SmartCounter.cpp" -o GW_SmartCounter.o
CMDLINE100_4 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_VertexIterator.cpp" -o GW_VertexIterator.o
CMDLINE100_5 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Face.cpp" -o GW_Face.o
CMDLINE100_6 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Mesh.cpp" -o GW_Mesh.o
CMDLINE100_7 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Vertex.cpp" -o GW_Vertex.o
CMDLINE100_8 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp" -o GW_GeodesicFace.o
CMDLINE100_9 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.cpp" -o GW_GeodesicMesh.o
CMDLINE100_10 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPath.cpp" -o GW_GeodesicPath.o
CMDLINE100_11 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPoint.cpp" -o GW_GeodesicPoint.o
CMDLINE100_12 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp" -o GW_TriangularInterpolation_Cubic.o
CMDLINE100_13 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicVertex.cpp" -o GW_GeodesicVertex.o
CMDLINE100_14 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Linear.cpp" -o GW_TriangularInterpolation_Linear.o
CMDLINE100_15 : /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp" -o GW_TriangularInterpolation_Quadratic.o
CMDLINE300_0 : rm -f perform_front_propagation_mesh.o
CMDLINE300_1 : rm -f GW_Config.o
CMDLINE300_2 : rm -f GW_FaceIterator.o
CMDLINE300_3 : rm -f GW_SmartCounter.o
CMDLINE300_4 : rm -f GW_VertexIterator.o
CMDLINE300_5 : rm -f GW_Face.o
CMDLINE300_6 : rm -f GW_Mesh.o
CMDLINE300_7 : rm -f GW_Vertex.o
CMDLINE300_8 : rm -f GW_GeodesicFace.o
CMDLINE300_9 : rm -f GW_GeodesicMesh.o
CMDLINE300_10 : rm -f GW_GeodesicPath.o
CMDLINE300_11 : rm -f GW_GeodesicPoint.o
CMDLINE300_12 : rm -f GW_TriangularInterpolation_Cubic.o
CMDLINE300_13 : rm -f GW_GeodesicVertex.o
CMDLINE300_14 : rm -f GW_TriangularInterpolation_Linear.o
CMDLINE300_15 : rm -f GW_TriangularInterpolation_Quadratic.o
-------------------------------------------------------------------
Building with 'Xcode Clang++'.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/perform_front_propagation_mesh.cpp" -o perform_front_propagation_mesh.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/perform_front_propagation_mesh.cpp:36:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.h:20:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Config.cpp" -o GW_Config.o
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Config.cpp:29:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf( GW_OutputStream, str2.c_str() );
^~~~~~~~~~~~
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPath.cpp" -o GW_GeodesicPath.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPath.cpp:16:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPath.h:18:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.h:20:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPoint.cpp" -o GW_GeodesicPoint.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicPoint.cpp:17:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp" -o GW_TriangularInterpolation_Cubic.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp:17:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicVertex.cpp" -o GW_GeodesicVertex.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Linear.cpp" -o GW_TriangularInterpolation_Linear.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp" -o GW_TriangularInterpolation_Quadratic.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp:17:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_FaceIterator.cpp" -o GW_FaceIterator.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_SmartCounter.cpp" -o GW_SmartCounter.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_VertexIterator.cpp" -o GW_VertexIterator.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Face.cpp" -o GW_Face.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Mesh.cpp" -o GW_Mesh.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_core/GW_Vertex.cpp" -o GW_Vertex.o
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp" -o GW_GeodesicFace.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp:16:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp:53:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.cpp:71:3: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
3 warnings generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -c -DMX_COMPAT_32 -DMATLAB_MEX_FILE -I"/Applications/MATLAB_R2015b.app/extern/include" -I"/Applications/MATLAB_R2015b.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.11 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.cpp" -o GW_GeodesicMesh.o
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.cpp:16:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicMesh.h:20:
In file included from /Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.h:62:
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/GW_GeodesicFace.inl:76:2: warning: delete called on 'GW::GW_TriangularInterpolation_ABC' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
GW_DELETE( pTriangularInterpolation_ );
^
/Volumes/Superslow/steffen/Documents/MATLAB/Add-Ons/Collections/Toolbox Fast Marching/code/toolbox_fast_marching/mex/gw/gw_geodesic/../gw_core/../gw_maths/GW_MathsConfig.h:189:36: note: expanded from macro 'GW_DELETE'
#define GW_DELETE(p) {if (p!=NULL) delete p; p=NULL;}
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun -sdk macosx10.11 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.11 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -framework Cocoa -bundle -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map" -stdlib=libc++ -g -Wl,-exported_symbols_list,"/Applications/MATLAB_R2015b.app/extern/lib/maci64/mexFunction.map" perform_front_propagation_mesh.o GW_Config.o GW_FaceIterator.o GW_SmartCounter.o GW_VertexIterator.o GW_Face.o GW_Mesh.o GW_Vertex.o GW_GeodesicFace.o GW_GeodesicMesh.o GW_GeodesicPath.o GW_GeodesicPoint.o GW_TriangularInterpolation_Cubic.o GW_GeodesicVertex.o GW_TriangularInterpolation_Linear.o GW_TriangularInterpolation_Quadratic.o -L"/Applications/MATLAB_R2015b.app/bin/maci64" -lmx -lmex -lmat -o perform_front_propagation_mesh.mexmaci64
rm -f perform_front_propagation_mesh.o
rm -f GW_Config.o
rm -f GW_GeodesicPath.o
rm -f GW_GeodesicPoint.o
rm -f GW_TriangularInterpolation_Cubic.o
rm -f GW_GeodesicVertex.o
rm -f GW_TriangularInterpolation_Linear.o
rm -f GW_TriangularInterpolation_Quadratic.o
rm -f GW_FaceIterator.o
rm -f GW_SmartCounter.o
rm -f GW_VertexIterator.o
rm -f GW_Face.o
rm -f GW_Mesh.o
rm -f GW_Vertex.o
rm -f GW_GeodesicFace.o
rm -f GW_GeodesicMesh.o
MEX completed successfully.
Does any one have any advice how to solve this Problem and be able to debug the file?
Thx steaff
  1 个评论
Samuel Gingras
Samuel Gingras 2016-12-2
Hi Steaff, I was wondering if you manage to solve this problem ? I have the same kind of issue, no breakpoints are hits in Xcode when the mex file is built from multiple .c source files. Thx Sam

请先登录,再进行评论。

回答(1 个)

Samarth Shah
Samarth Shah 2016-7-15
Hi Steaff,
It is my understanding that you are debugging the MEX files using the documentation here. However, the documentation only shows debugging one yprime.c and its MEX file.
In your case, when you debug a bunch of files using the -g option, the MEX file perform_front_propagation_mesh.mexmaci64 is created.
Now, what you can do best in this scenario is to again go through the documentation listed above, and try to follow the steps mentioned in the XCode, create a new project and import all the files mentioned in your mex command including the MEX file just created.
Create breakpoints in the .cpp files of interest. I do not see why it would not stop at the breakpoints in your .cpp files in your XCode.
I hope this helps. However, you can still reach out to MathWorks Technical Support Team if you are still facing this issue.

类别

Help CenterFile Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by