bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] GLPK 4.50 does not build on Windows: missing include path ..\


From: xypron
Subject: [Bug-glpk] GLPK 4.50 does not build on Windows: missing include path ..\src\bflib
Date: Thu, 30 May 2013 03:47:30 -0700 (PDT)

Hello Andrew,

I am trying to compile GLPK 4.50 on Windows. I get the following output:

        cl.exe /Zi  /I.  /I..\src  /I..\src\amd  /I..\src\colamd 
/I..\src\minis
at  /I..\src\zlib  /DHAVE_CONFIG_H=1  /D_CRT_SECURE_NO_WARNINGS=1  /nologo 
/W3
 /O2 /Fo..\src\glpbfd.obj /c ..\src\glpbfd.c
glpbfd.c
..\src\glpbfd.c(29) : fatal error C1083: Cannot open include file:
'fhvint.h': N
o such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\BIN\cl.exe"' : return code '0x2'
Stop.

Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl.exe /Zi  /I.  /I..\src  /I..\src\amd  /I..\src\colamd 
/I..\src\minis
at  /I..\src\zlib  /DHAVE_CONFIG_H=1  /D_CRT_SECURE_NO_WARNINGS=1  /nologo 
/W3
 /O2 /Fo..\examples\glpsol.obj /c ..\examples\glpsol.c
glpsol.c
        cl.exe /Zi  /I.  /I..\src  /I..\src\amd  /I..\src\colamd 
/I..\src\minis
at  /I..\src\zlib  /DHAVE_CONFIG_H=1  /D_CRT_SECURE_NO_WARNINGS=1  /nologo 
/W3
 /O2 /Fo..\src\glpbfd.obj /c ..\src\glpbfd.c
glpbfd.c
..\src\glpbfd.c(29) : fatal error C1083: Cannot open include file:
'fhvint.h': N
o such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
10.0
\VC\BIN\cl.exe"' : return code '0x2'
Stop.
Press any key to continue . . .

Please, change the makefile_vc_dll to include the path to bflib:

CFLAGS = /Zi \
/I. \
/I..\src \
/I..\src\amd \
/I..\src\bflib \
/I..\src\colamd \
/I..\src\minisat \
/I..\src\zlib \
/DHAVE_CONFIG_H=1 \
/D_CRT_SECURE_NO_WARNINGS=1 \
/nologo \
/W3 \
/O2

Furthermore add bflib in this statement:

glpk_4_50.dll: $(OBJSET)
        cl.exe $(CFLAGS) /LD /Feglpk_4_50.dll \
                ..\src\*.obj \
                ..\src\amd\*.obj \
                ..\src\bflib\*.obj \
                ..\src\colamd\*.obj \
                ..\src\minisat\*.obj \
                ..\src\zlib\*.obj \
                glpk_4_50.def

Best regards

Heinrich Schuchardt
-- 
View this message in context: 
http://old.nabble.com/GLPK-4.50-does-not-build-on-Windows%3A-missing-include-path-..%5Csrc%5Cbflib-tp35570282p35570282.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]