Free open-source modern C++17 / C++20 framework to create console, GUI (forms like WinForms) and unit test applications and libraries on Microsoft Windows, Apple macOS and Linux.
Create a new xtd forms project with the xtdc-gui tool
Open project the created project folder and create a build folder
run cd build and cmake .. You will see issue:
CMake Error
```txt
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/cmake/xtd-noconfig.cmake:9 (set_property):
set_property could not find TARGET xtd.3rdparty.call_stack. Perhaps it has
not yet been created.
Call Stack (most recent call first):
/usr/local/cmake/xtd.cmake:165 (include)
/usr/local/cmake/xtdConfig.cmake:2 (include)
CMakeLists.txt:5 (find_package)
CMake Error at /usr/local/cmake/xtd-noconfig.cmake:10 (set_target_properties):
set_target_properties Can not find target to add properties to:
xtd.3rdparty.call_stack
Call Stack (most recent call first):
/usr/local/cmake/xtd.cmake:165 (include)
/usr/local/cmake/xtdConfig.cmake:2 (include)
CMakeLists.txt:5 (find_package)
CMake Error at /usr/local/cmake/xtd.cmake:175 (message):
The imported target "xtd.3rdparty.call_stack" references the file
"/usr/local/lib/libxtd.3rdparty.call_stack.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/local/cmake/xtd.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/local/cmake/xtdConfig.cmake:2 (include)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
```
Describe the bug
Could not generate build files for a new xtd.forms project.
To Reproduce
build
folderrun
cd build
andcmake ..
You will see issue:CMake Error
```txt -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at /usr/local/cmake/xtd-noconfig.cmake:9 (set_property): set_property could not find TARGET xtd.3rdparty.call_stack. Perhaps it has not yet been created. Call Stack (most recent call first): /usr/local/cmake/xtd.cmake:165 (include) /usr/local/cmake/xtdConfig.cmake:2 (include) CMakeLists.txt:5 (find_package) CMake Error at /usr/local/cmake/xtd-noconfig.cmake:10 (set_target_properties): set_target_properties Can not find target to add properties to: xtd.3rdparty.call_stack Call Stack (most recent call first): /usr/local/cmake/xtd.cmake:165 (include) /usr/local/cmake/xtdConfig.cmake:2 (include) CMakeLists.txt:5 (find_package) CMake Error at /usr/local/cmake/xtd.cmake:175 (message): The imported target "xtd.3rdparty.call_stack" references the file "/usr/local/lib/libxtd.3rdparty.call_stack.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/cmake/xtd.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/cmake/xtdConfig.cmake:2 (include) CMakeLists.txt:5 (find_package) -- Configuring incomplete, errors occurred! ```Expected behaviour
The build files to be generated with no issues.
Desktop