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

make alexa_bin is failed. #3

Open
miaoichi opened this issue Jul 13, 2017 · 3 comments
Open

make alexa_bin is failed. #3

miaoichi opened this issue Jul 13, 2017 · 3 comments

Comments

@miaoichi
Copy link

Follow step 2 to configure avs and step 3 to make.
I got below results. please help on this.

jack@ubuntu:~/WisCore-SDK$ make
cd alexa_bin_dir && cmake /home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs -DCMAKE_TOOLCHAIN_FILE=cmake/mt7628-openwrt-Toolchain.cmake && make ;
cp -av bin/* /home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src;
cp -av lib/* /home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib;
cd ../ && rm alexa_bin_dir -rf
/bin/sh: 1: cmake: not found
cp: cannot stat 'bin/': No such file or directory
cp: cannot stat 'lib/
': No such file or directory
cp -av /home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/* /home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/;
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libavs-full.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libavs-full.so'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libcJSON.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libcJSON.so'
removed '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libfdk-aac.so'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libfdk-aac.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libfdk-aac.so'
removed '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libfdk-aac.so.0'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libfdk-aac.so.0' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libfdk-aac.so.0'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libfdk-aac.so.0.0.2' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libfdk-aac.so.0.0.2'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libnmedia.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libnmedia.so'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/librkaudio.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/librkaudio.so'
'/home/jack/WisCore-SDK/build/..//products/wisAvs/application/rakavs/alexa_demo/lib/libzl380tw.so' -> '/home/jack/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib/libzl380tw.so'

@RAKWireless
Copy link
Collaborator

hi miaoichi:
do you install the cmake tools in your environment? if installed please check the cmake version, if not please install it.

thanks

@miaoichi
Copy link
Author

Hi RAK,
you are right, I don't have cmake in build system. the new coming issue is I still can't build pass after I install cmake 3.5.1. the error message as below:

jack@ubuntu:~/Downloads/WisCore-SDK$ make alexa_bin
cd alexa_bin_dir && cmake /home/jack/Downloads/WisCore-SDK/build/..//products/wisAvs/application/rakavs -DCMAKE_TOOLCHAIN_FILE=cmake/mt7628-openwrt-Toolchain.cmake && make ;
cp -av bin/* /home/jack/Downloads/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src;
cp -av lib/* /home/jack/Downloads/WisCore-SDK/build/..//wiswrt/15.05-rak-rc2/package/utils/wisapps/src/lib;
cd ../ && rm alexa_bin_dir -rf
first not creat root project
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:28 (project):
The CMAKE_C_COMPILER:

/opt/mipsel-openwrt-linux-4.8.3/mipsel-4.8.3.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-gcc

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:28 (project):
The CMAKE_CXX_COMPILER:

/opt/mipsel-openwrt-linux-4.8.3/mipsel-4.8.3.2/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mipsel-openwrt-linux-g++

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!

Do you have any version that recommended?

BTW: I think might need to provide essential packages before you start to build this.
here is my enviornment: brand new system ubuntu 16.04LTS
sudo apt-get install zlib1g-dev
sudo apt-get install libssl-dev
sudo apt-get install subversion
sudo apt-get install gawk

Please add them into your wiki then.

@RAKWireless
Copy link
Collaborator

Hi miaoichi:

Thanks for your advice, our environment depends on "Openwrt", so before compile, you need install some libs & tools. please refer to this: https://wiki.openwrt.org/doc/howto/buildroot.exigence
And we will add these guide in our github

Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant