Specifying location for tinyXML

Install support for openEMS

Moderators: thorsten, sebastian

Post Reply
Posts: 2
Joined: Fri 26 Jul 2019, 18:27

Specifying location for tinyXML

Post by xtjacob » Fri 26 Jul 2019, 18:30

I've got tinyXML installed to a custom location as I'm on a system that I don't have root on. I've built tinyXML and installed it to ~/opt/ but I've been unable to figure out how to get cmake to see where it's at. I tried to pass a config flag to cmake, but then it just did:

Code: Select all

CMake Warning:
  Manually-specified variables were not used by the project:

Any recommendations what to do?

Posts: 1479
Joined: Mon 27 Jun 2011, 12:26

Re: Specifying location for tinyXML

Post by thorsten » Wed 31 Jul 2019, 20:11

This sounds cmake specific and I'm not sure at the moment how this should be done.
I think you will somehow need to tell cmake where to look for tinyxml in your custom paths.
But do you have all the other dependencies installed? Maybe you can ask your admin to install the required packages? They are mainline in most distros afterall...

Maybe alternatively you can setup a virtual machine somewhere with the same distro and build there (with root). Then it should run on your machine too. You just may have to copy some libraries (*.so) into the openEMS lib folder for it to find...

Post Reply