|
From: Errol N. <en...@df...> - 2005-12-01 19:21:26
|
Thanks very much for the link..
I've managed to build wrapper.exe for the AMD64 platform, but I'm having
trouble building the dll. Here is my build log. Can someone help me
identify the issue?
------ Build started: Project: WrapperJNI, Configuration: Release64
Win32 ------
Compiling...
cl : Command line warning D9002 : ignoring unknown option '/YXstdafx.h'
wrapperjni_win.c
wrapperjni.c
wrapperjni_win.c : fatal error C1083: Cannot open program database file:
'c:\documents and
settings\eneal\desktop\wrapper_3.1.2_src\src\c\wrapperjni___win32_releas
e\vc80.idb': No error
Generating Code...
wrapperjni.c : fatal error C1083: Cannot open program database file:
'c:\documents and
settings\eneal\desktop\wrapper_3.1.2_src\src\c\wrapperjni___win32_releas
e\vc80.idb': No error
Build log was saved at "file://c:\Documents and
Settings\eneal\Desktop\wrapper_3.1.2_src\src\c\Release64\BuildLog.htm"
WrapperJNI - 2 error(s), 1 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Thanks in advance!=20
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Rune
Fauske
Sent: Thursday, November 24, 2005 3:06 AM
To: wra...@li...
Subject: Re: [Wrapper-user] Compiling on Win32 for AMD64
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,=20
> SP2 to produce an executable and dll on AMD64 that I can use with a=20
> 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=20
> Settings\eneal\Desktop\wrapper_3.1.2_src\wrapper_3.1.2_src\src\c\Relea
> se
> \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
> files for problems? Stop! Download the new AJAX search engine that=20
> 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
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files 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&op=3Dick
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|