Comments (17)
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.
Your answer is in Readme.md
from xmr-stak-cpu.
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.
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.
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.
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.
The ones that I included are here https://indy.fulgan.com/SSL/
from xmr-stak-cpu.
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.
Those are binaries. For headers you need the openssl source.
from xmr-stak-cpu.
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.
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.
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.
you need to link the application against the link libs that came with the dll
from xmr-stak-cpu.
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!
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.
I think I had problems with those OpenSSL binaries too - try using the same ones that I did.
from xmr-stak-cpu.
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.
Includes are in OpenSSL source code
from xmr-stak-cpu.
Related Issues (20)
- Getting only 140 h/s with AMD Threadripper 1950x HOT 1
- The program locks on this part HOT 1
- Can't enable all logical processors on multi cpu
- SOCKET ERROR - [pool.sumokoin.com:443] SEND error: An established connection was aborted by the software in your host machine. HOT 5
- We can doante it,Can you updata this version xmr-stak-cpu for us to mine xmr v7?thank you HOT 1
- Panda Antivirus showing xmr-stak-cpu.exe as trojan HOT 2
- cent os 7 , Result rejected by the pool. HOT 3
- Low hashrate on Xeon E5-2620 HOT 2
- remote throttling ? HOT 2
- Invalid config file 'config.txt'. Missing value "print_m otd". HOT 2
- stak crashes on one rig HOT 1
- hwloc: can't bind memory on linux
- Anybody who know how I can update to hardforked monero algorithm? HOT 3
- [2019-07-17 09:04:46] : JSON config parse error(offset 6151): Invalid escape character in string. HOT 1
- Linux how to compile all dependencies in the executable HOT 1
- [CUDA] Error gpu 0: <C:/xmr-stak/xmr-stak-rx-win64-1.0.1/xmrstak/blackend/nvidia/RandomX/randomx.cu>:33
- [xmr-stak-rx-linux-1.0.5-cpu] hwloc 2.2.0 received invalid information from the operating system.
- xmr-stak flowchart
- error with httpd? during build and compile HOT 2
- Error gpu, can't use more than 4 gpu.
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 xmr-stak-cpu.