Error in building C++ shared Library
I am getting this error, when I am building cpp shared library with dlls.
Building with ‘Microsoft Visual C++ 2017’
LINK: fatal error LNK1181: cannot open inputt file ‘gdi32.lib’
Error using compiler.internal.build.builder.Generic/build
The following command:
""C:Program FilesMATLABR2023abinmbuild" -client mbuild -O -output "mwa_Addmatrix" -I".mwa_AddmatrixcppSharedLibrary"
".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.cpp" DEFFILE"="".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.def""" LINKEXPORT"=""/DLL
/def:"$DEFFILE"""" LDEXT"="".dll""" LDTYPE"="" -shared -static""" MTCMDLINE"=""mt -outputresource:$EXE;2 -manifest $MANIFEST""" -outdir
".mwa_AddmatrixcppSharedLibrary""
failed with error code -1.
Error in compiler.build.cppSharedLibrary (line 115)
resultsobj = builder.build;I am getting this error, when I am building cpp shared library with dlls.
Building with ‘Microsoft Visual C++ 2017’
LINK: fatal error LNK1181: cannot open inputt file ‘gdi32.lib’
Error using compiler.internal.build.builder.Generic/build
The following command:
""C:Program FilesMATLABR2023abinmbuild" -client mbuild -O -output "mwa_Addmatrix" -I".mwa_AddmatrixcppSharedLibrary"
".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.cpp" DEFFILE"="".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.def""" LINKEXPORT"=""/DLL
/def:"$DEFFILE"""" LDEXT"="".dll""" LDTYPE"="" -shared -static""" MTCMDLINE"=""mt -outputresource:$EXE;2 -manifest $MANIFEST""" -outdir
".mwa_AddmatrixcppSharedLibrary""
failed with error code -1.
Error in compiler.build.cppSharedLibrary (line 115)
resultsobj = builder.build; I am getting this error, when I am building cpp shared library with dlls.
Building with ‘Microsoft Visual C++ 2017’
LINK: fatal error LNK1181: cannot open inputt file ‘gdi32.lib’
Error using compiler.internal.build.builder.Generic/build
The following command:
""C:Program FilesMATLABR2023abinmbuild" -client mbuild -O -output "mwa_Addmatrix" -I".mwa_AddmatrixcppSharedLibrary"
".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.cpp" DEFFILE"="".mwa_AddmatrixcppSharedLibrarymwa_Addmatrix.def""" LINKEXPORT"=""/DLL
/def:"$DEFFILE"""" LDEXT"="".dll""" LDTYPE"="" -shared -static""" MTCMDLINE"=""mt -outputresource:$EXE;2 -manifest $MANIFEST""" -outdir
".mwa_AddmatrixcppSharedLibrary""
failed with error code -1.
Error in compiler.build.cppSharedLibrary (line 115)
resultsobj = builder.build; cpp shared library, cpp, matlab, dll, compiler, sharedlibrary, library compiler, c++ MATLAB Answers — New Questions