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

CMake can't find toml11 on Linux Mint 21.2 #1601

Open
C1ffisme opened this issue Nov 18, 2023 · 6 comments
Open

CMake can't find toml11 on Linux Mint 21.2 #1601

C1ffisme opened this issue Nov 18, 2023 · 6 comments
Labels
bug Behaving differently as it should behave os: linux Linux-specific issue upstream issue Issue that can't be fixed by us, but some other project

Comments

@C1ffisme
Copy link

Followed all the Ubuntu build instructions, but unfortunately, this error prevented my build from being fully completed:

CMake Error at /usr/share/cmake/toml11/toml11Config.cmake:36 (include):
  include could not find requested file:

    //lib/x86_64-linux-gnu/cmake/toml11/toml11Targets.cmake
Call Stack (most recent call first):
  libopenage/CMakeLists.txt:53 (find_package)

All dependencies are installed including libtoml11-dev and python3-toml, so I'm not sure where to go from here.

@heinezen heinezen added os: linux Linux-specific issue upstream issue Issue that can't be fixed by us, but some other project bug Behaving differently as it should behave labels Nov 18, 2023
@heinezen
Copy link
Member

heinezen commented Nov 18, 2023

We had the same issues for some people that used Debian where the toml config was also not found by cmake. They probably used the wrong file for their cmake config.

I'm not sure if this helps but this is the config that current Ubuntu uses which shouldn't have that problem. Try to make a backup of your old place and replace the files. Maybe that works.

toml11.zip

@C1ffisme
Copy link
Author

This worked, but I'd like to note that the /toml11/ directory in its entirety did not exist until I created it.

@TheJJ
Copy link
Member

TheJJ commented Nov 19, 2023

One should open a but at debian/ubuntu if not present already.

@patrickziegler
Copy link

It does exist already https://bugs.launchpad.net/ubuntu/+source/toml11/+bug/1978418

@fabiobarkoski
Copy link
Contributor

This worked, but I'd like to note that the /toml11/ directory in its entirety did not exist until I created it.

Same here. Perhaps add a note about mint in the build docs for now would be good. What do you all think?

@heinezen
Copy link
Member

This worked, but I'd like to note that the /toml11/ directory in its entirety did not exist until I created it.

Same here. Perhaps add a note about mint in the build docs for now would be good. What do you all think?

Yeah that's a good idea since it doesn't seem to get fixed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Behaving differently as it should behave os: linux Linux-specific issue upstream issue Issue that can't be fixed by us, but some other project
Projects
None yet
Development

No branches or pull requests

5 participants