CEF compile at aarch64 cpu error

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF compile at aarch64 cpu error

Postby kernelz » Thu Sep 10, 2020 12:14 am

I compile Linux ARM64 CEF to my nvidia nx board, this board run a ubuntu 18.08(aarch64 core),toolchain is aarch64-linux-gnu-gcc.

the report:
[ 0%] Building CXX object libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o
c++: error: unrecognized command line option ‘-m64’
libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/build.make:62: recipe for target 'libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o' failed
make[2]: *** [libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/shutdown_checker.cc.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/all' failed
make[1]: *** [libcef_dll_wrapper/CMakeFiles/libcef_dll_wrapper.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
kernelz
Newbie
 
Posts: 2
Joined: Thu Sep 10, 2020 12:08 am

Re: CEF compile at aarch64 cpu error

Postby magreenblatt » Thu Sep 10, 2020 9:21 am

The CMake configuration needs to be updated to support ARM compiler definitions. See the use of PROJECT_ARCH in cef_variables.cmake. Please share your changes if you get it working.
magreenblatt
Site Admin
 
Posts: 10556
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: digory, Google [Bot] and 14 guests