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

tweaks for ubuntu 22.04 #434

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
Thumbs.db
._*
.idea
.vs/*
.vs/*
.vscode/settings.json
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,26 @@ Recommended OS versions: Ubuntu 20.04, 22.04 LTS.
6. [*OPTIONAL*] Set global environment variables for convenient use\
For instance, by adding the following lines to `~/.bashrc`

### Ubuntu 22.04

[*server version*]

export Boost_INCLUDE_DIRS=/usr/include/boost
export ZANO_USE_SYSTEM_BOOST


[*GUI version*]

export Boost_INCLUDE_DIRS=/usr/include/boost
export ZANO_USE_SYSTEM_BOOST
export QT_PREFIX_PATH=/home/user/Qt5.11.2/5.11.2/gcc_64

**NOTICE: Please edit the lines above according to your actual paths.**

**NOTICE 2:** Make sure you've restarted your terminal session (by reopening the terminal window or reconnecting the server) to apply these changes.

### Ubuntu 18.04 & 20.04

[*server version*]

export BOOST_ROOT=/home/user/boost_1_70_0
Expand Down
3 changes: 3 additions & 0 deletions src/currency_core/bc_offers_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

#pragma once
#include <boost/serialization/serialization.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/version.hpp>
#include <boost/serialization/list.hpp>

Expand Down
4 changes: 4 additions & 0 deletions src/wallet/decoy_selection.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

#pragma once
#include <memory>
#include <boost/serialization/serialization.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/list.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/deque.hpp>
Expand Down
4 changes: 4 additions & 0 deletions src/wallet/wallet2.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

#pragma once
#include <memory>
#include <boost/serialization/serialization.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/list.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/deque.hpp>
Expand Down
4 changes: 4 additions & 0 deletions src/wallet/wallet_chain_shortener.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
#pragma once
#pragma once
#include <memory>
#include <boost/serialization/serialization.hpp>
#if BOOST_VERSION >= 107400
#include <boost/serialization/library_version_type.hpp>
#endif
#include <boost/serialization/list.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/serialization/deque.hpp>
Expand Down