Xournalpp: Build problem on Ubuntu 20.04

Created on 30 Mar 2020  路  3Comments  路  Source: xournalpp/xournalpp

Hi All,
This was building fine on Ubuntu 20.04 until yesterday. Now I get:

[ 16%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectEncoding.cpp.o
[ 16%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectInputStream.cpp.o
[ 16%] Building CXX object src/util/CMakeFiles/util.dir/serializing/ObjectOutputStream.cpp.o
[ 17%] Linking CXX static library libutil.a
[ 17%] Built target util
make: * [Makefile:152: all] Error 2

This is after a git pull, cmake ../, make clean, and make. I'm not good with Makefiles, and couldn't see what was wrong looking at this one. It could be a problem with Ubuntu 20.04, as they are adding things left and right at this time. Generally I have found it to work fine though.

Rob

bug

Most helpful comment

Thanks for the tip about removing the build directory, and starting over. That solved the issue!
Rob

All 3 comments

@frohro As you can probably guess we can't really help you from that log output. Could you provide some more information? Set log output to verbose maybe?

The problem is, that errorcodes can mean everything when the software does not implement a common standard. But when we assume it does, some file or directory is missing or can't be accessed.
Maybe your CMake cache is corrupted.
Try to touch ../CMakeLists.txt from the build directory or delete the build dir.

Thanks for the tip about removing the build directory, and starting over. That solved the issue!
Rob

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cbm755 picture cbm755  路  3Comments

Encefaloniel picture Encefaloniel  路  4Comments

Mitmischer picture Mitmischer  路  3Comments

enricoar picture enricoar  路  3Comments

greghab picture greghab  路  5Comments