gammasoft71/xtd

[BUG] ./install fails with AUTHORS.md and make with call_stack.h missing

jopadan opened this issue · 7 comments

Output

  1. ./install fails with AUTHORS.md missing.
-- Configuring done
CMake Error at scripts/cmake/xtd_commands.cmake:368 (add_library):
  Cannot find source file:

    /usr/src/libs/framework/xtd/gammasoft71/xtd/build/AUTHORS.md

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
  docs/CMakeLists.txt:302 (target_type)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
Error: could not load cache
Error: could not load cache
  1. make fails with call_stack.h missing.
[ 15%] Building CXX object src/xtd.core/CMakeFiles/xtd.core.dir/src/xtd/diagnostics/source_filter.cpp.o
/usr/src/libs/framework/xtd/gammasoft71/xtd/src/xtd.core/src/xtd/diagnostics/source_filter.cpp:2:10: fatal error: call_stack.h: No such file or directory
    2 | #include <call_stack.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/xtd.core/CMakeFiles/xtd.core.dir/build.make:692: src/xtd.core/CMakeFiles/xtd.core.dir/src/xtd/diagnostics/source_filter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1012: src/xtd.core/CMakeFiles/xtd.core.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

Platform

  • OS: Linux
  • Version: 6.2.10
  • xtd version: master

Hello,

First of all, thank you for your feedback.

I will verify it as soon as soon as possible.

I m trying the latest xtd version of master branch on Ubuntu 22.04 and the installation is working fine.
Can you send me more information about your linux distribution, gcc version, and cmake version.

gcc version 12.2.1 20230401 (Gentoo 12.2.1_p20230401 p14)
cmake version 3.25.20230116 pathrel patched
cflags = -march=broadwell -mfpmath=sse+387 -mveclibabi=svml -O3

Can you get latest version and try again.

Warning
Don't forget to delete the build folder in the xtd root folder.

The listed errors still appear

You can't have the same error because the docs project which contains the AUTHORS.md file is not loaded by default on the last xtd master branch 😉

Make sure you are on the latest version of the master branch of xtd and that the build folder has been removed.

Type the following lines in your terminal:

cd xtd
git checkout master
git pull
rm -rf build
./install

Works after yesterdays commit