Giter VIP home page Giter VIP logo

Comments (3)

ArthurSonzogni avatar ArthurSonzogni commented on June 9, 2024

Good idea! Please let me know if the latest change addressed your issue.

from ftxui.

jubalh avatar jubalh commented on June 9, 2024

Thanks for the quick response!

Yes that looks good.

On my system I have a problem but I assume that is my fault somehow:

$ cat CMakeLists.txt 
cmake_minimum_required (VERSION 3.11)

cmake_minimum_required (VERSION 3.11)
find_package(ftxui 5 REQUIRED)
project(ftxui-starter LANGUAGES CXX VERSION 1.0.0)
add_executable(ftxui-starter src/main.cpp)
target_link_libraries(ftxui-starter
  PRIVATE ftxui::screen
  PRIVATE ftxui::dom
  PRIVATE ftxui::component # Not needed for this example.
)

$ mkdir build; cd build
$ cmake ..
CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "Findftxui.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ftxui", but
  CMake did not find one.

  Could not find a package configuration file provided by "ftxui" (requested
  version 5) with any of the following names:

    ftxuiConfig.cmake
    ftxui-config.cmake

  Add the installation prefix of "ftxui" to CMAKE_PREFIX_PATH or set
  "ftxui_DIR" to a directory containing one of the above files.  If "ftxui"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
$ rpm -ql ftxui-devel|grep .cmake
/usr/lib64/cmake/ftxui
/usr/lib64/cmake/ftxui/ftxui-config-version.cmake
/usr/lib64/cmake/ftxui/ftxui-config.cmake
/usr/lib64/cmake/ftxui/ftxui-targets-relwithdebinfo.cmake
/usr/lib64/cmake/ftxui/ftxui-targets.cmake

As a test I did export CMAKE_MODULE_PATH=/usr/lib64/cmake/ftxui but still get the same.
In case you have an idea that would be great. But I consider this issue still as solved since the rest seems to be a problem on my side.

from ftxui.

jubalh avatar jubalh commented on June 9, 2024

@ArthurSonzogni do you have by chance any idea?

from ftxui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.