|
From: Errol N. <en...@df...> - 2005-11-24 02:58:02
|
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;=20
** END SNIP **
Any ideas?
I'm using Visual Studio .Net 2003
|