Giter Site home page Giter Site logo

Comments (5)

woodser avatar woodser commented on May 20, 2024

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.

 avatar commented on May 20, 2024

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.

woodser avatar woodser commented on May 20, 2024

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.

 avatar commented on May 20, 2024

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.

woodser avatar woodser commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.