Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build systemc example #8

Open
Aishusiva opened this issue Nov 20, 2020 · 9 comments
Open

Unable to build systemc example #8

Aishusiva opened this issue Nov 20, 2020 · 9 comments

Comments

@Aishusiva
Copy link

After running this line on gitbash ------"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" .. -G"Visual Studio 16 2019" -DCMAKE_CXX_FLAGS="-D_CRT_SECURE_NO_DEPRECATE /EHsc /MP4" -DAFF3CT_COMPILE_EXE="OFF" -DAFF3CT_COMPILE_STATIC_LIB="ON" -DAFF3CT_COMPILE_SHARED_LIB="ON" -DAFF3CT_SYSTEMC_MODULE="OFF"

This the error I got-----------CMake Error at CMakeLists.txt:19 (find_package):
By not providing "FindSystemC.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SystemC", but
CMake did not find one.

Could not find a package configuration file provided by "SystemC" with any
of the following names:

SystemCConfig.cmake
systemc-config.cmake

Add the installation prefix of "SystemC" to CMAKE_PREFIX_PATH or set
"SystemC_DIR" to a directory containing one of the above files. If
"SystemC" provides a separate development package or SDK, be sure it has
been installed.

@kouchy
Copy link
Member

kouchy commented Nov 20, 2020

Do you need SystemC? What version of AFF3CT are you trying to compile?

@Aishusiva
Copy link
Author

I have compiled aff3ct 2.3.4.

@Aishusiva
Copy link
Author

#include <systemc>

@Aishusiva
Copy link
Author

Its showing error at the above line.

@Aishusiva
Copy link
Author

I have installed systemc library and added it to my code in visual studio.But I am getting error in these lines.
image

@Aishusiva
Copy link
Author

and this is the error
image

@Aishusiva
Copy link
Author

I am using aff3ct 2.3.4 library and systemc 2.3.4 library.
I am getting this error when trying to build the program

E0135 class "aff3ct::module::Encoder_repetition_sys" has no member "sc" SYSTEMC_TRIAL_AFF3CT

@kouchy
Copy link
Member

kouchy commented Jun 17, 2021

See #10 (comment).

@Aishusiva
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants