build error with glib-2.14.5 using vc7.1



Hey all,
I'm not being able to compile glib with vc7.1.  I've followed the
instructions, but receive these errors.  Does anyone have any insights
on how to fix this or work around it?  Any help is greatly
appreciated.  Thanks!

Setting environment for using Microsoft Visual Studio .NET 2003 tools.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -f makefile.msc

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

        for %d in (glib gmodule gthread gobject tests) do nmake -nologo -f makef
ile.msc sub-one THIS=%d TARGET=all

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -nologo -f makefile.ms
c sub-one THIS=glib TARGET=all
        cd pcre
        nmake -f makefile.msc

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

NMAKE : fatal error U1073: don't know how to make '\.obj'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -nologo -f makefile.ms
c sub-one THIS=gmodule TARGET=all
        cl -G5 -GF -MD -W3 -nologo -Ox -Zd -FImsvc_recommended_pragmas.h -I .. -
I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\"  -LD -Felibgmodule-2.0
-0.dll gmodule.obj gmodule.res  ..\glib\glib-2.0.lib /link /machine:ix86  /impli
b:gmodule-2.0.lib /def:gmodule.def
LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -nologo -f makefile.ms
c sub-one THIS=gthread TARGET=all
        cl -G5 -GF -MD -W3 -nologo -Ox -Zd -FImsvc_recommended_pragmas.h -I .. -
I . -I ..\glib -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GThread\"  -LD -Felibgthread-2.0
-0.dll gthread-impl.obj gthread.res  ..\glib\glib-2.0.lib  user32.lib /link /mac
hine:ix86  /implib:gthread-2.0.lib /def:gthread.def
LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -nologo -f makefile.ms
c sub-one THIS=gobject TARGET=all
        cl -G5 -GF -MD -W3 -nologo -Feglib-genmarshal.exe -Ox -Zd -FImsvc_recomm
ended_pragmas.h -I .. -I . -I ..\glib -DHAVE_CONFIG_H -DGOBJECT_COMPILATION -DG_
LOG_DOMAIN=\"GLib-GObject\"  -DG_ENABLE_DEBUG  -UGOBJECT_COMPILATION glib-genmar
shal.c  ..\glib\glib-2.14s.lib user32.lib advapi32.lib ole32.lib shell32.lib ..\
../gettext-0.10.40/intl\intl.lib ..\../libiconv-1.7\lib\iconv.lib
cl : Command line warning D4025 : overriding '/DGOBJECT_COMPILATION' with '/UGOB
JECT_COMPILATION'
glib-genmarshal.c
LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.14s.lib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.

C:\Documents and Settings\James\Desktop\glib-2.14.5>nmake -nologo -f makefile.ms
c sub-one THIS=tests TARGET=all
        cl -G5 -GF -MD -W3 -nologo -Ox -Zd -FImsvc_recommended_pragmas.h -I .. -
I ..\glib -I ..\gmodule -DHAVE_CONFIG_H -DENABLE_REGEX  -c atomic-test.c
atomic-test.c
        cl -G5 -GF -MD -W3 -nologo -Ox -Zd -FImsvc_recommended_pragmas.h -I .. -
I ..\glib -I ..\gmodule -DHAVE_CONFIG_H -DENABLE_REGEX  -Featomic-test.exe atomi
c-test.c ..\glib\glib-2.0.lib ..\gmodule\gmodule-2.0.lib ..\gthread\gthread-2.0.
lib /link /machine:ix86  user32.lib /subsystem:console
atomic-test.c
LINK : fatal error LNK1104: cannot open file '..\glib\glib-2.0.lib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x2'
Stop.

C:\Documents and Settings\James\Desktop\glib-2.14.5>


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