|
From: Rune F. <run...@gm...> - 2005-11-24 08:06:24
|
Hi Errol, Check out this post from the archives, http://sourceforge.net/mailarchive/message.php?msg_id=3D11130602, which describes what I had to do in order to make the wrapper build under Visual C++ .Net 2003: I don't know if this is still valid.. haven't compiled the wrapper source since back then. -- Rune On 11/24/05, Errol Neal <en...@df...> wrote: > I'm going to attempt cross-compiling the source code on Windows XP, SP2 > to produce an executable and dll on AMD64 that I can use with a 64-bit > JVM. I'm trying first to compile it for just Win32 but I'm stuck. > > ------ Build started: Project: Wrapper, Configuration: Release Win32 > ------ > > Compiling... > wrapper_win.c > wrapper_win.c(2593) : error C2061: syntax error : identifier 'main' > wrapper_win.c(2593) : error C2059: syntax error : ';' > wrapper_win.c(2593) : error C2059: syntax error : 'type' > > Build log was saved at "file://c:\Documents and > Settings\eneal\Desktop\wrapper_3.1.2_src\wrapper_3.1.2_src\src\c\Release > \BuildLog.htm" > Wrapper - 3 error(s), 0 warning(s) > > > ---------------------- Done ---------------------- > > Build: 0 succeeded, 1 failed, 0 skipped > > > It doesn't like: > > ** SNIP ** > > void _CRTAPI1 main(int argc, char **argv) { > int result =3D 0; > int i; > > ** END SNIP ** > > Any ideas? > > I'm using Visual Studio .Net 2003 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&opclick > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |