Closed GarronFish closed 3 years ago
I'll have a look today. The conan repo might be a little out of date.
FMI4cpp-conan should be fixed now. Targets 0.8.0-ALPHA, which I just made a release of.
Edit: Don't mind the failed circleci status. I disabled that instance. Need to change to GitHub actions. Tested fine locally.
Thanks,
Now I get: ERROR: Failed requirement 'openssl/1.0.2u' from 'libzip/1.5.2@bincrafters/stable' ERROR: Requested 'openssl/1.0.2u' but found case incompatible 'OpenSSL' Case insensitive filesystem can't manage this
That one is related to Conan itself. You need to clear the conan cache and re-run.
Cleared cache by changing environmental variable CONAN_USER_HOME Now get: ERROR: Missing binary: boost/1.66.0@conan/stable:e6323f6266863b5b9bc7a29b1cde8113bdde591f
Thanks for the help
I tried this: conan create . FMI4cpp/testing --build=boost --build=fmi4cpp and then got this error: ERROR: boost/1.66.0@conan/stable: Error in build() method, line 89 b2_exe = self.bootstrap() while calling 'bootstrap', line 293 self.run(cmd) ConanException: Error 1 while executing bootstrap.bat vc16
I'm not so sure changing home dir was the best solution. Just delete the cache folder. This is an issue common to all conan recepies as some libraries changed their name. It should not be necessary to build boost manually.
Sorry did not update alpha going to try that
Are you using VS 2019? As far as I can remember, there are no pre-built boost (for this version) for that version of VS. So, yes, you'd need to tell conan to build it. Another solution would be to upgrade the conan dependency. I have not done that, becouse they changed where artifacts are stored in later versions, so I can't just bump the verrsion.
I'll have a go at upgrading boost.
Try now
Sorry going to update FMI4cpp-conan-master Alpha and try again
Its all working! Thanks I owe you some beers! I tested example and this appears to work as expected.
When running running conan to install FMI4cpp/testing on Windows I get the following error: ERROR: Conflict in libzip/1.5.2@bincrafters/stable: 'libzip/1.5.2@bincrafters/stable' requires 'zlib/1.2.11' while 'boost/1.66.0@conan/stable' requires 'zlib/1.2.11@conan/stable'.
This was done in FMI4cpp-conan-master by running a conan console and then running conan create . FMI4cpp/testing