<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am having trouble c<st1:PersonName w:st="on">om</st1:PersonName>piling
gsapi.c on my Windows system.&nbsp; GSAPI is an interface to GNU Ghostscript. I
am running VS 2005 on an XP c<st1:PersonName w:st="on">om</st1:PersonName>puter.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Has anyone had any luck c<st1:PersonName w:st="on">om</st1:PersonName>piling
gsapi.c on a Windows machine? Do you have any hints as to how I can g<st1:PersonName
w:st="on">et</st1:PersonName> gsapi.c to c<st1:PersonName w:st="on">om</st1:PersonName>pile
in my environment? </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>-Tony</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
Y:\Products\PPMPackages\5.8plus\GSAPI-0.5&gt;perl makefile.pl<br>
Note (probably harmless): No library found for -lgs<br>
Note (probably harmless): No library found for oldnames.lib<br>
Note (probably harmless): No library found for kernel32.lib<br>
Note (probably harmless): No library found for user32.lib<br>
Note (probably harmless): No library found for gdi32.lib<br>
Note (probably harmless): No library found for winspool.lib<br>
Note (probably harmless): No library found for c<st1:PersonName w:st="on">om</st1:PersonName>dlg32.lib<br>
Note (probably harmless): No library found for advapi32.lib<br>
Note (probably harmless): No library found for shell32.lib<br>
Note (probably harmless): No library found for ole32.lib<br>
Note (probably harmless): No library found for oleaut32.lib<br>
Note (probably harmless): No library found for n<st1:PersonName w:st="on">et</st1:PersonName>api32.lib<br>
Note (probably harmless): No library found for uuid.lib<br>
Note (probably harmless): No library found for ws2_32.lib<br>
Note (probably harmless): No library found for mpr.lib<br>
Note (probably harmless): No library found for winmm.lib<br>
Note (probably harmless): No library found for version.lib<br>
Note (probably harmless): No library found for odbc32.lib<br>
Note (probably harmless): No library found for odbccp32.lib<br>
Note (probably harmless): No library found for msvcrt.lib<br>
Writing Makefile for GSAPI<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Y:\Products\PPMPackages\5.8plus\GSAPI-0.5&gt;..\bin\nmake<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Microsoft (R) Program Maintenance Utility&nbsp;&nbsp; Version 1.50<br>
Copyright (c) Microsoft Corp 1988-94. All rights reserved.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl -c&nbsp; -<st1:place
w:st="on">I.</st1:place> -I&quot;C:/Program Files/Microsoft Visual Studio
8/VC/include/&quot; -I&quot;C:/Program Files/Microsoft Platform
SDK/Include/&quot;<br>
&nbsp;-I&quot;Y:/Products/PPMPackages/5.8plus/ghostscript-8.63/src&quot;&nbsp;
-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DH<br>
AVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_RE<br>
ADFIX -MD -Zi -DNDEBUG -O1&nbsp;&nbsp;&nbsp; -DVERSION=\&quot;0.5\&quot;&nbsp;
-DXS_VERSION=\&quot;0.5\&quot;&nbsp; &quot;-IC:\Perl\lib\CORE&quot;&nbsp;&nbsp;
GSAPI.c<br>
GSAPI.c<br>
GSAPI.xs(13) : error C2143: syntax error : missing '{' before '*'<br>
GSAPI.xs(141) : warning C4018: '&gt;' : signed/unsigned mismatch<br>
GSAPI.xs(377) : warning C4034: sizeof r<st1:PersonName w:st="on">et</st1:PersonName>urns
0<br>
GSAPI.xs(377) : warning C4034: sizeof r<st1:PersonName w:st="on">et</st1:PersonName>urns
0<br>
GSAPI.xs(377) : warning C4034: sizeof r<st1:PersonName w:st="on">et</st1:PersonName>urns
0<br>
GSAPI.xs(435) : error C2065: 'gs_main_instance' : undeclared identifier<br>
GSAPI.xs(435) : error C2065: 'inst' : undeclared identifier<br>
GSAPI.xs(435) : error C2106: '=' : left operand must be l-value<br>
GSAPI.c(589) : error C2146: syntax error : missing ';' before identifier
'RETVAL'<br>
GSAPI.c(589) : error C2065: 'RETVAL' : undeclared identifier<br>
GSAPI.xs(437) : warning C4047: 'function' : 'void **' differs in levels of
indirection fr<st1:PersonName w:st="on">om</st1:PersonName> 'int *'<br>
GSAPI.xs(437) : warning C4022: 'gsapi_new_instance' : pointer mismatch for
actual param<st1:PersonName w:st="on">et</st1:PersonName>er 1<br>
GSAPI.c(613) : error C2146: syntax error : missing ';' before identifier 'inst'<br>
GSAPI.c(617) : error C2064: term does not evaluate to a function taking -22
arguments<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Calibri><span
style='font-size:12.0pt;font-family:Calibri;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Calibri><span
style='font-size:12.0pt;font-family:Calibri;color:black'>&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=Calibri><span
style='font-size:12.0pt;font-family:Calibri;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>GSAPI.xs(544) : fatal error C1903: unable to recover fr<st1:PersonName
w:st="on">om</st1:PersonName> previous error(s); stopping c<st1:PersonName
w:st="on">om</st1:PersonName>pilation<br>
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : r<st1:PersonName
w:st="on">et</st1:PersonName>urn code '0x2'<br>
Stop.<o:p></o:p></span></font></p>

</div>

</body>

</html>