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

cmake CMakeLists.txt fails #30

Open
AndreaLevy238 opened this issue May 12, 2022 · 1 comment
Open

cmake CMakeLists.txt fails #30

AndreaLevy238 opened this issue May 12, 2022 · 1 comment

Comments

@AndreaLevy238
Copy link

output for thrift -r --gen cpp --gen py server.thrift
[WARNING:/space/charybdefs/server.thrift:16] No field key specified for method, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:19] No field key specified for methods, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:20] No field key specified for random, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:21] No field key specified for err_no, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:22] No field key specified for probability, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:23] No field key specified for regexp, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:24] No field key specified for kill_caller, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:25] No field key specified for delay_us, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:26] No field key specified for auto_delay, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:29] No field key specified for random, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:30] No field key specified for err_no, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:31] No field key specified for probability, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:32] No field key specified for regexp, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:33] No field key specified for kill_caller, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:34] No field key specified for delay_us, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:35] No field key specified for auto_delay, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:16] No field key specified for method, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:19] No field key specified for methods, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:20] No field key specified for random, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:21] No field key specified for err_no, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:22] No field key specified for probability, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:23] No field key specified for regexp, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:24] No field key specified for kill_caller, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:25] No field key specified for delay_us, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:26] No field key specified for auto_delay, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:29] No field key specified for random, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:30] No field key specified for err_no, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:31] No field key specified for probability, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:32] No field key specified for regexp, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:33] No field key specified for kill_caller, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:34] No field key specified for delay_us, resulting protocol may have conflicts or not be backwards compatible!

[WARNING:/space/charybdefs/server.thrift:35] No field key specified for auto_delay, resulting protocol may have conflicts or not be backwards compatible!

Output for cmake CmakeLists.txt
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- Performing Test FUSE_CFLAGS_CHECK
-- Performing Test FUSE_CFLAGS_CHECK - Success
-- Found FUSE: /usr/lib64/libfuse.so (found suitable version "2.9", minimum required is "2.9")
-- THRIFT_HOME:
-- Thrift version: Thrift version 0.9.1
-- Configuring done
CMake Error at CMakeLists.txt:19 (add_library):
Cannot find source file:

gen-cpp/server_constants.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

@TheOmid
Copy link

TheOmid commented Sep 22, 2023

Hey, have you found the solution for this?

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

2 participants