Open Dzirit opened 3 years ago
@Dzirit I cannot say why build fails without error code. I guess there is difference between gcc ubuntu x64 and gcc arm64. It means that default c++ version and some specification of compiler have a lot of things to occur error.
I have this error when building DlibDotNet.Native:
[ 77%] Building CXX object CMakeFiles/DlibDotNetNative.dir/dlib/image_transforms/hough_transform.cpp.o
[ 78%] Building CXX object CMakeFiles/DlibDotNetNative.dir/dlib/image_transforms/image_pyramid.cpp.o
[ 78%] Building CXX object CMakeFiles/DlibDotNetNative.dir/dlib/image_transforms/interpolation.cpp.o
aarch64-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
CMakeFiles/DlibDotNetNative.dir/build.make:1718: recipe for target 'CMakeFiles/DlibDotNetNative.dir/dlib/image_transforms/interpolation.cpp.o' failed
make[2]: *** [CMakeFiles/DlibDotNetNative.dir/dlib/image_transforms/interpolation.cpp.o] Error 4
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/DlibDotNetNative.dir/all' failed
make[1]: *** [CMakeFiles/DlibDotNetNative.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2
It always appears when building interpolation.cpp.o. The same error when building DlibDotNet.Native.DNN:
[ 81%] Building CXX object CMakeFiles/DlibDotNetNativeDnn.dir/dlib/dnn/loss/metric/api.cpp.o
aarch64-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
CMakeFiles/DlibDotNetNativeDnn.dir/build.make:254: recipe for target 'CMakeFiles/DlibDotNetNativeDnn.dir/dlib/dnn/loss/metric/api.cpp.o' failed
make[2]: *** [CMakeFiles/DlibDotNetNativeDnn.dir/dlib/dnn/loss/metric/api.cpp.o] Error 4
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/DlibDotNetNativeDnn.dir/all' failed
make[1]: *** [CMakeFiles/DlibDotNetNativeDnn.dir/all] Error 2
Makefile:105: recipe for target 'all' failed
make: *** [all] Error 2
Thanks anyway. I will carry out my research further
Hi! Thanks for your great work! Could you tell me why do you use DlibDotNet.Native and DlibDotNet.Native.Dnn instead of dlib sources? My dotnet core app works on win x64, ubuntu x64 and now I'm trying to run it on ubuntu arm64. I have some errors when trying to build DlibDotNet.Native and DlibDotNet.Native.Dnn on PC with arm64. But I successfully build dlib source. Maybe I could use Dlibdotnet with dlib source?