aseba-community / aseba

Aseba is a set of tools which allow beginners to program robots easily and efficiently. To contact us, please open an issue.
http://aseba.wikidot.com
GNU Lesser General Public License v3.0
48 stars 62 forks source link

aseba compilation issue on raspberry #893

Open eziosoma opened 5 years ago

eziosoma commented 5 years ago

Hello, I have tried to generate the package of Aseba on Raspberrry and I have got a lot of compilation errors. Looking for the cause I have found a similar bug. The errors are very similar and are relate to the package aseba-enky. The root cause is: " armel/armhf (and arm64 in Ubuntu) Qt5 is compiled with OpenGL ES instead of OpenGL.".

Can this apply also to aseba on raspberry problems?

mbonani commented 5 years ago

We migrate for Thymo our repo here: https://github.com/Mobsya/aseba perhaps it is easier to compile for Rasberry?

eziosoma commented 5 years ago

Hello, I have done a test on ubuntu before to try with Raspberry, and I have got the following errors.

Trying under ubuntu 18.10, command:

cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ..

got the following errors:

-- Git executable found -- libudev found Using dashel from /home/ezio/aseba/aseba/dashel -- Could NOT find Boost Using Enki from /home/ezio/aseba/aseba/enki -- Version: 5.3.1 -- Build type: Release -- CXX_STANDARD: 17 CMake Warning (dev) at third_party/quazip/quazip/CMakeLists.txt:28 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The keyword signature for target_link_libraries has already been used with the target "quazip5". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the keyword signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at third_party/quazip/quazip/CMakeLists.txt:29 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The keyword signature for target_link_libraries has already been used with the target "quazip_static". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the keyword signature are here:

This warning is for project developers. Use -Wno-dev to suppress it.

-- [range-v3]: C++ std=11 -- Found ZeroConf in /usr/include;/usr/lib/x86_64-linux-gnu/libdns_sd.so Using avahi as backend asebamassloader HAS_BUNDLE-NOTFOUND thymiownetconfig HAS_BUNDLE-NOTFOUND CMake Error at aseba/clients/qtcommon/CMakeLists.txt:19 (target_link_libraries): Object library target "asebaqtcommon" may not link to anything.

-- Configuring incomplete, errors occurred! See also "/home/ezio/aseba/aseba/build/CMakeFiles/CMakeOutput.log". See also "/home/ezio/aseba/aseba/build/CMakeFiles/CMakeError.log".

On Fri, Jun 14, 2019 at 10:10 PM Michael Bonani notifications@github.com wrote:

We migrate for Thymo our repo here: https://github.com/Mobsya/aseba perhaps it is easier to compile for Rasberry?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aseba-community/aseba/issues/893?email_source=notifications&email_token=AA7ODRL4TGXF3X25EXMA7ILP2P3KHA5CNFSM4HYMKDYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXX243I#issuecomment-502247021, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7ODRO74D45L6VXQCK4ASTP2P3KHANCNFSM4HYMKDYA .

eziosoma commented 5 years ago

the error and log file are attached.

On Sun, Jun 16, 2019 at 4:42 PM Ezio Somà ezio.soma@gmail.com wrote:

Hello, I have done a test on ubuntu before to try with Raspberry, and I have got the following errors.

Trying under ubuntu 18.10, command:

cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ..

got the following errors:

-- Git executable found -- libudev found Using dashel from /home/ezio/aseba/aseba/dashel -- Could NOT find Boost Using Enki from /home/ezio/aseba/aseba/enki -- Version: 5.3.1 -- Build type: Release -- CXX_STANDARD: 17 CMake Warning (dev) at third_party/quazip/quazip/CMakeLists.txt:28 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The keyword signature for target_link_libraries has already been used with the target "quazip5". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the keyword signature are here:

  • third_party/quazip/quazip/CMakeLists.txt:21 (target_link_libraries)

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at third_party/quazip/quazip/CMakeLists.txt:29 (target_link_libraries): Policy CMP0023 is not set: Plain and keyword target_link_libraries signatures cannot be mixed. Run "cmake --help-policy CMP0023" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The keyword signature for target_link_libraries has already been used with the target "quazip_static". All uses of target_link_libraries with a target should be either all-keyword or all-plain.

The uses of the keyword signature are here:

  • third_party/quazip/quazip/CMakeLists.txt:20 (target_link_libraries)

This warning is for project developers. Use -Wno-dev to suppress it.

-- [range-v3]: C++ std=11 -- Found ZeroConf in /usr/include;/usr/lib/x86_64-linux-gnu/libdns_sd.so Using avahi as backend asebamassloader HAS_BUNDLE-NOTFOUND thymiownetconfig HAS_BUNDLE-NOTFOUND CMake Error at aseba/clients/qtcommon/CMakeLists.txt:19 (target_link_libraries): Object library target "asebaqtcommon" may not link to anything.

-- Configuring incomplete, errors occurred! See also "/home/ezio/aseba/aseba/build/CMakeFiles/CMakeOutput.log". See also "/home/ezio/aseba/aseba/build/CMakeFiles/CMakeError.log".

On Fri, Jun 14, 2019 at 10:10 PM Michael Bonani notifications@github.com wrote:

We migrate for Thymo our repo here: https://github.com/Mobsya/aseba perhaps it is easier to compile for Rasberry?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aseba-community/aseba/issues/893?email_source=notifications&email_token=AA7ODRL4TGXF3X25EXMA7ILP2P3KHA5CNFSM4HYMKDYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXX243I#issuecomment-502247021, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7ODRO74D45L6VXQCK4ASTP2P3KHANCNFSM4HYMKDYA .