[Help-glpk] Building GLPK under VS2005 for x64

2008-03-27 Thread Peter Ingerfeld
I'm trying to build GLPK/Mathprog 4.9 under Visual Studio 2005 for a x64 machine (WinXP Pro x64). My VS2005 Projekt for x86 builds and runs beautifully. The x64 version also builds, but when I try out the generated code it crashes with an access violation. The problem seem to be the setjmp() routi

Re: [Help-glpk] Building GLPK under VS2005 for x64

2008-03-27 Thread Andrew Makhorin
> I'm trying to build GLPK/Mathprog 4.9 under Visual Studio 2005 for a x64 > machine (WinXP Pro x64). My VS2005 Projekt for x86 builds and runs > beautifully. The x64 version also builds, but when I try out the > generated code it crashes with an access violation. > The problem seem to be the setj

Re: [Help-glpk] Building GLPK under VS2005 for x64

2008-05-28 Thread Andrew Makhorin
Hi Peter, Looks like I have found a bug. Please replace line 242 in file glplib.h: #define align_boundary sizeof(double) by the following line: #define align_boundary 16 I made this replacement in the project on your machine, and the bug disappeared (at least the test program now runs correct