-
Maybe someone can tell me what I'm doing wrong. I had an issue opened about a compile problem on Ubuntu 22.04 Arm which was fixed, but now I'm seeing new compile problems. And similar but not the same problems compiling on Fedora 38 on x86_64 as a control. Also seeing some warnings I don't think I should be seeing. The warnings are all "cast to pointer from integer of different size" which leads me to wonder if I've missed something in setting up the build. As far as I can tell I have followed the instructions and have 32-bit libraries installed, and the 32-bit compiler. Here's one of the warnings but the code looks fine to me; I'm not sure why the warning:
Some of the the compile errors are:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You are defently using a 64bits compiler here. Not sure why, but it's 64bits and not 32bits. On x86_64, the |
Beta Was this translation helpful? Give feedback.
-
Also, If you miss-configure your build folder once, it might be easier to remove the build folder and recreate again, as changing compiler doesn't always works fine with cmake. |
Beta Was this translation helpful? Give feedback.
-
Yes I created the build folder before running cmake in it. |
Beta Was this translation helpful? Give feedback.
-
Okay I got it to build. I had to make sure to use -D3588=1 with cmake, and then I had some missing debs to install. You'd think that the deb package with the 32 bit gcc would pull in the packages needed to actually build with it, but that is not the case. I had to install libc6-dev-armhf-cross specifically. Ubuntu packaging bug. |
Beta Was this translation helpful? Give feedback.
Okay I got it to build. I had to make sure to use -D3588=1 with cmake, and then I had some missing debs to install.
You'd think that the deb package with the 32 bit gcc would pull in the packages needed to actually build with it, but that is not the case. I had to install libc6-dev-armhf-cross specifically. Ubuntu packaging bug.