Hello,
I am currently stuck spending most of my time in a Windows environment, so
I find myself wanting an up-to-date Ledger 3 build. I saw previous
discussions about building with Cygwin. It appears that the last time
Ledger 3 was successfully built with Cygwin was before the conversion to
CMake. Someone tried to build using the new CMake system back in August
2012, but there is no record that they succeeded. So I am trying it now.
I'm stuck at a fairly early step, probably because I don't know much about
CMake. When I run
.acprep config
the CMake system tries to launch the Visual Studio 10 compiler, for which I
do not have a license. (I have a valid 2012 license, though.) It does not
try any other compilers.
I have the Gnu C and C++ compilers installed under Cygwin, so I have tried
git clean -dfx
export CMAKE_CXX_COMPILER="g++"
export CMAKE_C_COMPILER="gcc"
./acprep config
but it still tried to launch the Visual Studio 2010 compiler.
How do I get it to use the Gnu compiler?
Thanks,
Tim Crews