Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Compilation issues on Ubuntu 22.04.2 LTS (and solutions) #11

Open
gijswijs opened this issue Jul 10, 2023 · 0 comments
Open

Compilation issues on Ubuntu 22.04.2 LTS (and solutions) #11

gijswijs opened this issue Jul 10, 2023 · 0 comments

Comments

@gijswijs
Copy link

I had some issues with compiling this from source on Ubuntu 22.04.2 LTS.

After running ./autogen.sh and ./configure, in latte-int-1.7.5/code/latte/Makefile I had to add the -std=c++11 flag to the CXXFLAGS variable. It now reads on line 983:

CXXFLAGS = -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -std=c++11

Otherwise Make would halt with an error saying ISO C++17 does not allow dynamic exception specifications

After that, the built succeeded but I got some issues when running count. It threw errors saying: error while loading shared libraries xxx.so

Running ldconfig as root to update the cache solved that partly, but the cddlib just couldn't be found. After installing that from https://github.com/cddlib/cddlib everything worked for me.

So I can now say that LattE has been successfully built on Ubuntu Linux 22.04.2 LTS (x86_64) with GCC 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1)

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

No branches or pull requests

1 participant