Jump to content

Recommended Posts

Posted

Hello,

Not too sure where to post this. But I will post it here: I am having trouble installing SystemC-AMS.

Installation details:

I have already installed SystemC in /home/<user>/systemc-3.0.1 following the instruction in INSTALL. (do note that I have also attempted all of the processes with using cmake-gui and cmake of which yields the same result).

The SystemC self-tests pass perfectly fine.

I begin installing SystemC-ams to /home/<user>/systemc-ams-2.3.4 and that is where the issue occurs.

Do note that I have the following in my terminal config dotfile (.zshrc):

export SYSTEMC_HOME=/home/<user>/systemc-3.0.1
if [[ "$LD_LIBRARY_PATH" == "" ]]; then
        LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYSTEMC_HOME/lib64-linux64
else
        LD_LIBRARY_PATH=$SYSTEMC_HOME/lib64-linux64
fi

Issue:

When installing SystemC-AMS, I get the following error during invoking ../configure:

...
checking for systemc >= 2.2.0... no
..
checking whether SystemC executable can be built... configure: error: in `/home/julian/systemc-ams-2.3.4/objdir':
configure: error: SystemC executable cannot be built. Used CXXFLAGS: -I/home/julian/systemc-3.0.1/include  Used LIBS:  -L/home/julian/systemc-3.0.1/lib-linux64 -lsystemc . This check can be disabled with --disable-systemc_compile_check

Attempted Solution:

I have tried making a symlink to the folder via:

ln -s lib64-linux64 lib-linux64

But that seems to not achieve anything, and I'm pretty much at a loss as to what I can even attempt to try next, so any help/ideas would be much appreciated.

Tool Versions:

Operating System: Opensuse Tumbleweed
g++ version: g++ (SUSE Linux) 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]
SystemC Version: 3.0.1
SystemC-AMS Version: 2.3.4

 

Thanks.

  • 2 weeks later...
Posted

Hello @JulianK,

You had the right idea to create a symlink:

But I think your command parameters is wrong.

# Command has to be run from: $SYSTEMC_HOME/lib of $SYSTEMC_HOME/lib64 dependending on your SystemC library installation.
ln -s lib lib-linux64
# or
ln -s lib64 lib-linux64

Hope this helps.

Regards,

Ameya Vikram Singh

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