Git Product home page Git Product logo

Comments (17)

fluffyblockchain avatar fluffyblockchain commented on June 29, 2024 2

just install this and ure fine
apt-get install libssl-dev libmicrohttpd-dev hwloc libhwloc-dev -y

dont forget to clean cmake temp files after error

`rm -r CMakeFiles/ CMakeCache.txtยด

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

Your answer is in Readme.md

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Wish it was. I am using Windows. As for software i use CMake with Visual Studio 14 2015.

I could fix it by manually adding the microhttpd file with CMake GUI but instantly after that it starts whining about OpenSSL etc. Just curious if the software i use is a problem?

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

Just vs14 is how I compile it. You are just making your life harder for no benefit - you now have two complicated things (cmake and an ide) doing the same job.

For the way I do things you will need to build or download the binaries and link libs of microhttpd and openssl - you can also take out the dependencies fairly easily if you won't use them, as I wrote them to be self-contained. I will get round to that after the amd update.

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Alright cool. Yeah i'm pretty new to this world. I've always did some PHP and mostly designing before and i just started to get to know C# a little. Yet i can't even compile a script like this.

When i try to import this project into Visual Studio 14 it tells me that a file is corrupt i think ( not at home now can't check ). Could you tell me what files i need or how i can open this in Visual Studio. I'm sure i can figure everything out once i am able to open it into Visual Studio. I used CMake and VS14 as compiler but that's just way outta my league ( i have no idea what i'm doing and how to fix errors that way ).

In Visual Studo 14 i use > New Project > Import existing project > C++. ( also can't check exact steps right now but that should be close ).

If you could help me opening up this project in Visual Studio i would be so happy. I really want to be able to compile this miner myself.

EDIT: This is the error i'm getting in VS 14

Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- minertest, "S:\Compile\miner\minertest.vcxproj"

No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- minertest, "S:\Compile\miner\minertest.sln"

Thanks!

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Oh man i finally found the issue. I upgraded to WIndows 10 while installing VIsual Studio afterwards. This f* up my Visual Studio C++ pack. This is why i've never been able to open the project or compile it!

Got my laptop out now but i am not sure if i can find the correct SSL libraries. Will take a look later but is it possible for you to post me a link to the SSL libraries?

Thanks!

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

The ones that I included are here https://indy.fulgan.com/SSL/

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Thanks! Yet i am still not sure how this works. I downloaded almost all of those files hoping to find a ssl.h file.

Guess it's my major lack of knowledge but i'm afraid it isn't just a ssl.h file i need to download right?

Sorry for taking up your time so much i'm pretty sure you got a lot more to do but if i figure out how i can try out the rest myself. Any idea on how to get the exact ssl.h file this project requires? ( as far as i know )?

Again really sorry man i know your talking to a "noob". I know it's annoying!

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

Those are binaries. For headers you need the openssl source.

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Alright i'm lost.

I downloaded every single file out there, running all .exe files but i just can't figure it out.
If for example i download https://indy.fulgan.com/SSL/Archive/openssl-1.0.0d-x64_86-win64.zip and run the exe i get a error "Can't open config file: /usr/local/ssl/openssl.conf".

/usr etc isn't even Windows right?

Well i can't ask you any more of your time wish i knew how to fix it.

Thanks!

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Alright i think i found all headers! I've downloaded one sort of installer which installed the complete source. Since i have all files, should i drag them all into the headers in Visual Studio in the headers folder?

Copying all files into the miner folder as in miner/openssl will include the headers into my project but will look for all the other includes in openssl/otherfiles.h which it can not find.

Ex: fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such file or directory

Btw you have the perfect right to ignore me if your done with it. I know this is not your task i just hope i can compile it somehow. Would save me a lot with my issues.

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Alright alright alright i finally found out how to add them.

Got it figured out. Though there is one more little issue. One compile error i still get is:
Error LNK1104 cannot open file 'libeay32.lib'

I will try to figure this one out but i guess i will be able to find it out soon. Guess this has to do with the 2 dll files you included in the latest release which i should add somehow in my project.

I want to thank you for your patience.

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

you need to link the application against the link libs that came with the dll

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

Hey man. I still have some issues but i figured after taking so much time of you i might be better of writing down ALL my exact steps so it might be easier to see what i do wrong. Could you please take a quick look at my steps and tell me if there is anything i am doing wrong? I now have 4 errors left. Thanks man!

http://pastebin.com/1wTL0HUp

P.S this is only with the latest source. Previous version is compiling fine. So i guess it's a OpenSSL problem for me.

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

I think I had problems with those OpenSSL binaries too - try using the same ones that I did.

from xmr-stak-cpu.

Allardje avatar Allardje commented on June 29, 2024

That's also where i am not 100% sure if i'm doing it correct. From the link you provided i can only find the 2 libs ( ssleay32.lib and libeay32.lib ) files.

Those 2 i copied and paste into the lib folder from the files i got when i used the installer.

Other than that i can not find any other files on the link you provided with the complete libs and includes.

from xmr-stak-cpu.

fireice-uk avatar fireice-uk commented on June 29, 2024

Includes are in OpenSSL source code

from xmr-stak-cpu.

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.