Open g-vidal opened 5 years ago
In your first output, mraa.Gpio has been typed with the wrong case on the 'p', could you please try without #960 but with the correct "casing"? mraa.Gpio not mraa.GPio
I am just curious if the CMP0078 has effected it :)
Hum hum hum You are right! It seems to work except the error fpor the cmake. The proposed code just enables then to remove the warnings during the cmake. BUT I still have the same error with upm....I'll check again also. Any idea ?
-- PYTHON2 attempting to build!
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
src/python/python2/CMakeLists.txt:9 (swig_add_library)
This warning is for project developers. Use -Wno-dev to suppress it.
-- PYTHON3 attempting to build!
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
src/python/python3/CMakeLists.txt:9 (swig_add_library)
This warning is for project developers. Use -Wno-dev to suppress it.
-- INFO - NODE_ROOT_DIR is /usr/local/include/node
-- Found Nodejs: /usr/local/bin/node (found version "11.13.0")
-- Found v8: /usr/local/include/node/v8.h (found version "7.0.276.38-node.18")
CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message):
Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
src/javascript/CMakeLists.txt:27 (swig_add_library)
This warning is for project developers. Use -Wno-dev to suppress it.
I have compiled mraa on raspberryPi3 buster with swig4 and cmake version 3.13.4 Compilation is OK and installation goes well but even if the modules exist they cannot be imported :
If I change
CMP0078
toOLD
the issue is solved. I have proposed a pull request #960 which might be rough but works.Changing to NEW also removes the warnings during cmake stage.