-
Notifications
You must be signed in to change notification settings - Fork 55
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 configure fail in joynr #157
Comments
by copy some cpp file and include files to generated folder, the configure is ok. but |
i have not found WebSocketAddress.h and Version.h in total joynr |
joynr C++ can be build out of the box using the specified docker containers and scripts, see https://github.com/bmwcarit/joynr/blob/master/wiki/cpp_building_joynr.md. For local environment you would have establish same environment as described in the Dockerfile. |
i have use command:
cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DUSE_PLATFORM_MOSQUITTO=ON -DENABLE_GCOV=OFF -DENABLE_DOXYGEN=OFF -DUSE_PLATFORM_SPDLOG=OFF -DUSE_PLATFORM_MUESLI=OFF -DUSE_PLATFORM_WEBSOCKETPP=OFF -DENABLE_CLANG_FORMATTER=OFF -DBUILD_TESTS=OFF -DJOYNR_SERVER_HOST=localhost -DJOYNR_SERVER_MQTT_PORT=1883 -DCMAKE_BUILD_TYPE=Debug ../cpp
in joynr, after struggling in missing dependency library, at last i meet a problem:
-- variable JOYNR_DEFAULT_GBID=joynrdefaultgbid
-- variable JOYNR_SERVER_HOST=localhost
-- variable JOYNR_SERVER_MQTT_PORT=1883
-- variable JOYNR_SERVER_MQTT_TLS_PORT=8883
CMake Deprecation Warning at CMake/OutofdirTargetSources.cmake:16 (cmake_policy):
The OLD behavior for policy CMP0076 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
runtimes/libjoynr-runtime/websocket/CMakeLists.txt:1 (outofdir_target_sources)
CMake Deprecation Warning at CMake/OutofdirTargetSources.cmake:16 (cmake_policy):
The OLD behavior for policy CMP0076 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
runtimes/libjoynr-runtime/uds/CMakeLists.txt:1 (outofdir_target_sources)
CMake Deprecation Warning at CMake/OutofdirTargetSources.cmake:16 (cmake_policy):
The OLD behavior for policy CMP0076 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
runtimes/cluster-controller-runtime/signal-handler/CMakeLists.txt:1 (outofdir_target_sources)
-- Configuring done
CMake Error at libjoynr/basemodel/generated/CMakeLists.txt:18 (add_library):
No SOURCES given to target: BaseModelGenerated
CMake Generate step failed. Build files cannot be regenerated correctly.
can anybody give some advice ? thanks a lot
The text was updated successfully, but these errors were encountered: