How to compile opensc in windows?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to compile opensc in windows?

Rns Course
Hello

I need to compile opensc-0.11.3. 
On this page:
http://www.opensc-project.org/opensc/wiki/WindowsInstaller

The command "x86: SetEnv.cmd /x86 /Release and nmake /f win32\Makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" zlib.lib" 
is written, while there's not Makefile.msc file in the package. There is  a Makefile.mak in it.

Could you tell me how I should compile it on windows?

THX


_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to compile opensc in windows?

Martin Paljak-4
On Wed, Dec 12, 2012 at 4:53 PM, Rns Course <[hidden email]> wrote:

> Hello
>
> I need to compile opensc-0.11.3.
> On this page:
> http://www.opensc-project.org/opensc/wiki/WindowsInstaller
>
> The command "x86: SetEnv.cmd /x86 /Release and nmake /f win32\Makefile.msc
> LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" zlib.lib"
> is written, while there's not Makefile.msc file in the package. There is  a
> Makefile.mak in it.

Just tested: 1.2.7 *does* include Makefile.msc

Martin
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to compile opensc in windows?

Viktor Tarasov-3
In reply to this post by Rns Course
Le 12/12/2012 15:53, Rns Course a écrit :

> Hello
>
> I need to compile opensc-0.11.3.
> On this page:
> http://www.opensc-project.org/opensc/wiki/WindowsInstaller
>
> The command "x86: SetEnv.cmd /x86 /Release and nmake /f win32\Makefile.msc LOC="-DASMV -DASMINF" OBJA="inffas32.obj match686.obj" zlib.lib"
> is written, while there's not Makefile.msc file in the package. There is  a Makefile.mak in it.
>
> Could you tell me how I should compile it on windows?

Here below are the build commands from jenkins configuration,
used for 'github commit' builds.

win32:
# cd "C:\Program Files\Microsoft Visual Studio 10.0\VC\"
# call vcvarsall.bat x86
# cd "%WORKSPACE%\opensc-*"
# nmake /f Makefile.mak
# cd win32
# nmake /f Makefile.mak OpenSC.msi


win64:
# call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /Release
# cd "%WORKSPACE%\opensc-*"
# nmake /f Makefile.mak BUILD_ON=WIN64 BUILD_FOR=WIN64
# cd win32
# nmake /f Makefile.mak BUILD_ON=WIN64 BUILD_FOR=WIN64 OpenSC.msi


>
> THX
>
>
> _______________________________________________
> opensc-devel mailing list
> [hidden email]
> http://www.opensc-project.org/mailman/listinfo/opensc-devel

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc-project.org/mailman/listinfo/opensc-devel