Comments (5)
Windows is supported using MSYS and MINGW compiler. I don't know how to build with MSVC, but if you manage to get it working, we can update the instructions accordingly.
The unbound dependency is installed using pacman on MSYS2 from the Windows instructions.
It may be possible to use the installed unbound lib by copying from its installed path or by hacking CMakeLists.txt to use a custom path. Again, I don't know.
from monero-cpp.
The unbound dependency is installed using pacman on MSYS2 from the Windows instructions.
It may be possible to use the installed unbound lib by copying from its installed path or by hacking CMakeLists.txt to use a custom path. Again, I don't know
I found their project: https://github.com/NLnetLabs/unbound.
As I understand it, it's just not possible to compile it through MSVC.
But they supply libraries:
https://nlnetlabs.nl/downloads/unbound/unbound-1.17.0.zip, where you can find *.dll and *.a files, but again, this is only good if I compile using the mingw compiler, as I understand .
pacman installs the unbound dependencies, which also have *.dll and *.a files, which are most likely compiled via mingw. I tested this one too :)
From the other side: what does libunbound affect? I essentially need the functionality of access to the node: getting balances, history, network fee, sending transactions. Is it possible to completely remove libunbound from the project without breaking its functionality so that I can compile it? Although I suspect that libunbound will not be the only problem when compiling with MSVC compiler :)
from monero-cpp.
From the other side: what does libunbound affect? I essentially need the functionality of access to the node: getting balances, history, network fee, sending transactions. Is it possible to completely remove libunbound from the project without breaking its functionality so that I can compile it? Although I suspect that libunbound will not be the only problem when compiling with MSVC compiler :)
This is a good question for #monero-dev, since they recently unvendored libunbound and updated the build to use an external version.
from monero-cpp.
This is a good question for #monero-dev, since they recently unvendored libunbound and updated the build to use an external version.
I assume it hasn't been merged into master yet?
In any case, I will try to compile my entire project with the mingw compiler on Windows. If I succeed, then this will be the solution to the problem.
I also have an idea to use Python and Boost. Try to execute Python scripts in C++ through the Boost library. I think if initially write everything in Python, then there will not be such compilation problems that occur in C++..
from monero-cpp.
I assume it hasn't been merged into master yet?
It's been merged into master branch and included in previous releases of monero-project.
The Windows instructions in monero-project use MSYS2 and MingGW. Compiling monero-project as an external dependency would be the first step.
from monero-cpp.
Related Issues (20)
- Add LICENSE file HOT 1
- Native crash when I set priority HOT 2
- Libboost v1.74 - error: call of overloaded addJsonMember is ambiguous HOT 2
- Test Build on Windows HOT 4
- Remove dependency on wallet_merged in monero-project HOT 1
- Request to update fork of Monero used with this repo HOT 2
- Missing libwallet-crypto.a HOT 13
- When I use msys2 to operate 'Using this library in your project' on window, I get the following exception, I am not familiar with cmake and don't know how to solve this problem. HOT 12
- How to link and compile sample_code with the shared library ? HOT 3
- "monero-cpp" does not compile on Linux (Ubuntu 20) HOT 5
- Undefined reference to strlcpy and Proto* when building monero-project HOT 1
- Segfault when creating in-memory wallet using `monero_wallet_full::create_wallet()` HOT 2
- window构建失败 HOT 2
- Error when linking a static library HOT 4
- Can't create view-only wallet without depreciated monero_wallet_full::create_wallet_from_keys HOT 7
- Windows build error HOT 2
- Issue building shared library HOT 20
- Test bounty system [0.1 XMR]
- Test bounty system [0.1 XMR] 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 monero-cpp.