Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making it does not work #224

Open
NoName298GH opened this issue Apr 27, 2024 · 7 comments
Open

Making it does not work #224

NoName298GH opened this issue Apr 27, 2024 · 7 comments

Comments

@NoName298GH
Copy link

NoName298GH commented Apr 27, 2024

I installed liblcf and Qt 6, but it doesn't work!

@carstene1ns
Copy link
Member

As per the README file, Editor currently needs Qt5, building with version 6 will not work.
Please provide a helpful error message next time, we cannot really help with "does not work".

@carstene1ns carstene1ns closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
@NoName298GH
Copy link
Author

Sorry, I also tried install Qt5 with brew and then I used CMake, but it gave me:
"CMake Error at CMakeLists.txt:381 (find_package):
Could not find a package configuration file provided by "Qt5" with any of
the following names:

Qt5Config.cmake
qt5-config.cmake

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

@fdelapena
Copy link
Contributor

Assuming you tried brew install qt@5.

Did you try to add the following in your cmake line? -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5

@NoName298GH
Copy link
Author

NoName298GH commented Apr 28, 2024

It said "zsh: no such file or directory: -DQt5_DIR=/opt/homebrew/opt/qt@5/lib/cmake/Qt5"
(I'm using Z shell.)

@fdelapena
Copy link
Contributor

I guess you forgot to add it to the first command:

cmake . -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5

Then:

cmake --build

@NoName298GH
Copy link
Author

It gave me this error:
"CMake Error at /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Failed to find all ICU components (missing: ICU_LIBRARY
_ICU_REQUIRED_LIBS_FOUND) (found version "70.2")
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/FindICU.cmake:334 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/opt/homebrew/lib/cmake/liblcf/liblcf-config.cmake:30 (find_dependency)
CMakeLists.txt:411 (find_package)"

@carstene1ns
Copy link
Member

As the error message says, you need ICU.

@carstene1ns carstene1ns reopened this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants