SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.51k stars 1.11k forks source link

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

Open C1ffisme opened 7 months ago

C1ffisme commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

TheJJ commented 7 months ago

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

patrickziegler commented 4 months ago

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