Comments (3)
Good idea! Please let me know if the latest change addressed your issue.
from ftxui.
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.
@ArthurSonzogni do you have by chance any idea?
from ftxui.
Related Issues (20)
- Allow Canvas re-use for optimization HOT 3
- container is passed to renderer as a lambda return value, causing rendering to fail HOT 5
- How to remove focus from an element when hovering with the mouse pointer? HOT 2
- Run-Time Check Failure: Stack Corruption of 'option' Variable HOT 5
- Adding elements in loop HOT 1
- [HELP] - Menu inside frame goes to the top when unfocused HOT 3
- Problems with `Menu`? HOT 2
- When moving the mouse inside the application, a sequence of control characters of the terminal appears. HOT 7
- Improper exiting with signals
- how to make Dropdown without border HOT 1
- when will release new version HOT 4
- Simulate a timeline HOT 2
- dropdown example bugs HOT 2
- Creating an input window, and outputting entered text after hitting enter or special key. HOT 3
- how to hide the cursor HOT 2
- About Support for Full width Characters in FTXUI HOT 10
- Is there an Event handling when CTRL+SHIFT+C is pressed? HOT 2
- From ftxui::Element to std::string or char* HOT 3
- focus problem HOT 2
- Untidy exit on std::terminate() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftxui.