Skip to content
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

macOS support/Help compiling #11

Open
juhannc opened this issue Apr 16, 2021 · 0 comments
Open

macOS support/Help compiling #11

juhannc opened this issue Apr 16, 2021 · 0 comments

Comments

@juhannc
Copy link

juhannc commented Apr 16, 2021

Hello everyone,

I understand that macOS is currently not supported.
Yet it is my main developing platform and I'm eager to get MATLAB Kortex working.

Now, the compilation does not succeed.
Still, do you have an idea on how to start to get it working?
Any help would be appreciated.

Heres my build log:

spoiler
>> compileKortexMex
Verbose mode is on.
No MEX options file identified; looking for an implicit selection.
... 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 ('/usr/bin/xcrun').
... Looking for folder '/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 ('12.3').
... Executing command '
agreed=12.3 
 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 ('12.3').
... Executing command 'xcrun -sdk macosx --show-sdk-path' ...Yes ('/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk').
... Executing command 'xcrun -sdk macosx --show-sdk-version | awk 'BEGIN {FS="."} ; {print $1"."$2}'' ...Yes ('11.1').
... Executing command 'clang --version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]'|head -1' ...Yes ('12.0.0').
Found installed compiler 'Xcode Clang++'.
Set INCLUDE = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/12.0.0/include;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks;
Options file details
-------------------------------------------------------------------
	Compiler location: /Applications/Xcode.app/Contents/Developer
	Options file: /Applications/MATLAB_R2021a.app/bin/maci64/mexopts/clang++_maci64.xml
	CMDLINE200 : /usr/bin/xcrun -sdk macosx11.1 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.14 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -framework Cocoa -bundle  -stdlib=libc++ -g -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/mexFunction.map" -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/c_exportsmexfileversion.map" -Wl,-U,_mexCreateMexFunction -Wl,-U,_mexDestroyMexFunction -Wl,-U,_mexFunctionAdapter -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/cppMexFunction.map" kortexApiMexInterface.o kortexApiWrapper.o proto_converter.o mexConverter.o cpp_mexapi_version.o   -lSimplifiedApi   -L/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/lib/Release   -L"/Applications/MATLAB_R2021a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2021a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine -o kortexApiMexInterface.mexmaci64
	CC : /usr/bin/xcrun -sdk macosx11.1 clang
	CXX : /usr/bin/xcrun -sdk macosx11.1 clang++
	DEFINES : -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE 
	MATLABMEX : -DMATLAB_MEX_FILE 
	MACOSX_DEPLOYMENT_TARGET : 10.14
	CFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
	CXXFLAGS : -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++
	INCLUDE : -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include"
	CXXOPTIMFLAGS : -O2 -fwrapv -DNDEBUG
	CXXDEBUGFLAGS : -g
	LD : /usr/bin/xcrun -sdk macosx11.1 clang
	LDXX : /usr/bin/xcrun -sdk macosx11.1 clang++
	LDFLAGS : -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.14 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -framework Cocoa -bundle  -stdlib=libc++
	LDBUNDLE : -bundle 
	LINKEXPORT : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/mexFunction.map"
	LINKEXPORTVER : -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/c_exportsmexfileversion.map"
	LINKEXPORTCPP : -Wl,-U,_mexCreateMexFunction -Wl,-U,_mexDestroyMexFunction -Wl,-U,_mexFunctionAdapter -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/cppMexFunction.map"
	LINKLIBS : -lSimplifiedApi   -L/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/lib/Release   -L"/Applications/MATLAB_R2021a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2021a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine
	LDOPTIMFLAGS : -O
	LDDEBUGFLAGS : -g
	OBJEXT : .o
	LDEXT : .mexmaci64
	SETENV : CC="/usr/bin/xcrun -sdk macosx11.1 clang"
                CXX="/usr/bin/xcrun -sdk macosx11.1 clang++"
                CFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE "
                CXXFLAGS="-fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE "
                COPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
                CXXOPTIMFLAGS="-O2 -fwrapv -DNDEBUG"
                CDEBUGFLAGS="-g"
                CXXDEBUGFLAGS="-g"
                LD="/usr/bin/xcrun -sdk macosx11.1 clang"
                LDXX="/usr/bin/xcrun -sdk macosx11.1 clang++"
                LDFLAGS="-Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.14 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -framework Cocoa -bundle  -stdlib=libc++ -lSimplifiedApi   -L/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/lib/Release   -L"/Applications/MATLAB_R2021a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2021a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/mexFunction.map""
                LDDEBUGFLAGS="-g"
	DEVELOPER_DIR_CHECK : 
	XCODE_DIR : /Applications/Xcode.app/Contents/Developer
	XCRUN_DIR : /usr/bin
	XCODE_AGREED_VERSION : 12.3
	ISYSROOT : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
	SDKVER : 11.1
	CLANG_VERSION : 12.0.0
	MATLABROOT : /Applications/MATLAB_R2021a.app
	ARCH : maci64
	SRC : "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiMexInterface.cpp";"/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiWrapper.cpp";"/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/proto_converter.cpp";"/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/mexConverter.cpp";"/Applications/MATLAB_R2021a.app/extern/version/cpp_mexapi_version.cpp"
	OBJ : kortexApiMexInterface.o;kortexApiWrapper.o;proto_converter.o;mexConverter.o;cpp_mexapi_version.o
	OBJS : kortexApiMexInterface.o kortexApiWrapper.o proto_converter.o mexConverter.o cpp_mexapi_version.o 
	SRCROOT : /Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiMexInterface
	DEF : /var/folders/93/lz70m4515f3flzmjd6mpj5n40000gn/T/mex_5204287111772_53153/kortexApiMexInterface.def
	EXP : "kortexApiMexInterface.exp"
	LIB : "kortexApiMexInterface.lib"
	EXE : kortexApiMexInterface.mexmaci64
	ILK : "kortexApiMexInterface.ilk"
	MANIFEST : "kortexApiMexInterface.mexmaci64.manifest"
	TEMPNAME : kortexApiMexInterface
	EXEDIR : 
	EXENAME : kortexApiMexInterface
	COMPFLAGS :  
	OPTIM : -g
	LINKOPTIM : -g
	CMDLINE100_0 : /usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiMexInterface.cpp" -o kortexApiMexInterface.o
	CMDLINE100_1 : /usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiWrapper.cpp" -o kortexApiWrapper.o
	CMDLINE100_2 : /usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/proto_converter.cpp" -o proto_converter.o
	CMDLINE100_3 : /usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/mexConverter.cpp" -o mexConverter.o
	CMDLINE100_4 : /usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Applications/MATLAB_R2021a.app/extern/version/cpp_mexapi_version.cpp" -o cpp_mexapi_version.o
-------------------------------------------------------------------
Building with 'Xcode Clang++'.
/usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiMexInterface.cpp" -o kortexApiMexInterface.o
/usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/kortexApiWrapper.cpp" -o kortexApiWrapper.o
/usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/proto_converter.cpp" -o proto_converter.o
/usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Users/johann/kortex/mex-wrapper/../mex-wrapper/src/mexConverter.cpp" -o mexConverter.o
/usr/bin/xcrun -sdk macosx11.1 clang++ -c -D_OS_UNIX  -DMX_COMPAT_64  -DMATLAB_MEXCMD_RELEASE=R2018a  -DUSE_MEX_CMD   -DMATLAB_MEX_FILE  -I"/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/client_stubs" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/common" -I"/Users/johann/kortex/mex-wrapper/../simplified_api/kortex_api/cpp/linux_gcc_x86-64/include/messages" -I"/Users/johann/kortex/mex-wrapper/../mex-wrapper/include"  -I"/Applications/MATLAB_R2021a.app/extern/include" -I"/Applications/MATLAB_R2021a.app/simulink/include" -fno-common -arch x86_64 -mmacosx-version-min=10.14 -fexceptions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -fobjc-arc -std=c++11 -stdlib=libc++ -g "/Applications/MATLAB_R2021a.app/extern/version/cpp_mexapi_version.cpp" -o cpp_mexapi_version.o
/usr/bin/xcrun -sdk macosx11.1 clang++ -Wl,-twolevel_namespace -undefined error -arch x86_64 -mmacosx-version-min=10.14 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -framework Cocoa -bundle  -stdlib=libc++ -g -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/mexFunction.map" -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/c_exportsmexfileversion.map" -Wl,-U,_mexCreateMexFunction -Wl,-U,_mexDestroyMexFunction -Wl,-U,_mexFunctionAdapter -Wl,-exported_symbols_list,"/Applications/MATLAB_R2021a.app/extern/lib/maci64/cppMexFunction.map" kortexApiMexInterface.o kortexApiWrapper.o proto_converter.o mexConverter.o cpp_mexapi_version.o   -lSimplifiedApi   -L/Users/johann/kortex/mex-wrapper/../simplified_api/install/package/lib/Release   -L"/Applications/MATLAB_R2021a.app/bin/maci64" -lmx -lmex -lmat -L"/Applications/MATLAB_R2021a.app/extern/bin/maci64" -lMatlabDataArray -lMatlabEngine -o kortexApiMexInterface.mexmaci64
Error using mex
ld: warning: ignoring file
/Users/johann/kortex/simplified_api/install/package/lib/Release/libSimplifiedApi.a,
building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63
0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "TrajectoryState::GetState()", referenced from:
      _kapi_GetMovementStatus in kortexApiWrapper.o
  "ArmBaseSimplifiedApi::GetTrajectoryManagerRef()", referenced from:
      _kapi_GetMovementStatus in kortexApiWrapper.o
      _kapi_GetLastError in kortexApiWrapper.o
  "ArmBaseSimplifiedApi::GetApiRef()", referenced from:
      _kapi_CreateRobotApisWrapper in kortexApiWrapper.o
      _kapi_InitVision in kortexApiWrapper.o
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      _kapi_SendJointSpeedCommand in kortexApiWrapper.o
      ...
  "ArmBaseSimplifiedApi::ArmBaseSimplifiedApi(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >
  const&)", referenced from:
      _kapi_CreateRobotApisWrapper in kortexApiWrapper.o
  "ArmBaseSimplifiedApi::~ArmBaseSimplifiedApi()", referenced from:
      std::__1::default_delete<ArmBaseSimplifiedApi>::operator()(ArmBaseSimplifiedApi*) const in kortexApiWrapper.o
  "TrajectoryNotificationManager::GetLastError()", referenced from:
      _kapi_GetLastError in kortexApiWrapper.o
  "TrajectoryNotificationManager::PollTrajectoryStatus()", referenced from:
      _kapi_GetMovementStatus in kortexApiWrapper.o
  "Kinova::Api::BaseCyclic::ActuatorCommand::ActuatorCommand()", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::BaseCyclic::ActuatorCommand>::New(google::protobuf::Arena*) in
      proto_converter.o
  "Kinova::Api::BaseCyclic::BaseCyclicClient::RefreshFeedback(unsigned int, Kinova::Api::RouterClientSendOptions const&)",
  referenced from:
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::Api::BaseCyclic::_BaseFeedback_default_instance_", referenced from:
      Kinova::Api::BaseCyclic::Feedback::base() const in proto_converter.o
  "Kinova::Api::BaseCyclic::Command::Command()", referenced from:
      c_to_proto(ActuatorsCommand*, InterconnectCommand*, unsigned long) in proto_converter.o
  "Kinova::Api::BaseCyclic::Command::~Command()", referenced from:
      c_to_proto(ActuatorsCommand*, InterconnectCommand*, unsigned long) in proto_converter.o
  "Kinova::Api::BaseCyclic::Feedback::Feedback(Kinova::Api::BaseCyclic::Feedback const&)", referenced from:
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::Api::BaseCyclic::Feedback::~Feedback()", referenced from:
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::OptionValue::OptionValue(Kinova::Api::VisionConfig::OptionValue const&)", referenced from:
      _kapi_GetOptionValue in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::OptionValue::OptionValue()", referenced from:
      c_to_proto(OptionValue) in proto_converter.o
  "Kinova::Api::VisionConfig::OptionValue::~OptionValue()", referenced from:
      _kapi_SetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionValue in kortexApiWrapper.o
      c_to_proto(OptionValue) in proto_converter.o
  "Kinova::Api::VisionConfig::RotationMatrix::RotationMatrix()", referenced from:
      Kinova::Api::VisionConfig::ExtrinsicParameters::mutable_rotation() in proto_converter.o
  "Kinova::Api::VisionConfig::SensorSettings::SensorSettings(Kinova::Api::VisionConfig::SensorSettings const&)", referenced from:
      _kapi_GetSensorSettings in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::SensorSettings::SensorSettings()", referenced from:
      c_to_proto(SensorSettings) in proto_converter.o
  "Kinova::Api::VisionConfig::SensorSettings::~SensorSettings()", referenced from:
      _kapi_SetSensorSettings in kortexApiWrapper.o
      _kapi_GetSensorSettings in kortexApiWrapper.o
      c_to_proto(SensorSettings) in proto_converter.o
  "Kinova::Api::VisionConfig::OptionIdentifier::OptionIdentifier()", referenced from:
      _kapi_GetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionInformation in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::OptionIdentifier::~OptionIdentifier()", referenced from:
      _kapi_GetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionInformation in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::SensorIdentifier::SensorIdentifier()", referenced from:
      _kapi_GetSensorSettings in kortexApiWrapper.o
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::SensorIdentifier::~SensorIdentifier()", referenced from:
      _kapi_GetSensorSettings in kortexApiWrapper.o
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::OptionInformation::OptionInformation(Kinova::Api::VisionConfig::OptionInformation const&)",
  referenced from:
      _kapi_GetOptionInformation in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::OptionInformation::~OptionInformation()", referenced from:
      _kapi_GetOptionInformation in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::RotationMatrixRow::RotationMatrixRow()", referenced from:
      Kinova::Api::VisionConfig::RotationMatrix::mutable_row1() in proto_converter.o
      Kinova::Api::VisionConfig::RotationMatrix::mutable_row2() in proto_converter.o
      Kinova::Api::VisionConfig::RotationMatrix::mutable_row3() in proto_converter.o
  "Kinova::Api::VisionConfig::SensorFocusAction::SensorFocusAction()", referenced from:
      c_to_proto(SensorFocusAction) in proto_converter.o
  "Kinova::Api::VisionConfig::SensorFocusAction::~SensorFocusAction()", referenced from:
      _kapi_DoSensorFocusAction in kortexApiWrapper.o
      c_to_proto(SensorFocusAction) in proto_converter.o
  "Kinova::Api::VisionConfig::TranslationVector::TranslationVector()", referenced from:
      Kinova::Api::VisionConfig::ExtrinsicParameters::mutable_translation() in proto_converter.o
  "Kinova::Api::VisionConfig::VisionConfigClient::GetOptionValue(Kinova::Api::VisionConfig::OptionIdentifier const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_GetOptionValue in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::SetOptionValue(Kinova::Api::VisionConfig::OptionValue const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetOptionValue in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::GetSensorSettings(Kinova::Api::VisionConfig::SensorIdentifier const&, unsigned
  int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_GetSensorSettings in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::SetSensorSettings(Kinova::Api::VisionConfig::SensorSettings const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetSensorSettings in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::DoSensorFocusAction(Kinova::Api::VisionConfig::SensorFocusAction const&, unsigned
  int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_DoSensorFocusAction in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::GetOptionInformation(Kinova::Api::VisionConfig::OptionIdentifier const&, unsigned
  int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_GetOptionInformation in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::GetExtrinsicParameters(unsigned int, Kinova::Api::RouterClientSendOptions
  const&)", referenced from:
      _kapi_GetExtrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::GetIntrinsicParameters(Kinova::Api::VisionConfig::SensorIdentifier const&,
  unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::SetExtrinsicParameters(Kinova::Api::VisionConfig::ExtrinsicParameters const&,
  unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetExtrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::VisionConfigClient::SetIntrinsicParameters(Kinova::Api::VisionConfig::IntrinsicParameters const&,
  unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetIntrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::ExtrinsicParameters::ExtrinsicParameters(Kinova::Api::VisionConfig::ExtrinsicParameters const&)",
  referenced from:
      _kapi_GetExtrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::ExtrinsicParameters::ExtrinsicParameters()", referenced from:
      c_to_proto(ExtrinsicParameters) in proto_converter.o
  "Kinova::Api::VisionConfig::ExtrinsicParameters::~ExtrinsicParameters()", referenced from:
      _kapi_GetExtrinsicParameters in kortexApiWrapper.o
      _kapi_SetExtrinsicParameters in kortexApiWrapper.o
      c_to_proto(ExtrinsicParameters) in proto_converter.o
  "Kinova::Api::VisionConfig::IntrinsicParameters::IntrinsicParameters(Kinova::Api::VisionConfig::IntrinsicParameters const&)",
  referenced from:
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
  "Kinova::Api::VisionConfig::IntrinsicParameters::IntrinsicParameters()", referenced from:
      c_to_proto(IntrinsicParameters) in proto_converter.o
  "Kinova::Api::VisionConfig::IntrinsicParameters::~IntrinsicParameters()", referenced from:
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
      _kapi_SetIntrinsicParameters in kortexApiWrapper.o
      c_to_proto(IntrinsicParameters) in proto_converter.o
  "Kinova::Api::VisionConfig::DistortionCoefficients::DistortionCoefficients()", referenced from:
      Kinova::Api::VisionConfig::IntrinsicParameters::mutable_distortion_coeffs() in proto_converter.o
  "Kinova::Api::VisionConfig::_RotationMatrix_default_instance_", referenced from:
      Kinova::Api::VisionConfig::ExtrinsicParameters::rotation() const in proto_converter.o
  "Kinova::Api::VisionConfig::_RotationMatrixRow_default_instance_", referenced from:
      Kinova::Api::VisionConfig::RotationMatrix::row1() const in proto_converter.o
      Kinova::Api::VisionConfig::RotationMatrix::row2() const in proto_converter.o
      Kinova::Api::VisionConfig::RotationMatrix::row3() const in proto_converter.o
  "Kinova::Api::VisionConfig::_TranslationVector_default_instance_", referenced from:
      Kinova::Api::VisionConfig::ExtrinsicParameters::translation() const in proto_converter.o
  "Kinova::Api::VisionConfig::_DistortionCoefficients_default_instance_", referenced from:
      Kinova::Api::VisionConfig::IntrinsicParameters::distortion_coeffs() const in proto_converter.o
  "Kinova::Api::GripperCyclic::_Feedback_default_instance_", referenced from:
      Kinova::Api::InterconnectCyclic::Feedback::gripper_feedback() const in proto_converter.o
  "Kinova::Api::GripperCyclic::_MessageId_default_instance_", referenced from:
      Kinova::Api::GripperCyclic::Feedback::feedback_id() const in proto_converter.o
  "Kinova::Api::InterconnectCyclic::_Feedback_default_instance_", referenced from:
      Kinova::Api::BaseCyclic::Feedback::interconnect() const in proto_converter.o
  "Kinova::Api::InterconnectCyclic::_MessageId_default_instance_", referenced from:
      Kinova::Api::InterconnectCyclic::Feedback::feedback_id() const in proto_converter.o
  "Kinova::Api::SubErrorCodes_descriptor()", referenced from:
      _kapi_GetErrorName in kortexApiWrapper.o
  "Kinova::Api::Base::Admittance::Admittance()", referenced from:
      c_to_proto(AdmittanceMode) in proto_converter.o
  "Kinova::Api::Base::Admittance::~Admittance()", referenced from:
      _kapi_SetAdmittance in kortexApiWrapper.o
      c_to_proto(AdmittanceMode) in proto_converter.o
  "Kinova::Api::Base::BaseClient::StopAction(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_StopAction in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::ClearFaults(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_ClearFaults in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::PauseAction(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_PauseAction in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::ResumeAction(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_ResumeAction in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::ExecuteAction(Kinova::Api::Base::Action const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      _kapi_SendToolCommand in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::SetAdmittance(Kinova::Api::Base::Admittance const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetAdmittance in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::SetServoingMode(Kinova::Api::Base::ServoingModeInformation const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SetServoingMode in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::GetActuatorCount(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::ApplyEmergencyStop(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_ApplyEmergencyStop in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::SendJointSpeedsCommand(Kinova::Api::Base::JointSpeeds const&, unsigned int,
  Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_SendJointSpeedCommand in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::PlayPreComputedJointTrajectory(Kinova::Api::Base::PreComputedJointTrajectory const&, unsigned
  int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_PlayPreComputedTrajectory in kortexApiWrapper.o
  "Kinova::Api::Base::BaseClient::Reboot(unsigned int, Kinova::Api::RouterClientSendOptions const&)", referenced from:
      _kapi_Reboot in kortexApiWrapper.o
  "Kinova::Api::Base::JointAngle::JointAngle()", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointAngle>::New(google::protobuf::Arena*) in
      proto_converter.o
  "Kinova::Api::Base::JointSpeed::JointSpeed()", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointSpeed>::New(google::protobuf::Arena*) in
      proto_converter.o
  "Kinova::Api::Base::JointAngles::JointAngles()", referenced from:
      Kinova::Api::Base::ConstrainedJointAngles::mutable_joint_angles() in proto_converter.o
  "Kinova::Api::Base::JointSpeeds::JointSpeeds()", referenced from:
      c_to_proto(unsigned int, double*, unsigned int) in proto_converter.o
  "Kinova::Api::Base::JointSpeeds::~JointSpeeds()", referenced from:
      _kapi_SendJointSpeedCommand in kortexApiWrapper.o
      c_to_proto(unsigned int, double*, unsigned int) in proto_converter.o
  "Kinova::Api::Base::CartesianSpeed::CartesianSpeed()", referenced from:
      Kinova::Api::Base::CartesianTrajectoryConstraint::mutable_speed() in proto_converter.o
  "Kinova::Api::Base::GripperCommand::GripperCommand()", referenced from:
      Kinova::Api::Base::Action::mutable_send_gripper_command() in proto_converter.o
  "Kinova::Api::Base::ConstrainedPose::ConstrainedPose()", referenced from:
      Kinova::Api::Base::Action::mutable_reach_pose() in proto_converter.o
  "Kinova::Api::Base::ActuatorInformation::ActuatorInformation(Kinova::Api::Base::ActuatorInformation const&)", referenced from:
      _kapi_GetJointCount in kortexApiWrapper.o
  "Kinova::Api::Base::ActuatorInformation::~ActuatorInformation()", referenced from:
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::Api::Base::ConstrainedJointAngles::ConstrainedJointAngles()", referenced from:
      Kinova::Api::Base::Action::mutable_reach_joint_angles() in proto_converter.o
  "Kinova::Api::Base::ServoingModeInformation::ServoingModeInformation()", referenced from:
      c_to_proto(ServoingMode) in proto_converter.o
  "Kinova::Api::Base::ServoingModeInformation::~ServoingModeInformation()", referenced from:
      _kapi_SetServoingMode in kortexApiWrapper.o
      c_to_proto(ServoingMode) in proto_converter.o
  "Kinova::Api::Base::JointTrajectoryConstraint::JointTrajectoryConstraint()", referenced from:
      Kinova::Api::Base::ConstrainedJointAngles::mutable_constraint() in proto_converter.o
  "Kinova::Api::Base::PreComputedJointTrajectory::PreComputedJointTrajectory()", referenced from:
      c_to_proto(int, double*, double*, double*, double*, unsigned int, unsigned int) in proto_converter.o
  "Kinova::Api::Base::PreComputedJointTrajectory::~PreComputedJointTrajectory()", referenced from:
      _kapi_PlayPreComputedTrajectory in kortexApiWrapper.o
      c_to_proto(int, double*, double*, double*, double*, unsigned int, unsigned int) in proto_converter.o
  "Kinova::Api::Base::CartesianTrajectoryConstraint::clear_type()", referenced from:
      Kinova::Api::Base::CartesianTrajectoryConstraint::set_duration(float) in proto_converter.o
      Kinova::Api::Base::CartesianTrajectoryConstraint::mutable_speed() in proto_converter.o
  "Kinova::Api::Base::CartesianTrajectoryConstraint::CartesianTrajectoryConstraint()", referenced from:
      Kinova::Api::Base::ConstrainedPose::mutable_constraint() in proto_converter.o
  "Kinova::Api::Base::PreComputedJointTrajectoryElement::PreComputedJointTrajectoryElement()", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::PreComputedJointTrajectoryElement>::New(google::protobuf::Arena*)
      in proto_converter.o
  "Kinova::Api::Base::Pose::Pose()", referenced from:
      Kinova::Api::Base::ConstrainedPose::mutable_target_pose() in proto_converter.o
  "Kinova::Api::Base::Action::clear_action_parameters()", referenced from:
      Kinova::Api::Base::Action::mutable_reach_pose() in proto_converter.o
      Kinova::Api::Base::Action::mutable_send_gripper_command() in proto_converter.o
      Kinova::Api::Base::Action::mutable_reach_joint_angles() in proto_converter.o
  "Kinova::Api::Base::Action::Action()", referenced from:
      c_to_proto(int, double, double, double, double*, double*) in proto_converter.o
      c_to_proto(int, unsigned int, double*, unsigned int) in proto_converter.o
      c_to_proto(int, double, double, double*, unsigned int) in proto_converter.o
  "Kinova::Api::Base::Action::~Action()", referenced from:
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      _kapi_SendToolCommand in kortexApiWrapper.o
      c_to_proto(int, double, double, double, double*, double*) in proto_converter.o
      c_to_proto(int, unsigned int, double*, unsigned int) in proto_converter.o
      c_to_proto(int, double, double, double*, unsigned int) in proto_converter.o
  "Kinova::Api::Base::Finger::Finger()", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::Finger>::New(google::protobuf::Arena*) in proto_converter.o
  "Kinova::Api::Base::Gripper::Gripper()", referenced from:
      Kinova::Api::Base::GripperCommand::mutable_gripper() in proto_converter.o
  "Kinova::Api::Error::~Error()", referenced from:
      _kapi_CreateRobotApisWrapper in kortexApiWrapper.o
      _kapi_InitVision in kortexApiWrapper.o
      _kapi_DestroyRobotApisWrapper in kortexApiWrapper.o
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      ...
  "Kinova::Api::KError::getError()", referenced from:
      _kapi_CreateRobotApisWrapper in kortexApiWrapper.o
      _kapi_InitVision in kortexApiWrapper.o
      _kapi_DestroyRobotApisWrapper in kortexApiWrapper.o
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      ...
  "Kinova::ApiHelper::ArmBaseApi::InitVision()", referenced from:
      _kapi_CreateRobotApisWrapper in kortexApiWrapper.o
      _kapi_InitVision in kortexApiWrapper.o
  "Kinova::ApiHelper::ArmBaseApi::BaseServices()", referenced from:
      _kapi_GetJointCount in kortexApiWrapper.o
      _kapi_RefreshFeedback in kortexApiWrapper.o
      _kapi_ReachCartesianPose in kortexApiWrapper.o
      _kapi_ReachJointAngles in kortexApiWrapper.o
      _kapi_SendJointSpeedCommand in kortexApiWrapper.o
      _kapi_SendToolCommand in kortexApiWrapper.o
      _kapi_PlayPreComputedTrajectory in kortexApiWrapper.o
      ...
  "Kinova::ApiHelper::ArmBaseApi::HasVisionModule()", referenced from:
      _kapi_SetSensorSettings in kortexApiWrapper.o
      _kapi_GetSensorSettings in kortexApiWrapper.o
      _kapi_SetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionInformation in kortexApiWrapper.o
      _kapi_DoSensorFocusAction in kortexApiWrapper.o
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
      ...
  "Kinova::ApiHelper::ArmBaseApi::GetVisionModuleID()", referenced from:
      _kapi_SetSensorSettings in kortexApiWrapper.o
      _kapi_GetSensorSettings in kortexApiWrapper.o
      _kapi_SetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionInformation in kortexApiWrapper.o
      _kapi_DoSensorFocusAction in kortexApiWrapper.o
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
      ...
  "Kinova::ApiHelper::ArmBaseApi::BaseCyclicServices()", referenced from:
      _kapi_RefreshFeedback in kortexApiWrapper.o
  "Kinova::ApiHelper::ArmBaseApi::VisionConfigServices()", referenced from:
      _kapi_SetSensorSettings in kortexApiWrapper.o
      _kapi_GetSensorSettings in kortexApiWrapper.o
      _kapi_SetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionValue in kortexApiWrapper.o
      _kapi_GetOptionInformation in kortexApiWrapper.o
      _kapi_DoSensorFocusAction in kortexApiWrapper.o
      _kapi_GetIntrinsicParameters in kortexApiWrapper.o
      ...
  "google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)", referenced from:
      google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedField<float>::Reserve(int) in proto_converter.o
  "google::protobuf::internal::LogMessage::~LogMessage()", referenced from:
      google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedField<float>::Reserve(int) in proto_converter.o
  "google::protobuf::internal::LogMessage::operator<<(char const*)", referenced from:
      google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedField<float>::Reserve(int) in proto_converter.o
  "google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)", referenced from:
      google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler::Type const&
      google::protobuf::internal::RepeatedPtrFieldBase::Get<google::protobuf::RepeatedPtrField<Kinova::Api::GripperCyclic::MotorFeedback>::TypeHandler>(int)
      const in proto_converter.o
      google::protobuf::RepeatedField<float>::Reserve(int) in proto_converter.o
  "google::protobuf::internal::RepeatedPtrFieldBase::Reserve(int)", referenced from:
      google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorCommand>::TypeHandler::Type*
      google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorCommand>::TypeHandler>(google::protobuf::RepeatedPtrField<Kinova::Api::BaseCyclic::ActuatorCommand>::TypeHandler::Type*)
      in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::Base::Finger>::TypeHandler::Type*
      google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<Kinova::Api::Base::Finger>::TypeHandler>(google::protobuf::RepeatedPtrField<Kinova::Api::Base::Finger>::TypeHandler::Type*)
      in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointAngle>::TypeHandler::Type*
      google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointAngle>::TypeHandler>(google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointAngle>::TypeHandler::Type*)
      in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointSpeed>::TypeHandler::Type*
      google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointSpeed>::TypeHandler>(google::protobuf::RepeatedPtrField<Kinova::Api::Base::JointSpeed>::TypeHandler::Type*)
      in proto_converter.o
      google::protobuf::RepeatedPtrField<Kinova::Api::Base::PreComputedJointTrajectoryElement>::TypeHandler::Type*
      google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<Kinova::Api::Base::PreComputedJointTrajectoryElement>::TypeHandler>(google::protobuf::RepeatedPtrField<Kinova::Api::Base::PreComputedJointTrajectoryElement>::TypeHandler::Type*)
      in proto_converter.o
  "google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::BaseCyclic::ActuatorCommand>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::Finger>::New(google::protobuf::Arena*) in proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointAngle>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointSpeed>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::PreComputedJointTrajectoryElement>::New(google::protobuf::Arena*)
      in proto_converter.o
      google::protobuf::RepeatedField<float>::Reserve(int) in proto_converter.o
  "google::protobuf::internal::ArenaImpl::AllocateAlignedAndAddCleanup(unsigned long, void (*)(void*))", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::BaseCyclic::ActuatorCommand>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::Finger>::New(google::protobuf::Arena*) in proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointAngle>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointSpeed>::New(google::protobuf::Arena*) in
      proto_converter.o
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::PreComputedJointTrajectoryElement>::New(google::protobuf::Arena*)
      in proto_converter.o
  "google::protobuf::EnumDescriptor::FindValueByNumber(int) const", referenced from:
      _kapi_GetErrorName in kortexApiWrapper.o
  "google::protobuf::Arena::OnArenaAllocation(std::type_info const*, unsigned long) const", referenced from:
      google::protobuf::Arena::AllocHook(std::type_info const*, unsigned long) const in proto_converter.o
  "typeinfo for Kinova::Api::BaseCyclic::ActuatorCommand", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::BaseCyclic::ActuatorCommand>::New(google::protobuf::Arena*) in
      proto_converter.o
  "typeinfo for Kinova::Api::KDetailedException", referenced from:
      GCC_except_table13 in kortexApiWrapper.o
      GCC_except_table29 in kortexApiWrapper.o
      GCC_except_table30 in kortexApiWrapper.o
      GCC_except_table31 in kortexApiWrapper.o
      GCC_except_table32 in kortexApiWrapper.o
      GCC_except_table34 in kortexApiWrapper.o
      GCC_except_table35 in kortexApiWrapper.o
      ...
  "typeinfo for Kinova::Api::Base::JointAngle", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointAngle>::New(google::protobuf::Arena*) in
      proto_converter.o
  "typeinfo for Kinova::Api::Base::JointSpeed", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::JointSpeed>::New(google::protobuf::Arena*) in
      proto_converter.o
  "typeinfo for Kinova::Api::Base::PreComputedJointTrajectoryElement", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::PreComputedJointTrajectoryElement>::New(google::protobuf::Arena*)
      in proto_converter.o
  "typeinfo for Kinova::Api::Base::Finger", referenced from:
      google::protobuf::internal::GenericTypeHandler<Kinova::Api::Base::Finger>::New(google::protobuf::Arena*) in proto_converter.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error in compileKortexMex (line 93)
mex('-v',...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant