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

Compile for target 'UnitTests' failed #36

Closed
mike2ning opened this issue Jul 7, 2018 · 1 comment
Closed

Compile for target 'UnitTests' failed #36

mike2ning opened this issue Jul 7, 2018 · 1 comment
Labels
Duplicate This issue or pull request already exists

Comments

@mike2ning
Copy link

Dear MatthewARM,
My hardware platform info as below:
i.Mx6, Dual Cortex®-A9 core, GPU, 1G DDR3, 4G EMMC.
1,That is ok to support ARM-NN to run on this platform ?

2,I have changed g++-4.9 to g++-5.5 , and compiled arm-nn succeed ,but target 'UnitTests' failed.
my CMakeLists.txt add setup as below:
#add by mike start
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -Wold-style-cast -Wno-missing-braces -Wconversion -Wsign-conversion -pthread")
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(CMAKE_STAGING_PREFIX /home/ning/source/arm_nn/arm_nn_imx6)
set(CMAKE_SYSROOT /opt/tools_chain/sysroot_3.14.52)
set(tools /opt/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf)
set(CMAKE_C_COMPILER ${tools}/bin/arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/arm-linux-gnueabihf-g++)

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)

and cmake configure as below:
cmake -DPROTOBUF_LIBRARY_DEBUG=/home/ning/source/arm_nn/protobuf/lib/libprotobuf.so
DPROTOBUF_LIBRARY_RELEASE=/home/ning/source/arm_nn/protobuf/lib/libprotobuf.so
DARMCOMPUTE_ROOT=/home/ning/source/arm_nn/ComputeLibrary-master
DARMCOMPUTE_BUILD_DIR=/home/ning/source/arm_nn/ComputeLibrary-master/build
DBOOST_ROOT=/home/ning/source/arm_nn/boost_1_64_0
DCAFFE_GENERATED_SOURCES=/home/ning/source/arm_nn/caffe
DBUILD_CAFFE_PARSER=1
DARMCOMPUTENEON=1
DARMCOMPUTECL=1 ..

and re-cmake and re-compile , error info as below:

ning@mike:~/source/arm_nn/armnn-master/build$ cmake -DPROTOBUF_LIBRARY_DEBUG=/home/ning/source/arm_nn/protobuf/lib/libprotobuf.so -DPROTOBUF_LIBRARY_RELEASE=/home/ning/source/arm_nn/protobuf/lib/libprotobuf.so -DARMCOMPUTE_ROOT=/home/ning/source/arm_nn/ComputeLibrary-master -DARMCOMPUTE_BUILD_DIR=/home/ning/source/arm_nn/ComputeLibrary-master/build -DBOOST_ROOT=/home/ning/source/arm_nn/boost -DCAFFE_GENERATED_SOURCES=/home/ning/source/arm_nn/caffe -DBUILD_CAFFE_PARSER=1 -DARMCOMPUTENEON=1 -DARMCOMPUTECL=1 ..
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- unit_test_framework
-- system
-- filesystem
-- log
-- program_options
-- date_time
-- log_setup
-- thread
-- regex
-- chrono
-- atomic
-- Tensorflow parser support is disabled
-- Configuring done
CMake Error at cmake/Utils.cmake:41 (add_library):
Cannot find source file:

/home/ning/source/arm_nn/caffe/caffe/proto/caffe.pb.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:77 (add_library_ex)

-- Generating done
-- Build files have been written to: /home/ning/source/arm_nn/armnn-master
ning@mike:/source/arm_nn/armnn-master/build$
ning@mike:/source/arm_nn/armnn-master/build$
ning@mike:~/source/arm_nn/armnn-master/build$ make -j6
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- unit_test_framework
-- system
-- filesystem
-- log
-- program_options
-- date_time
-- log_setup
-- thread
-- regex
-- chrono
-- atomic
-- Tensorflow parser support is disabled
-- Configuring done
CMake Error at cmake/Utils.cmake:41 (add_library):
Cannot find source file:

/home/ning/source/arm_nn/caffe/caffe/proto/caffe.pb.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
CMakeLists.txt:77 (add_library_ex)

-- Generating done
-- Build files have been written to: /home/ning/source/arm_nn/armnn-master/build
Makefile:5800: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
ning@mike:~/source/arm_nn/armnn-master/build$ make -j6
[ 1%] Building CXX object CMakeFiles/armnnUtils.dir/src/armnnUtils/LeakChecking.cpp.o
[ 0%] Building CXX object CMakeFiles/armnnUtils.dir/src/armnnUtils/HeapProfiling.cpp.o
[ 1%] Building CXX object CMakeFiles/armnnUtils.dir/src/armnnUtils/Permute.cpp.o
[ 3%] Building CXX object CMakeFiles/armnnUtils.dir/src/armnnUtils/Logging.cpp.o
[ 3%] Building CXX object CMakeFiles/armnnUtils.dir/src/armnnUtils/DotSerializer.cpp.o
[ 4%] Linking CXX static library libarmnnUtils.a
[ 4%] Built target armnnUtils
[ 5%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClContextControl.cpp.o
[ 5%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClLayerSupport.cpp.o
[ 5%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloadFactory.cpp.o
[ 6%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/CpuTensorHandle.cpp.o
[ 6%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloadFactory.cpp.o
[ 7%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefLayerSupport.cpp.o
[ 8%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloadFactory.cpp.o
[ 8%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonLayerSupport.cpp.o
[ 9%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/WorkloadData.cpp.o
[ 9%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/WorkloadFactory.cpp.o
[ 10%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/AclBaseMemoryManager.cpp.o
[ 10%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/MemCopyWorkload.cpp.o
[ 11%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Broadcast.cpp.o
[ 11%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefMergerUint8Workload.cpp.o
[ 12%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefResizeBilinearUint8Workload.cpp.o
[ 12%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/FullyConnected.cpp.o
[ 13%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefFullyConnectedFloat32Workload.cpp.o
[ 13%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefSoftmaxFloat32Workload.cpp.o
[ 14%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefActivationFloat32Workload.cpp.o
[ 14%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefBatchNormalizationUint8Workload.cpp.o
[ 15%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Multiplication.cpp.o
[ 15%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefMultiplicationUint8Workload.cpp.o
[ 16%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefBaseConstantWorkload.cpp.o
[ 17%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefAdditionUint8Workload.cpp.o
[ 17%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefResizeBilinearFloat32Workload.cpp.o
[ 18%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefBatchNormalizationFloat32Workload.cpp.o
[ 18%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Addition.cpp.o
[ 19%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefFakeQuantizationFloat32Workload.cpp.o
[ 19%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/ResizeBilinear.cpp.o
[ 20%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefSoftmaxUint8Workload.cpp.o
[ 20%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefDepthwiseConvolution2dFloat32Workload.cpp.o
[ 21%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefPooling2dUint8Workload.cpp.o
[ 21%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefFloorFloat32Workload.cpp.o
[ 22%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/ConvImpl.cpp.o
[ 22%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Activation.cpp.o
[ 23%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefReshapeUint8Workload.cpp.o
[ 23%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefL2NormalizationFloat32Workload.cpp.o
[ 24%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefConvolution2dFloat32Workload.cpp.o
[ 24%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefConvolution2dUint8Workload.cpp.o
[ 25%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefSplitterFloat32Workload.cpp.o
[ 26%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefActivationUint8Workload.cpp.o
[ 26%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefSplitterUint8Workload.cpp.o
[ 27%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefPooling2dFloat32Workload.cpp.o
[ 27%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefMultiplicationFloat32Workload.cpp.o
[ 28%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefReshapeFloat32Workload.cpp.o
[ 28%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefNormalizationFloat32Workload.cpp.o
[ 29%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Softmax.cpp.o
[ 29%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefDepthwiseConvolution2dUint8Workload.cpp.o
[ 30%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefConstantUint8Workload.cpp.o
[ 30%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefConstantFloat32Workload.cpp.o
[ 31%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/Pooling2d.cpp.o
[ 31%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefAdditionFloat32Workload.cpp.o
[ 32%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefMergerFloat32Workload.cpp.o
[ 32%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefFullyConnectedUint8Workload.cpp.o
[ 33%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/RefWorkloads/RefPermuteWorkload.cpp.o
[ 33%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/ActivationLayer.cpp.o
[ 34%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/AdditionLayer.cpp.o
[ 35%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/BatchNormalizationLayer.cpp.o
[ 35%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/ConstantLayer.cpp.o
[ 36%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/Convolution2dLayer.cpp.o
[ 36%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/DepthwiseConvolution2dLayer.cpp.o
[ 37%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/FakeQuantizationLayer.cpp.o
[ 37%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/FloorLayer.cpp.o
[ 38%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/FullyConnectedLayer.cpp.o
[ 38%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/InputLayer.cpp.o
[ 39%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/L2NormalizationLayer.cpp.o
[ 39%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/MemCopyLayer.cpp.o
[ 40%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/MergerLayer.cpp.o
[ 40%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/MultiplicationLayer.cpp.o
[ 41%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/NormalizationLayer.cpp.o
[ 41%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/OutputLayer.cpp.o
[ 42%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/PermuteLayer.cpp.o
[ 42%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/Pooling2dLayer.cpp.o
[ 43%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/ReshapeLayer.cpp.o
[ 44%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/ResizeBilinearLayer.cpp.o
[ 44%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/SoftmaxLayer.cpp.o
[ 45%] Building CXX object CMakeFiles/armnn.dir/src/armnn/layers/SplitterLayer.cpp.o
[ 45%] Building CXX object CMakeFiles/armnn.dir/src/armnn/InternalTypes.cpp.o
[ 46%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Layer.cpp.o
[ 46%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Runtime.cpp.o
[ 47%] Building CXX object CMakeFiles/armnn.dir/src/armnn/SerializeLayerParameters.cpp.o
[ 47%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Descriptors.cpp.o
[ 48%] Building CXX object CMakeFiles/armnn.dir/src/armnn/LoadedNetwork.cpp.o
[ 48%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Exceptions.cpp.o
[ 49%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Graph.cpp.o
[ 49%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Network.cpp.o
[ 50%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/OutputHandler.cpp.o
[ 50%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Profiling.cpp.o
[ 51%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Tensor.cpp.o
[ 51%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Utils.cpp.o
[ 52%] Building CXX object CMakeFiles/armnn.dir/src/armnn/LayerSupport.cpp.o
[ 53%] Building CXX object CMakeFiles/armnn.dir/src/armnn/Optimizer.cpp.o
[ 53%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonActivationFloat32Workload.cpp.o
[ 54%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonActivationUint8Workload.cpp.o
[ 54%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonAdditionFloat32Workload.cpp.o
[ 55%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonBatchNormalizationFloat32Workload.cpp.o
[ 55%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonConstantFloat32Workload.cpp.o
[ 56%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonConstantUint8Workload.cpp.o
[ 56%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonConvolution2dBaseWorkload.cpp.o
[ 57%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonConvolution2dFloat32Workload.cpp.o
[ 57%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonConvolution2dUint8Workload.cpp.o
[ 58%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonDepthwiseConvolutionFloat32Workload.cpp.o
[ 58%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonDepthwiseConvolutionUint8Workload.cpp.o
[ 59%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonFloorFloat32Workload.cpp.o
[ 59%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonFullyConnectedFloat32Workload.cpp.o
[ 60%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonL2NormalizationFloat32Workload.cpp.o
[ 60%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonMergerFloat32Workload.cpp.o
[ 61%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonMergerUint8Workload.cpp.o
[ 61%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonNormalizationFloat32Workload.cpp.o
[ 62%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonMultiplicationFloat32Workload.cpp.o
[ 63%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonPermuteWorkload.cpp.o
[ 63%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonPooling2dBaseWorkload.cpp.o
[ 64%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonPooling2dFloat32Workload.cpp.o
[ 64%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonPooling2dUint8Workload.cpp.o
[ 65%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonReshapeFloat32Workload.cpp.o
[ 65%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonReshapeUint8Workload.cpp.o
[ 66%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonSoftmaxFloat32Workload.cpp.o
[ 66%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonSoftmaxUint8Workload.cpp.o
[ 67%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonSplitterFloat32Workload.cpp.o
[ 67%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloads/NeonSplitterUint8Workload.cpp.o
[ 68%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/NeonWorkloadUtils.cpp.o
[ 68%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClActivationFloat32Workload.cpp.o
[ 69%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClActivationUint8Workload.cpp.o
[ 69%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClAdditionFloat32Workload.cpp.o
[ 70%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClBaseConstantWorkload.cpp.o
[ 71%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClBatchNormalizationFloat32Workload.cpp.o
[ 71%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClConstantFloat32Workload.cpp.o
[ 72%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClConstantUint8Workload.cpp.o
[ 72%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClConvolution2dBaseWorkload.cpp.o
[ 73%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClConvolution2dFloat32Workload.cpp.o
[ 73%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClConvolution2dUint8Workload.cpp.o
[ 74%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClDepthwiseConvolutionFloat32Workload.cpp.o
[ 74%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClDepthwiseConvolutionUint8Workload.cpp.o
[ 75%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClFloorFloat32Workload.cpp.o
[ 75%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClFullyConnectedFloat32Workload.cpp.o
[ 76%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClL2NormalizationFloat32Workload.cpp.o
[ 76%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClMergerFloat32Workload.cpp.o
[ 77%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClMergerUint8Workload.cpp.o
[ 77%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClMultiplicationFloat32Workload.cpp.o
[ 78%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClNormalizationFloat32Workload.cpp.o
[ 78%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClPermuteWorkload.cpp.o
[ 79%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClPooling2dBaseWorkload.cpp.o
[ 80%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClPooling2dFloat32Workload.cpp.o
[ 80%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClPooling2dUint8Workload.cpp.o
[ 81%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClReshapeFloat32Workload.cpp.o
[ 81%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClReshapeUint8Workload.cpp.o
[ 82%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClResizeBilinearFloat32Workload.cpp.o
[ 82%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClSoftmaxFloat32Workload.cpp.o
[ 83%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClSoftmaxUint8Workload.cpp.o
[ 83%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClSplitterFloat32Workload.cpp.o
[ 84%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ClWorkloads/ClSplitterUint8Workload.cpp.o
[ 84%] Building CXX object CMakeFiles/armnn.dir/src/armnn/backends/ArmComputeTensorUtils.cpp.o
[ 85%] Linking CXX shared library libarmnn.so
[ 85%] Built target armnn
[ 85%] Linking CXX shared library libarmnnCaffeParser.so
[ 85%] Built target armnnCaffeParser
[ 85%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/UnitTests.cpp.o
[ 86%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/EndToEndTest.cpp.o
[ 87%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/GraphTests.cpp.o
[ 88%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/RuntimeTests.cpp.o
[ 88%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/OptimizerTests.cpp.o
[ 88%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/UtilsTests.cpp.o
[ 88%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/TensorTest.cpp.o
[ 89%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/test/Network_test.cpp.o
[ 89%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/IsLayerSupportedTest.cpp.o
[ 90%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/Reference.cpp.o
[ 90%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/WorkloadDataValidation.cpp.o
[ 91%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/TensorCopyUtils.cpp.o
[ 91%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/LayerTests.cpp.o
[ 92%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/CreateWorkloadRef.cpp.o
[ 92%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/ArmComputeNeon.cpp.o
[ 93%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/CreateWorkloadNeon.cpp.o
[ 93%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/ArmComputeCl.cpp.o
[ 94%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/CreateWorkloadCl.cpp.o
[ 95%] Building CXX object CMakeFiles/UnitTests.dir/src/armnn/backends/test/MemCopyTests.cpp.o
[ 95%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestAdd.cpp.o
[ 96%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestConcat.cpp.o
[ 96%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestDropout.cpp.o
[ 97%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestInputs.cpp.o
[ 97%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestMul.cpp.o
[ 98%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestPooling2d.cpp.o
[ 98%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestInPlace.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestMultiInputsOutputs.cpp.o
[ 99%] Building CXX object CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestSplit.cpp.o
[100%] Linking CXX executable UnitTests
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestInputs.cpp.o: In function CaffeParser::InputShapes::test_method()': TestInputs.cpp:(.text+0x538): undefined reference toarmnnCaffeParser::ICaffeParser::Create()'
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestInPlace.cpp.o: In function CaffeParser::ParseInPlace_invoker()': TestInPlace.cpp:(.text+0x2ec): undefined reference toarmnnCaffeParser::ICaffeParser::Create()'
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestInPlace.cpp.o: In function CaffeParser::InPlaceOutput_invoker()': TestInPlace.cpp:(.text+0x142c): undefined reference toarmnnCaffeParser::ICaffeParser::Create()'
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestMultiInputsOutputs.cpp.o: In function CaffeParser::MultiInputsOutputs_invoker()': TestMultiInputsOutputs.cpp:(.text+0x838): undefined reference toarmnnCaffeParser::ICaffeParser::Create()'
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestSplit.cpp.o: In function CaffeParser::Split_invoker()': TestSplit.cpp:(.text+0x2ec): undefined reference toarmnnCaffeParser::ICaffeParser::Create()'
CMakeFiles/UnitTests.dir/src/armnnCaffeParser/test/TestAdd.cpp.o:TestAdd.cpp:(.text+0x364): more undefined references to `armnnCaffeParser::ICaffeParser::Create()' follow
collect2: error: ld returned 1 exit status
CMakeFiles/UnitTests.dir/build.make:809: recipe for target 'UnitTests' failed
make[2]: *** [UnitTests] Error 1
CMakeFiles/Makefile2:144: recipe for target 'CMakeFiles/UnitTests.dir/all' failed
make[1]: *** [CMakeFiles/UnitTests.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

thank you very much !

@Surmeh
Copy link
Contributor

Surmeh commented Jul 9, 2018

Duplicate of #29

@Surmeh Surmeh marked this as a duplicate of #29 Jul 9, 2018
@Surmeh Surmeh closed this as completed Jul 9, 2018
@Surmeh Surmeh added the Duplicate This issue or pull request already exists label Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants