NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
435 stars 74 forks source link

cmake error #145

Open Harvey-Huang opened 1 year ago

Harvey-Huang commented 1 year ago

when I use CMake to Configure the source code, it show the error: "CMake Error at CMakeLists.txt:51 (find_package): Could not find a package configuration file provided by "tinyxml2" with any of the following names:

tinyxml2Config.cmake
tinyxml2-config.cmake

Add the installation prefix of "tinyxml2" to CMAKE_PREFIX_PATH or set "tinyxml2_DIR" to a directory containing one of the above files. If "tinyxml2" provides a separate development package or SDK, be sure it has been installed." so I need to download the source code of tinyxml2?

PikachuHy commented 1 year ago

install tinyxml2 first

what os are you using?

Harvey-Huang commented 1 year ago

I am using Windows 11 OS, openmath branch does not have such error.

PikachuHy commented 1 year ago

@NanoMichael please set the openmath branch as default branch on GitHub

sp1ritCS commented 1 year ago

@PikachuHy Shouldn't openmath be merged to master when it's ready (and a copy of the current master be put into a seperate clatexmath branch)? Also AFAIK microtex isn't "ready" yet, so it shouldn't be set as default currently.