We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I clone the repo and execute make and I get error:
root@beaglebone:/home/debian/objectBox/objectbox-generator# make ./third_party/flatbuffers-c-bridge/build.sh ******** Configuring & building ******** + cd ./third_party/flatbuffers-c-bridge/cmake-build + eval 'cmake "/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge" -DCMAKE_BUILD_TYPE=Release' ++ cmake /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge -DCMAKE_BUILD_TYPE=Release -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (6.5s) -- Generating done (0.2s) -- Build files have been written to: /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build + cd /home/debian/objectBox/objectbox-generator + cmake --build ./third_party/flatbuffers-c-bridge/cmake-build --config Release --target flatbuffers-c-bridge-test make[1]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[2]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[3]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 2%] Building CXX object CMakeFiles/flatbuffers.dir/third_party/flatbuffers/src/idl_parser.cpp.o In file included from /usr/include/c++/8/vector:69, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/include/flatbuffers/base.h:43, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/include/flatbuffers/idl.h:24, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/src/idl_parser.cpp:23: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const flexbuffers::Builder::Value&}; _Tp = flexbuffers::Builder::Value; _Alloc = std::allocator<flexbuffers::Builder::Value>]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<flexbuffers::Builder::Value>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<flexbuffers::Builder::Value*, std::vector<flexbuffers::Builder::Value> >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {flexbuffers::Builder::Value}; _Tp = flexbuffers::Builder::Value; _Alloc = std::allocator<flexbuffers::Builder::Value>]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<flexbuffers::Builder::Value>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<flexbuffers::Builder::Value*, std::vector<flexbuffers::Builder::Value> >’} changed in GCC 7.1 /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {flexbuffers::Builder::Value}; _Tp = flexbuffers::Builder::Value; _Alloc = std::allocator<flexbuffers::Builder::Value>]’: /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<flexbuffers::Builder::Value*, std::vector<flexbuffers::Builder::Value> >’ changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/include/flatbuffers/base.h:43, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/include/flatbuffers/idl.h:24, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/flatbuffers/src/idl_parser.cpp:23: /usr/include/c++/8/bits/stl_vector.h: In member function ‘size_t flexbuffers::Builder::EndMap(size_t)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<flexbuffers::Builder::Value*, std::vector<flexbuffers::Builder::Value> >’ changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h: In member function ‘flatbuffers::CheckedError flatbuffers::Parser::ParseFlexBufferValue(flexbuffers::Builder*)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<flexbuffers::Builder::Value*, std::vector<flexbuffers::Builder::Value> >’ changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 5%] Building CXX object CMakeFiles/flatbuffers.dir/third_party/flatbuffers/src/idl_gen_text.cpp.o [ 8%] Building CXX object CMakeFiles/flatbuffers.dir/third_party/flatbuffers/src/reflection.cpp.o [ 11%] Building CXX object CMakeFiles/flatbuffers.dir/third_party/flatbuffers/src/util.cpp.o [ 14%] Linking CXX static library libflatbuffers.a make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 14%] Built target flatbuffers make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 17%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/src/flatc_main.cpp.o [ 20%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_cpp.cpp.o [ 22%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_csharp.cpp.o [ 25%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_dart.cpp.o [ 28%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_kotlin.cpp.o [ 31%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_go.cpp.o [ 34%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_java.cpp.o [ 37%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_js_ts.cpp.o [ 40%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_php.cpp.o [ 42%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_python.cpp.o [ 45%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_lobster.cpp.o [ 48%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_lua.cpp.o [ 51%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_rust.cpp.o [ 54%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_fbs.cpp.o [ 57%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_grpc.cpp.o [ 60%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_json_schema.cpp.o [ 62%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/idl_gen_swift.cpp.o [ 65%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/flatc.cpp.o [ 68%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/src/code_generators.cpp.o [ 71%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/grpc/src/compiler/cpp_generator.cc.o [ 74%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/grpc/src/compiler/go_generator.cc.o [ 77%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/grpc/src/compiler/java_generator.cc.o [ 80%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/grpc/src/compiler/python_generator.cc.o [ 82%] Building CXX object CMakeFiles/flatbuffers-c-bridge-flatc.dir/third_party/flatbuffers/grpc/src/compiler/swift_generator.cc.o [ 85%] Linking CXX static library libflatbuffers-c-bridge-flatc.a make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 85%] Built target flatbuffers-c-bridge-flatc make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 88%] Building CXX object CMakeFiles/flatbuffers-c-bridge.dir/src/flatbuffersc.cpp.o [ 91%] Linking CXX static library libflatbuffers-c-bridge.a make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 91%] Built target flatbuffers-c-bridge make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[4]: Entering directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [ 94%] Building CXX object CMakeFiles/flatbuffers-c-bridge-test.dir/test/main.cpp.o In file included from /usr/include/c++/8/vector:69, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/catch.hpp:570, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/test/main.cpp:2: /usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Catch::SectionEndInfo&}; _Tp = Catch::SectionEndInfo; _Alloc = std::allocator<Catch::SectionEndInfo>]’: /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<Catch::SectionEndInfo>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<Catch::SectionEndInfo*, std::vector<Catch::SectionEndInfo> >’} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/third_party/catch.hpp:570, from /home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/test/main.cpp:2: /usr/include/c++/8/bits/stl_vector.h: In member function ‘virtual void Catch::RunContext::sectionEndedEarly(const Catch::SectionEndInfo&)’: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Catch::SectionEndInfo*, std::vector<Catch::SectionEndInfo> >’ changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 97%] Building CXX object CMakeFiles/flatbuffers-c-bridge-test.dir/test/test.cpp.o [100%] Linking CXX executable flatbuffers-c-bridge-test make[4]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' [100%] Built target flatbuffers-c-bridge-test make[3]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[2]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' make[1]: Leaving directory '/home/debian/objectBox/objectbox-generator/third_party/flatbuffers-c-bridge/cmake-build' + set +x ******** Testing ******** flatc error: missing input files =============================================================================== All tests passed (20 assertions in 3 test cases) ******** Collecting artifacts ******** The compiled libraries can be found here: -rw-r--r-- 1 root root 644K Mar 8 13:54 ./third_party/flatbuffers-c-bridge/cmake-build/libflatbuffers.a -rw-r--r-- 1 root root 62K Mar 8 14:20 ./third_party/flatbuffers-c-bridge/cmake-build/libflatbuffers-c-bridge.a -rw-r--r-- 1 root root 2.8M Mar 8 14:19 ./third_party/flatbuffers-c-bridge/cmake-build/libflatbuffers-c-bridge-flatc.a CGO_ENABLED=1 go build ./cmd/objectbox-generator/ cmd/objectbox-generator/objectbox-generator.go:32:2: cannot find package "github.com/objectbox/objectbox-generator/cmd" in any of: /usr/src/github.com/objectbox/objectbox-generator/cmd (from $GOROOT) /home/debian/objectBox/objectbox-generator/src/github.com/objectbox/objectbox-generator/cmd (from $GOPATH) cmd/objectbox-generator/objectbox-generator.go:33:2: cannot find package "github.com/objectbox/objectbox-generator/internal/generator" in any of: /usr/src/github.com/objectbox/objectbox-generator/internal/generator (from $GOROOT) /home/debian/objectBox/objectbox-generator/src/github.com/objectbox/objectbox-generator/internal/generator (from $GOPATH) cmd/objectbox-generator/objectbox-generator.go:34:2: cannot find package "github.com/objectbox/objectbox-generator/internal/generator/c" in any of: /usr/src/github.com/objectbox/objectbox-generator/internal/generator/c (from $GOROOT) /home/debian/objectBox/objectbox-generator/src/github.com/objectbox/objectbox-generator/internal/generator/c (from $GOPATH) cmd/objectbox-generator/objectbox-generator.go:35:2: cannot find package "github.com/objectbox/objectbox-generator/internal/generator/flatbuffersc" in any of: /usr/src/github.com/objectbox/objectbox-generator/internal/generator/flatbuffersc (from $GOROOT) /home/debian/objectBox/objectbox-generator/src/github.com/objectbox/objectbox-generator/internal/generator/flatbuffersc (from $GOPATH) cmd/objectbox-generator/objectbox-generator.go:36:2: cannot find package "github.com/objectbox/objectbox-generator/internal/generator/go" in any of: /usr/src/github.com/objectbox/objectbox-generator/internal/generator/go (from $GOROOT) /home/debian/objectBox/objectbox-generator/src/github.com/objectbox/objectbox-generator/internal/generator/go (from $GOPATH) make: *** [Makefile:14: build] Error 1
Can you help me so I can build objectbox-generator?
Thanks for all your time
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I clone the repo and execute make and I get error:
Can you help me so I can build objectbox-generator?
Thanks for all your time
The text was updated successfully, but these errors were encountered: