Jump to content

CCI not finding SystemC installation


Recommended Posts

I am trying to build CCI lib, but I get this error when running ../configure.

Quote

checking SystemC Version IEEE compliant... configure: error: in `path':
configure: error: Non IEEE 1666 compatible SystemC version found, make sure that SystemC can be found and you build with the same compile options as building SystemC
See `config.log' for more details

I installed the systemC from Accella using ../configure 'CXXFLAGS=-std=c++17'

Link to comment
Share on other sites

Did you carefully read the INSTALL.md file?

Better, use Cmake (read cmake/INSTALL_USING_CMAKE). That's what I do. Cmake installation is much easier.

I ran ccmake build-clang using macOS and I see:

 

Quote
 BUILD_SHARED_LIBS                ON
 BUILD_SOURCE_DOCUMENTATION       OFF
 CMAKE_BUILD_TYPE                 RelWithDebInfo
 CMAKE_CXX_STANDARD               17
 CMAKE_INSTALL_PREFIX             $HOME/.local/apps/systemc
 CMAKE_OSX_ARCHITECTURES
 CMAKE_OSX_DEPLOYMENT_TARGET
 CMAKE_OSX_SYSROOT                /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk
 RapidJSON_DIR                    /opt/homebrew/lib/cmake/RapidJSON
 SYSTEMCCCI_BUILD_TESTS           ON
 SystemCCCI_INSTALL_CMAKEDIR      lib/cmake/SystemCCCI
 SystemCLanguage_DIR              $HOME/portable-scripts/.local/src/systemc/build-cmake-clang

Notice the SystemCLanguage_DIR and CMAKE_INSTALL_PREFIX.

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.

Guest
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...