• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

What's the easiest/cheapest way to compile from GitHub source?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

JeremyCT

Member
Joined
Feb 26, 2009
Location
CT
I am not a programmer. I've done some light scripting in the past. I took a course on Fortran in college 15 years ago, and another on html a few years after that.

That said, I'd like to compile a program from source from GitHub. Specifically, this one: https://github.com/cbuchner1/ccminer/

There's no reason (or money) for me to actually buy Visual Studio, so that's out. Can this sort of thing be compiled easily or simply using free tools? Would Visual Studio Express Desktop be enough? Would a novice like me be lost going to my computer lab at school (yes, I'm back in college again) and trying to use Visual Studio there?

What options do I have?
 
I've been trying to get it compiled through Visual Studio for you since you posted, but this project is an absolute mess and I can't get it to compile.
 
I know it requires the Visual C++ Redistributable for Visual Studio and I suspect it also requires the nVidia CUDA Toolkit since it's a CUDA program.

Thanks for trying. I might try my hand at Visual Studio Express Desktop. I'll be sure to report back if I find something that works.
 
The CUDA Toolkit doesn't support Visual Studio Express. I would guess that the express version doesn't have the plugin functionality required.
 
More specifically (because I was messing with it this morning). CUDA Toolkit 6.0 installs just fine, but this project requires CUDA Toolkit 5.5 for some reason. CUDA Toolkit 5.5 will not install unless it finds a version of Visual Studio installed that it can play nicely with. Visual Studio Express Desktop apparently does not fit the bill.

If this is how much fun it is to get a program to compile, I can only imagine how much fun it is to actually write one. :mad:
 
Tried it on a system with VS 2010 Pro. CUDA toolkit 5.5 installed fine, but the program still couldn't be built. Probably due to similar issues as Thideras saw. I guess I'll just have to wait for official releases like the rest of the mere mortals.

It's too bad, because the commit notes allude to some impressive speed increases for X11, and that's what I've been doing mostly lately.
 
I got about a 22% hashrate increase on X11 with the new version. I'm hitting 4.1 MH/s for my 750ti and 660ti combined.

550ti support is not included in this build, only compute 3.0 and higher. I think somebody did compile a CUDA compute 2.1 version for the "original" 1.0 ccminer. Google might find it for you, I'm not sure what performance is like.
 
I got about a 22% hashrate increase on X11 with the new version. I'm hitting 4.1 MH/s for my 750ti and 660ti combined.

550ti support is not included in this build, only compute 3.0 and higher. I think somebody did compile a CUDA compute 2.1 version for the "original" 1.0 ccminer. Google might find it for you, I'm not sure what performance is like.

Probably still horrible :p
 
Back