shinyquagsire23 / OpenJKDF2

A cross-platform reimplementation of JKDF2 in C
Other
501 stars 41 forks source link

Fails to build on Ubuntu 22.04 #228

Closed gderber closed 1 year ago

gderber commented 1 year ago

I am confused as can be.

I successfully build this on Debian Bookworm.

I tried on another system, ubuntu 22.04 and it fails miserably. I tried both v0.8.8 and HEAD.

I installed all dependencies then ran

export CC=clang
export CXX=clang++

./build_linux64.sh

I've attached the log files.

This may or may not be related to #225 I wasn't certain.

CMakeError.log CMakeOutput.log

Ubuntu 22.04: cmake is 3.22.1 Clang is 14.0.0

Debian testing: cmake is 3.25.1 clang 14.0.6

gderber commented 1 year ago

Problem resolved by adding "libstdc++-12-dev" to the list of dependencies. My debian system already had it installed.