GITHUB ValyriaTear is ok?

GITHUB ValyriaTear is ok?

Postby eliodilar » 13 Dec 2019, 13:30

Hello, i try to create make ( cmake) ValyriaTear from gitHub and there is some problems.
Is the git is building on ubuntu 18.04?

COrdially
eliodilar
 
Posts: 14
Joined: 09 Dec 2019, 14:10

Re: GITHUB ValyriaTear is ok?

Postby Bertram » 13 Dec 2019, 15:30

Hey,
I don't really know tbh. XD

AFAIK, travis is using Ubuntu, see the .travis.yml file for the build steps.
User avatar
Bertram
VT Moderator
 
Posts: 1652
Joined: 09 Nov 2012, 12:26

Re: GITHUB ValyriaTear is ok?

Postby GunChleoc » 13 Dec 2019, 18:34

It's working on Ubuntu with

{l Code}: {l Select All Code}
cmake . && make

You're probably just missing the submodules as mentioned in the other thread, or a dependency.
User avatar
GunChleoc
 
Posts: 497
Joined: 20 Sep 2012, 22:45

Re: GITHUB ValyriaTear is ok?

Postby eliodilar » 13 Dec 2019, 23:30

thanks i will try it tomorrow
eliodilar
 
Posts: 14
Joined: 09 Dec 2019, 14:10

Re: GITHUB ValyriaTear is ok?

Postby eliodilar » 14 Dec 2019, 20:04

doesn't ok.

what i do :
git clone https://github.com/ValyriaTear/ValyriaTear.git
cd ValyriaTear
git submodule update --init --remote --force
cd ..
cmake -S $(pwd)/ValyriaTear -B $(pwd)/../new


result:
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /snap/cmake/192/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):
The C compiler

"/usr/bin/cc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/ti/Software/new/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_1be99/fast && /usr/bin/make -f CMakeFiles/cmTC_1be99.dir/build.make CMakeFiles/cmTC_1be99.dir/build
make[1] : on entre dans le répertoire « /home/ti/Software/new/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_1be99.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_1be99.dir/testCCompiler.c.o -c /home/ti/Software/new/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_1be99
/snap/cmake/192/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1be99.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_1be99.dir/testCCompiler.c.o -o cmTC_1be99
collect2: fatal error: ld terminated with signal 11 [Erreur de segmentation], core dumped
compilation terminated.
CMakeFiles/cmTC_1be99.dir/build.make:86: recipe for target 'cmTC_1be99' failed
make[1]: *** [cmTC_1be99] Error 1
make[1] : on quitte le répertoire « /home/ti/Software/new/CMakeFiles/CMakeTmp »
Makefile:121: recipe for target 'cmTC_1be99/fast' failed
make: *** [cmTC_1be99/fast] Error 2





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (PROJECT)


-- Configuring incomplete, errors occurred!
See also "/home/ti/Software/new/CMakeFiles/CMakeOutput.log".
See also "/home/ti/Software/new/CMakeFiles/CMakeError.log".



i have try different lib c aptitude instal...
Someone have an idea?
i am in Home/user
eliodilar
 
Posts: 14
Joined: 09 Dec 2019, 14:10

Re: GITHUB ValyriaTear is ok?

Postby eliodilar » 14 Dec 2019, 20:07

oki normally it's gcc , c compiler problem

--debug-output shell

Running with debug output on.
-- The C compiler identification is unknown
Called from: [3] /snap/cmake/192/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake
[2] /snap/cmake/192/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake
[1] /home/ti/Software/Valdev/ValyriaTear/CMakeLists.txt
-- The CXX compiler identification is unknown
Called from: [3] /snap/cmake/192/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake
[2] /snap/cmake/192/share/cmake-3.16/Modules/CMakeDetermineCXXCompiler.cmake
[1] /home/ti/Software/Valdev/ValyriaTear/CMakeLists.txt
-- Check for working C compiler: /usr/bin/cc
Called from: [3] /snap/cmake/192/share/cmake-3.16/Modules/CMakeTestCompilerCommon.cmake
[2] /snap/cmake/192/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake
[1] /home/ti/Software/Valdev/ValyriaTear/CMakeLists.txt
CMake Warning (dev) at /snap/cmake/192/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:44 (try_compile):
Policy CMP0066 is not set: Honor per-config flags in try_compile()
source-file signature. Run "cmake --help-policy CMP0066" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

For compatibility with older versions of CMake, try_compile is not honoring
caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the
test project.
Call Stack (most recent call first):
CMakeLists.txt:4 (PROJECT)
This warning is for project developers. Use -Wno-dev to suppress it.
eliodilar
 
Posts: 14
Joined: 09 Dec 2019, 14:10

Re: GITHUB ValyriaTear is ok?

Postby freem » 12 May 2020, 02:29

Hello. Is the problem fixed?
freem
BN Moderator
 
Posts: 62
Joined: 18 May 2015, 19:38

Who is online

Users browsing this forum: No registered users and 1 guest

cron