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

Not able to crosscompile libocpp for arm processor #776

Open
jitain-sangwan opened this issue Sep 8, 2024 · 2 comments
Open

Not able to crosscompile libocpp for arm processor #776

jitain-sangwan opened this issue Sep 8, 2024 · 2 comments

Comments

@jitain-sangwan
Copy link

OCPP Version

OCPP1.6

Describe the bug

Make Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake:141 (find_package):
[cmake] Found package configuration file:
[cmake]
[cmake] /usr/lib/x86_64-linux-gnu/cmake/boost_log_setup-1.83.0/boost_log_setup-config.cmake
[cmake]
[cmake] but it set boost_log_setup_FOUND to FALSE so package "boost_log_setup" is
[cmake] considered to be NOT FOUND. Reason given by package:
[cmake]
[cmake] No suitable build variant has been found.
[cmake]
[cmake] The following variants have been tried and rejected:
[cmake]
[cmake] * libboost_log_setup.so.1.83.0 (64 bit, need 32)
[cmake]
[cmake] * libboost_log_setup.a (64 bit, need 32)
[cmake]
[cmake] Call Stack (most recent call first):
[cmake] /usr/lib/x86_64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake:262 (boost_find_component)
[cmake] /usr/share/cmake-3.28/Modules/FindBoost.cmake:594 (find_package)
[cmake] /home/pheonix/EVerest_OCPP/everest-workspace/liblog/CMakeLists.txt:28 (find_package)
[cmake]

To Reproduce

No response

Anything else?

No response

@marcemmers
Copy link
Contributor

marcemmers commented Sep 11, 2024

Hi jitain-sangwan,

We are cross compiling for ARM so it is possible for sure. It looks like it is complaining that the boost libraries installed are 64 bit and it needs a 32 bit library. That might be something to investigate.

Kind regards,
Marc

@jitain-sangwan
Copy link
Author

Hi marc,
Thanks for your response could you help with the process to crosscompile it would be of great help

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

2 participants