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

Build failed #1

Open
hsneto opened this issue Oct 3, 2018 · 1 comment
Open

Build failed #1

hsneto opened this issue Oct 3, 2018 · 1 comment
Assignees

Comments

@hsneto
Copy link

hsneto commented Oct 3, 2018

The build script have failed. Below is the error found

./build.sh
.
.
.
-- Build files have been written to: /home/hsneto/.conan/data/is-wire/1.1.3/is/stable/build/603ede025bec72293a6d3de6d6fb6aa06442bd62
[5/12] Building CXX object wire/core/CMakeFiles/is-wire-core.dir/internal/amqp.cpp.o
FAILED: wire/core/CMakeFiles/is-wire-core.dir/internal/amqp.cpp.o 
/usr/bin/c++  -DBOOST_USE_STATIC_LIBS -Iwire/core/../.. -Iwire/core -isystem /home/hsneto/.conan/data/SimpleAmqpClient/2.5.0/is/stable/package/99227d6f519b0450ff2b69b020d1a53a7dbb1db7/include -isystem /home/hsneto/.conan/data/rabbitmq-c/0.9.0/is/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -isystem /home/hsneto/.conan/data/boost/1.68.0/conan/stable/package/f13b8707a96902c3870d1d62327acbc46ec72985/include -isystem /home/hsneto/.conan/data/bzip2/1.0.6/conan/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -isystem /home/hsneto/.conan/data/zlib/1.2.11/conan/stable/package/6ae331b72e7e265ca2a3d1d8246faf73aa030238/include -isystem /home/hsneto/.conan/data/protobuf/3.6.1/bincrafters/stable/package/66c5327ebdcecae0a01a863939964495fa019a06/include -isystem /home/hsneto/.conan/data/opentracing-cpp/1.4.0/is/stable/package/66c5327ebdcecae0a01a863939964495fa019a06/include -isystem /home/hsneto/.conan/data/is-msgs/1.1.6/is/stable/package/5e8aa680f13c8c83f2fa94560b3f3c00e2aca5d7/include -isystem /home/hsneto/.conan/data/spdlog/1.1.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include -Wall -Wextra -O3 -DNDEBUG -fPIC   -std=gnu++11 -MD -MT wire/core/CMakeFiles/is-wire-core.dir/internal/amqp.cpp.o -MF wire/core/CMakeFiles/is-wire-core.dir/internal/amqp.cpp.o.d -o wire/core/CMakeFiles/is-wire-core.dir/internal/amqp.cpp.o -c wire/core/internal/amqp.cpp
wire/core/internal/amqp.cpp: In function ‘uint64_t is::make_random_uid()’:
wire/core/internal/amqp.cpp:143:15: error: ‘mt19937_64’ in namespace ‘std’ does not name a type
   static std::mt19937_64 engine(std::random_device{}());
               ^~~~~~~~~~
wire/core/internal/amqp.cpp:143:54: error: expected primary-expression before ‘)’ token
   static std::mt19937_64 engine(std::random_device{}());
                                                      ^
wire/core/internal/amqp.cpp:146:23: error: ‘engine’ was not declared in this scope
   return distribution(engine);
                       ^~~~~~
wire/core/internal/amqp.cpp:146:23: note: suggested alternative: ‘unlink’
   return distribution(engine);
                       ^~~~~~
                       unlink
[10/12] Building CXX object wire/rpc/CMakeFiles/is-wire-rpc.dir/metrics-interceptor.cpp.o
ninja: build stopped: subcommand failed.
is-wire/1.1.3@is/stable: 
is-wire/1.1.3@is/stable: ERROR: Package '603ede025bec72293a6d3de6d6fb6aa06442bd62' build failed
is-wire/1.1.3@is/stable: WARN: Build folder /home/hsneto/.conan/data/is-wire/1.1.3/is/stable/build/603ede025bec72293a6d3de6d6fb6aa06442bd62
ERROR: is-wire/1.1.3@is/stable: Error in build() method, line 50
	cmake.build()
	ConanException: Error 256 while executing cmake --build '/home/hsneto/.conan/data/is-wire/1.1.3/is/stable/build/603ede025bec72293a6d3de6d6fb6aa06442bd62'
CMake Error at CMakeLists.txt:4 (include):
  include could not find load file:

    /home/hsneto/Documents/labviros/github/is-aruco-calib/build/conan_paths.cmake


CMake Error at /opt/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /opt/cmake/share/cmake-3.11/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:6 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/hsneto/Documents/labviros/github/is-aruco-calib/build/CMakeFiles/CMakeOutput.log".
See also "/home/hsneto/Documents/labviros/github/is-aruco-calib/build/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory
@rodolfo-picoreti
Copy link
Member

A patch was pushed to the develop branch. Try it out and let me know please...

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

3 participants