[Yhc] Visual Studio 2005 gives libc.lib missing errors
Peter Tanski
p.tanski at gmail.com
Mon Jan 8 13:05:01 EST 2007
On Jan 8, 2007, at 12:40 PM, Neil Mitchell wrote:
>> To my knowledge, VS 2005 does not contain the static runtime
>> libraries, although the Platform SDK does contain some static
>> libraries, such as libcp.lib.
>
> I didn't spot any Platform ones that get installed by default with VS
> 2005. I guess the platform SDK may have some, but there isn't nearly
> enough space on the laptop for the platform SDK.
That's really too bad since without using mingw or cygwin tools basic
Win32 files like "windows.h" only come with the Platform SDK now.
>> 1) Anyone know a version of gmp which will work with all VS versions?
>>
>> There are precompiled .DLL versions of GMP for Windows and directions
>> for compiling it as a DLL under cygwin and patch files for compiling
>> under VC++.NET at:
>> http://cs.nyu.edu/exact/core/gmp/
>
> Yes, those are the _only_ versions of GMP I've found. The compiled
> versions don't work under VS 2005. The version Yhc ships with is taken
> from there. I suspect recompiling would work, but GMP is very well
> known for randomly breaking compilers, so a solution that doesn't
> involve compiling it myself would be strongly preferable.
There are also binaries under the ClamAV Native Win32 Port, at
http://oss.netfarm.it/clamav/
If that doesn't work and you still need to build GMP, there are also
some notes on building GMP under VS 2005 at:
http://www.swox.com/list-archives/gmp-discuss/2006-March/002212.html
Note that these directions require using Yasm. I have been using the
Yasm assembler and it works well; use revision after r1713. See
http://www.tortall.net/projects/yasm/wiki/Download, grab the 'latest
snapshot' and rename it to 'yasm'.
Cheers,
Pete
More information about the Yhc
mailing list