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

Problems building MeetixOS #9

Closed
lucic71 opened this issue Feb 7, 2022 · 5 comments
Closed

Problems building MeetixOS #9

lucic71 opened this issue Feb 7, 2022 · 5 comments

Comments

@lucic71
Copy link

lucic71 commented Feb 7, 2022

I have an Ubuntu 18.04.6 running on x86.
I tried to build the project from command line using the instructions from BuildInstructions.md, however I failed when I had to run ninja run. These are the steps from my attempt:

sudo apt install build-essential gcc g++ cmake ninja-build libmpfr-dev libmpc-dev libgmp-dev qemu-system-x86 qemu-utils grub2-common xorriso patch wget
cd MeetixOS/Toolchain
./Build.sh
cd ../Build
mkdir -p Release
pushd Release
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=Build/CMakeToolchain.txt -DCMAKE_BUILD_TYPE=Release ../..
popd
cd Release
ninja run

I attached three files containing the output of ./Build.sh, cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=Build/CMakeToolchain.txt -DCMAKE_BUILD_TYPE=Release ../.. and ninja run.
build.log
cmake.log
ninja.log

Is there any way I can solve this issue or is there any attempt to create a script that can handle the whole build process?

@MarcoCicognani
Copy link
Owner

MarcoCicognani commented Feb 7, 2022

Hi Lucian,
After a quick glance I think your host toolchain is too old.

I use GCC/G++ v9.3.0 (LinuxMint), but I personally advice GCC/G++ 11, since MeetixOS toolchain is based on this version.

@MarcoCicognani
Copy link
Owner

Try

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install -y gcc-11 g++-11

cd MeetixOS/Toolchain
export CC=gcc-11
export CXX=g++-11
./Build.sh --rebuild

@MarcoCicognani
Copy link
Owner

@lucic71 have you solved the encountered problems?

@lucic71
Copy link
Author

lucic71 commented Feb 10, 2022

Not yet, I will come back with a message when I will have some free time to look further into this issue.

@lucic71
Copy link
Author

lucic71 commented Mar 20, 2022

I will close the issue as I moved to Arch Linux with GCC 11.1.0 and the problem is not reproducible anymore.

@lucic71 lucic71 closed this as completed Mar 20, 2022
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