Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
3fd25724
Commit
3fd25724
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Update build instructions
fixes #226 [ci skip]
parent
ddcc0f7f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
README.md
+17
-14
17 additions, 14 deletions
README.md
with
19 additions
and
15 deletions
CMakeLists.txt
+
2
−
1
View file @
3fd25724
...
...
@@ -45,7 +45,8 @@ else()
find_package_handle_standard_args
(
LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARY
)
endif
()
if
(
NOT EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libs/lmdbxx/.git"
)
if
(
NOT EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libs/lmdbxx/.git"
OR
NOT EXISTS
"
${
CMAKE_SOURCE_DIR
}
/libs/matrix-structs/.git"
)
message
(
WARNING
"The git submodules are not available."
)
message
(
STATUS
"Running git submodule update --init --recursive ..."
)
execute_process
(
COMMAND git submodule update --init --recursive
)
...
...
This diff is collapsed.
Click to expand it.
README.md
+
17
−
14
View file @
3fd25724
...
...
@@ -109,19 +109,7 @@ brew install qt5 lmdb cmake llvm
### Building
Clone the repo with its submodules
```
bash
git clone
--recursive
https://github.com/mujx/nheko
```
or
```
bash
git clone https://github.com/mujx/nheko
cd
nheko
git submodule update
--init
--recursive
```
and then run
Clone the repo and run
```
bash
make release
...
...
@@ -134,7 +122,22 @@ cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake
--build
build
```
You might need to pass
`-DCMAKE_PREFIX_PATH=<< Qt install location >>`
to cmake to point it at your qt5 install.
If the build fails with the following error
```
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
```
You might need to pass
`-DCMAKE_PREFIX_PATH`
to cmake to point it at your qt5 install.
e.g on macOS
```
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake --build build
```
The
`nheko`
binary will be located in the
`build`
directory.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment