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

Ubuntu modeltest-gui failed! #70

Open
cypheroJ opened this issue Jul 23, 2024 · 2 comments
Open

Ubuntu modeltest-gui failed! #70

cypheroJ opened this issue Jul 23, 2024 · 2 comments

Comments

@cypheroJ
Copy link

I run the command: modeltest-gui
I got modeltest-gui: command not found

after finished installing modeltest-ng
Screenshot 2024-07-23 151649

My qmake version:
Screenshot 2024-07-23 151814

@ddarriba
Copy link
Owner

If you followed the installation instructions, it seems you have built a non-graphical version. In order to generate the modeltest-gui binary it is necessary to build the GUI version:

mkdir build && cd build
cmake -DENABLE_GUI=ON ..
make

@cypheroJ
Copy link
Author

I have followed the GUI version instructions. Is there any possibility that previously installed non-GUI version will affect the further cmake?

I tried following your instructions, cmake is still not working.

CMake Deprecation Warning at libs/pll-modules/src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Will compile pll-module optimize
-- Will compile pll-module algorithm
-- Will compile pll-module binary
-- Will compile pll-module msa
-- Will compile pll-module tree
-- Will compile pll-module util
-- Compiler: GNU 11.4.0 => /usr/bin/c++
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

ENABLED_GUI

[ 97%] Building CXX object src/CMakeFiles/modeltest_module.dir/treepll.cpp.o
[ 98%] Building CXX object src/CMakeFiles/modeltest_module.dir/utils.cpp.o
[ 99%] Linking CXX executable ../../bin/modeltest-ng
[100%] Built target modeltest_module
(base) huanglabserver@huanglabserver-w70:~/modeltest-ng/build$ modeltest-ng
modeltest-ng was compiled without GUI support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants