On Feb 17, 2011, at 7:56 PM, Viktor TARASOV wrote:

> Hi,
> 
> I'm trying to compile OpenSC on the
> Windows Server 2008 R2 Enterprise OS 64-bit
> using compiler
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 
> 80x86
> installed with Visual Studio v10.0
> 
> It seems that for the quoted form of #include macro preprocessor do not looks 
> for the file to include in the directory of the file that contains this 
> #include statement.
> And so there are the errors like
> scconf.c(32) : fatal error C1083: Cannot open include file: 'scconf.h': No 
> such file or directory
> 
> Everything goes well with the local path added to the 'include path' compiler 
> option. '/I.\ '
> 
> 
> There is no such a problem with
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 
> 80x86
> Windows XP SP3
> OS 32-bit
> 
> 
> I would like to commit the local path in '/I' compiler option. Have you any 
> objection, please?


Can you try with platform SDK for Windows 7 (SDK version 7.1) instead? We've 
had other various issues with VS2010 in .ee , but OpenSC compilation with 
VS2010 for 64bit should work (at least not with this behavior, AFAIK)

Unlike VS Eexpress, platform SDK comes with cross compilers and is a free 
download as well. I'd suggest using Platform SDK for "recommended build 
platform" instead of VS or VS Express.

-- 
@MartinPaljak.net
+3725156495

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to