Pro / open62541-arduino

open62541 OPC UA example for Arduino
35 stars 11 forks source link

Error when cmake #13

Open Cesaario opened 5 years ago

Cesaario commented 5 years ago

When i try to run the cmake command I get the following error:

gustavo@gustavo:~/Pro/open62541-arduino/build$ cmake -DWIFI_SSID="VIVO-E3A8" -DWIFI_PWD="VT44jNr93U" .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 Invalid Arduino SDK Version () Invalid Arduino SDK Version () -- Check for working C compiler: /usr/bin/avr-gcc -- Check for working C compiler: /usr/bin/avr-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done Invalid Arduino SDK Version () -- Check for working CXX compiler: /usr/bin/avr-g++ -- Check for working CXX compiler: /usr/bin/avr-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.17.1") -- CMAKE_BUILD_TYPE not given; setting to 'Debug' -- Architectures included in amalgamation: freertosLWIP -- The selected architecture is: freertosLWIP -- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) -- Could NOT find LATEX (missing: LATEX_COMPILER) -- Generating arduino_opcua -- Generating featheresp32_WiFi for library WiFi CMake Error at cmake/Platform/Arduino.cmake:896 (MESSAGE): Value for .recipe.cpp.o.pattern not defined Call Stack (most recent call first): cmake/Platform/Arduino.cmake:1139 (get_recipe_flags) cmake/Platform/Arduino.cmake:1227 (setup_arduino_library) cmake/Platform/Arduino.cmake:538 (setup_arduino_libraries) CMakeLists.txt:82 (generate_arduino_firmware)

-- Configuring incomplete, errors occurred! See also "/home/gustavo/Pro/open62541-arduino/build/CMakeFiles/CMakeOutput.log". See also "/home/gustavo/Pro/open62541-arduino/build/CMakeFiles/CMakeError.log".

Any way to fix it? PS: I have followed every instruction at https://travis-ci.org/Pro/open62541-arduino

dj-fiorex commented 3 years ago

Please see this #16 to be able to build successfully