Jump to content

Prebuilt binary package of SystemC 2.3.3 in C++17 environment


Recommended Posts

We are working on a project which requires use of software package Systemc version 2.3.3. Currently our project builds under the C++17 environment, Conan automatically fetching the “systemc/2.3.3:aa35eaadf0869134463be3bc9aa5f6b2bb913741” binary package which is prebuilt with C++ version 14, because of this we are getting build failures in our project.

what are the conan changes needs to be done to get the systemc 2.3.3 binary which is prebuilt with C++ version 17?

Link to comment
Share on other sites

Actually there is nothing to change in the conan package. You just need to tell conan to use C++17 and it will fetch (or build) the respective package.

The command line oiption to do so is '--settings compiler.cppstd=17'.

If you use cmake to create your build system I highly recommend to use conan version 1.59 and conan.cmake from https://github.com/conan-io/cmake-conan/tree/v0.16.1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...