projectNe10/Ne10

failed to compile Ne10 with cmake in ubuntu 18.04

abolfazlmaleki9248 opened this issue · 0 comments

i used these commands in linux terminal for Native compilation on *nix platforms
cd $NE10_PATH
mkdir build && cd build
export NE10_LINUX_TARGET_ARCH=aarch64
cmake -DGNULINUX_PLATFORM=ON ..

and Architecture of my cpu is x86_64 (Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
)

finally i faced with this problem:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Target architecture: aarch64
-- Building type: RELEASE
CMake Error at CMakeLists.txt:191 (message):
You are trying to compile for non-ARM (CMAKE_SYSTEM_PROCESSOR='x86_64')!
see doc/building.md for cross compilation instructions.

could you help me to fix this?
thanks