• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ missing: PUGIXML_INCLUDE_DIR PUGIXML_LIBRARIES (OSX 10.14 Mojave )

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,249
Solutions
71
Reaction score
628
Location
Hell
GitHub
idontreallywolf
OK.... So. I dont know why but since I upgraded the OS to freakin Mojave. Stuff started not being able to find the goddamn libraries which are already installed.

I have tried to compile TFS 1.2 but got the following error :
Code:
CMake Error at /usr/local/Cellar/cmake/3.13.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PugiXML (missing: PUGIXML_INCLUDE_DIR PUGIXML_LIBRARIES)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.13.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindPugiXML.cmake:5 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:22 (find_package)

When I executed find / -name "pugixml":

Code:
/usr/local/var/homebrew/linked/pugixml
/usr/local/lib/cmake/pugixml
/usr/local/opt/pugixml
/usr/local/Cellar/pugixml
/usr/local/Cellar/pugixml/1.9/lib/cmake/pugixml

How the hell do I fix this issue? Its not just TFS, this has happened with RME also.
GOING MAD GODDAMNIT!!!!
flat,550x550,075,f.u1.jpg
 
Solution
What server are you running? This has always worked for me after a regular apt-get install libpugixml-dev command.
Edit: Ahh, Mojave. :p Anyway you can just define the path directly:

This was the last fix:

Best option would be if you could fix this without directly specifying the path and submit a pull request to help other Mojave users out. xD

Edit2: And send a pull request to otclient while your at it! :)
What server are you running? This has always worked for me after a regular apt-get install libpugixml-dev command.
Edit: Ahh, Mojave. :p Anyway you can just define the path directly:

This was the last fix:

Best option would be if you could fix this without directly specifying the path and submit a pull request to help other Mojave users out. xD

Edit2: And send a pull request to otclient while your at it! :)
 
Last edited:
Solution
What server are you running? This has always worked for me after a regular apt-get install libpugixml-dev command.
Edit: Ahh, Mojave. :p Anyway you can just define the path directly:

This was the last fix:

Best option would be if you could fix this without directly specifying the path and submit a pull request to help other Mojave users out. xD

Edit2: And send a pull request to otclient while your at it! :)

Thanks alot :D
 
Back
Top