-
Notifications
You must be signed in to change notification settings - Fork 59
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
Building on linux gives error about not providing Findtinyxml2.cmake #124
Comments
While it doesn't build anymore for a whole different reason, just install tinyxml2 |
tinyxml2 was installed on my system, it still wouldn't find it even in my /usr/lib folder. It would not build until I provided a Findtinyxml2.cmake file, cmake could complain about it not existing even after manually installing tinyxml2. Providing the Findtinyxml2.cmake file fixed the problem. Besides, the entire point of cmake and Findtinyxml2.cmake files is to automate the downloading, installing, and finding of the shared object library in the first place. |
That shouldn't be nessecary, my guess is that, likely you use something that seperates out dev and regular libraries, so just installing the dev version should cover that. |
sudo apt-get install libtinyxml2-dev
no, it did not fix the problem. Again, it would not install until I
provided a .cmake file to find the library.
…On Mon, Jan 27, 2025 at 9:33 AM Melechtna ***@***.***> wrote:
tinyxml2 was installed on my system, it still wouldn't find it even in my
/usr/lib folder. It would not build until I provided a Findtinyxml2.cmake
file, cmake could complain about it not existing even after manually
installing tinyxml2. Providing the Findtinyxml2.cmake file fixed the
problem. Besides, the entire point of cmake and Findtinyxml2.cmake files is
to automate the downloading, installing, and finding of the shared object
library in the first place.
That shouldn't be nessecary, my guess is that, likely you use something
that seperates out dev and regular libraries, so just installing the dev
version should cover that.
—
Reply to this email directly, view it on GitHub
<#124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZP5RP7UZGFDKNP2YGSWA32MZGUXAVCNFSM6AAAAABVA4FEX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJWGA4DGMRSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You MIGHT have broken pathing then, as that should get pulled in by your standard environment variables. I've never needed such a work around in multiple distros to fix finding such library pathing. |
pretty straight forward problem, the required tinyxml2 package can't be found. Creating ./cmake/modules/Findtinyxml2.cmake with the following fixes the problem:
The text was updated successfully, but these errors were encountered: