Dear Michael,
Here is the patch for running server.exe without crashes.
I only tested with demo collection (so no mgpp stuff).
There is now a DEBUG setting in win32.mak that enable you to build
a version of server.exe with debugging symbols.
Also please let "/nologo" option there. Without it you have 2 more lines
per file and is hard to spot compiler errors/warnings.
Emanuel
-----Original Message-----
From: greenstone-devel-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-devel-bounces@list.scms.waikato.ac.nz] On Behalf Of
Emanuel Dejanu
Sent: Friday, February 03, 2006 12:07 PM
To: 'Michael Dewsnip'
Cc: greenstone-devel@list.scms.waikato.ac.nz
Subject: [greenstone-devel] RE: Greenstone and Visual Studio 8
Michael,
I have get the same crashes like you and I fixed them in our code base. I
will try to get the CVS version and fix them also there.
The problem are the iterators. You can not do *iter when the iterator is
end() or
if it before begin().
Our library.exe is running without any problem. I hope to have a patch for
you today but I do not make any promise.
Emanuel
-----Original Message-----
From: Michael Dewsnip [mailto:mdewsnip@cs.waikato.ac.nz]
Sent: Friday, February 03, 2006 1:17 AM
To: Emanuel Dejanu
Cc: greenstone-devel@list.scms.waikato.ac.nz
Subject: Re: Greenstone and Visual Studio 8
Dear Emanuel,
I have tried compiling Greenstone with Visual Studio 2005 and committed a
few changes necessary to get it to compile. I haven't committed your changes
to the makefiles and the source code to prevent all the warnings, as we want
to keep Greenstone compiling with Visual C++ 4 (at this stage, anyway).
However when I run the compiled library.exe or server.exe it crashes with an
exception -- did you experience this problem?
Thanks,
Michael
Emanuel Dejanu wrote:
>
>Hi,
>
>I am trying to compile the greenstone 2 (CVS) using Visual Studio 2005
>Professional on Windows XP SP2.
>If you do not have Visual Studio 2005 you can get Visual Studio C++
>2005 Express edition for free from msdn.microsoft.com (you must
>register it before 7 nov 2006)
>
>I send you a patch to fix the compilation problemes.
>The patch was done using the command (in D:\CVSROOT\gsdl):
>cvs -q diff -bu2 > d:\mg_patch
>
>I have tested also with Visual Studio 6.0 and is working also.
>
>
>Best regards,
>
>Emanuel Dejanu
>
>
_______________________________________________
greenstone-devel mailing list
greenstone-devel@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
<<attachment>> Type: application/octet-stream
Filename: gsdl.patch
download |