Closed Heawen closed 3 years ago
Hi @Heawen, Thanks for reaching out. Can you please paste the steps you used to compile ganak? I tried the following steps and it worked for me.
If you wanna compile the static binary you can use scripts/build_static.sh.
Thanks for your reply.
Thanks for reaching out. Can you please paste the steps you used to compile ganak?
My Steps: I downloaded ganak-master.zip from github, and :
- unzip ganak-master.zip
- cd ganak-master && mkdir build && cd build
- cmake .. Here comes the error report.
I tried
../scripts/build_norm.sh
and ../scripts/build_static.sh
but still, error reports: file failed to open for reading (No such file or directory): *****/ganak-master/build/CMakeFiles/git-data/head-ref
It is built successfully when I clone it from github on Ubuntu. It seems that the ganak.zip downloaded from Windows can't be decompressed and installed directly on Ubuntu.
Hi, I failed to build this with the following log. Can you check this out?
` /ganak-master/build$ cmake -- LIB directory is '' -- BIN directory is '' -- Doing a RelWithDebInfo build -- Compiling for dynamic library use -- build type is RelWithDebInfo -- Performing Test HAVEFLAG-mtune=native -- Performing Test HAVEFLAG-mtune=native - Success '--' -- Performing Test HAVEFLAG-std=c99 -- Performing Test HAVEFLAG-std=c99 - Success CMake Error at build/CMakeFiles/git-data/grabRef.cmake:36 (file): file failed to open for reading (No such file or directory):
''xxxxx''/ganak-master/build/CMakeFiles/git-data/head-ref Call Stack (most recent call first): cmake/GetGitRevisionDescription.cmake:70 (include) CMakeLists.txt:309 (get_git_head_revision)
-- GIT hash found: -- PROJECT_VERSION: 1.0.1 -- PROJECT_VERSION_MAJOR: 1 -- PROJECT_VERSION_MINOR: 0 -- PROJECT_VERSION_PATCH: 1 -- Configuring incomplete, errors occurred!`