glib build failed

Asked by preetammn

I tried building the glib library, but came up with linker errors. the log is as below:

1>------ Build started: Project: libgmodule, Configuration: Debug Win32 ------
1>Compiling...
1>gmodule.c
1>Linking...
1>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\RSP00014717603228.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\gmodule-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
1>LINK : fatal error LNK1104: cannot open file 'libglib-2.0.lib'
1>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\BuildLog.htm"
1>libgmodule - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

It looks to be that for gmodule sub project, its not finding libglib-2.0.lib. with searching for rule for linking i couldn't find it. Can you people share the build method and the sequence.

And also solution to this error.

Thanks in advance. :)

Question information

Language:
English Edit question
Status:
Solved
For:
OAH Build Edit question
Assignee:
No assignee Edit question
Solved by:
preetammn
Solved:
Last query:
Last reply:
Revision history for this message
Haakon Sporsheim (ieei) said :
#1

Try to rebuild instead... or clean first, then build. Its hard to say what went wrong by reading this build log.

This is how gmodule is built:
- Generated files are generated.
- Dependencies (from gmodule-2.0.pc (Requires)) are extracted and written to $(IntDir)\gmodule.libs (libraries and lib paths) and $(IntDir)\gmodule.inc (include paths)
- C code are compiled with cl.exe (gmodule.inc used as input).
- obj files are linked with link.exe (through linkwrapper) (gmodule.libs used as input)

Hope this helps. :)

Revision history for this message
preetammn (preetammn) said :
#2

The detailed build log is as below:

directory from which build is launched is D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib

OS directory path where libgli.lib is generated is H:\Documents and Settings\preetam\FOSS\Debug\bin

Why is it that the libs are getting generated at my account path?

______________________________________________________________________________
1>------ Build started: Project: generated, Configuration: Debug Win32 ------
2>------ Build started: Project: libintl-proxy, Configuration: Debug Win32 ------
2>Installing libintl.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0
1>Generating glibconfig.h
1>Generating config.h
2>Compiling...
1>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\generated\BuildLog.htm"
1>generated - 0 error(s), 0 warning(s)
3>------ Build started: Project: libpcre, Configuration: Debug Win32 ------
3>Compiling...
2>libintl.c
3>pcre_compile.c
3>pcre_config.c
3>pcre_dfa_exec.c
2>Creating library...
3>pcre_exec.c
2>"H:\Program Files\OAH Build\bin\link.exe" /LIB @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libintl-proxy\RSP0000065203436.rsp~" /NOLOGO
3>pcre_fullinfo.c
3>pcre_get.c
3>pcre_globals.c
2>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libintl-proxy\BuildLog.htm"
2>libintl-proxy - 0 error(s), 0 warning(s)
4>------ Build started: Project: glib-mkenums, Configuration: Debug Win32 ------
3>pcre_info.c
4>Generating H:\Documents and Settings\preetam\FOSS\\Debug\bin\glib-mkenums.pl
4>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\glib-mkenums\BuildLog.htm"
4>glib-mkenums - 0 error(s), 0 warning(s)
3>pcre_maketables.c
3>pcre_newline.c
3>pcre_ord2utf8.c
3>pcre_refcount.c
3>pcre_study.c
3>pcre_tables.c
3>pcre_try_flipped.c
3>pcre_ucp_searchfuncs.c
3>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\pcre\pcre_ucp_searchfuncs.c(66) : warning C4028: formal parameter 1 different from declaration
3>pcre_valid_utf8.c
3>pcre_version.c
3>pcre_xclass.c
3>pcre_chartables.c
3>Generating Code...
3>Creating library...
3>"H:\Program Files\OAH Build\bin\link.exe" /LIB @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libpcre\RSP0000085202220.rsp~" /NOLOGO
3>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libpcre\BuildLog.htm"
3>libpcre - 0 error(s), 1 warning(s)
5>------ Build started: Project: libglib, Configuration: Debug Win32 ------
5>Generating glib.def
5>glib.symbols
5>Generating glib.rc
5>Generating glib-2.0.pc
5>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
5>Installing gwin32.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gutils.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gurifuncs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gunicode.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gtypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gtree.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gtimer.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gthreadpool.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gthread.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gtestutils.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gstring.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gstrfuncs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gstdio.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gspawn.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gslist.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gslice.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gshell.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gsequence.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gscanner.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing grel.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gregex.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing grand.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gqueue.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gquark.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gqsort.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gprintf.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gprimes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gpoll.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gpattern.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing goption.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gnode.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmessages.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmem.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmarkup.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmappedfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmain.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gmacros.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing glist.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing glibconfig.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\..\lib\glib-2.0\include
5>Installing glib.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0
5>Installing glib-object.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0
5>Installing gkeyfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing giochannel.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gi18n.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gi18n-lib.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing ghook.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing ghash.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gfileutils.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gerror.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gdir.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gdate.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gdataset.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gconvert.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gcompletion.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gchecksum.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gcache.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gbookmarkfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gbase64.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gbacktrace.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gatomic.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing gasyncqueue.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing garray.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Installing galloca.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\glib
5>Compiling...
5>garray.c
5>gasyncqueue.c
5>gatomic.c
5>gbacktrace.c
5>gbase64.c
5>gbookmarkfile.c
5>gcache.c
5>gchecksum.c
5>gcompletion.c
5>gconvert.c
5>gdataset.c
5>gdate.c
5>gdir.c
5>gerror.c
5>gfileutils.c
5>ghash.c
5>ghook.c
5>giochannel.c
5>giowin32.c
5>gkeyfile.c
5>Generating Code...
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\giowin32.c(953) : warning C4715: 'g_io_win32_check' : not all control paths return a value
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\giochannel.c(186) : warning C4715: 'g_io_error_get_from_g_error' : not all control paths return a value
5>Compiling...
5>glist.c
5>gmain.c
5>gmappedfile.c
5>gmarkup.c
5>gmem.c
5>gmessages.c
5>gnode.c
5>goption.c
5>gpattern.c
5>gpoll.c
5>gprimes.c
5>gprintf.c
5>gqsort.c
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gqsort.c(238) : warning C4005: 'min' : macro redefinition
5> h:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(850) : see previous definition of 'min'
5>gqueue.c
5>grand.c
5>gregex.c
5>grel.c
5>gscanner.c
5>gsequence.c
5>gshell.c
5>Generating Code...
5>Compiling...
5>gslice.c
5>gslist.c
5>gspawn-win32.c
5>gstdio.c
5>gstrfuncs.c
5>gstring.c
5>gtestutils.c
5>gthread.c
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gthread.c(96) : warning C4113: 'GMutex *(__cdecl *)()' differs in parameter lists from 'GMutex *(__cdecl *)(void)'
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gthread.c(101) : warning C4113: 'GCond *(__cdecl *)()' differs in parameter lists from 'GCond *(__cdecl *)(void)'
5>gthreadpool.c
5>gtimer.c
5>gtree.c
5>gunibreak.c
5>gunicollate.c
5>gunidecomp.c
5>guniprop.c
5>gurifuncs.c
5>gutf8.c
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gutf8.c(430) : warning C4090: 'function' : different 'const' qualifiers
5>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gutf8.c(434) : warning C4090: 'function' : different 'const' qualifiers
5>gutils.c
5>gwin32.c
5>dirent.c
5>Generating Code...
5>Compiling...
5>wdirent.c
5>asnprintf.c
5>printf-args.c
5>printf-parse.c
5>printf.c
5>vasnprintf.c
5>Generating Code...
5>Compiling...
5>localcharset.c
5>Compiling resources...
5>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
5>Copyright (C) Microsoft Corporation. All rights reserved.
5>Compiling manifest to resources...
5>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
5>Copyright (C) Microsoft Corporation. All rights reserved.
5>Linking...
5>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libglib\RSP00004F5204072.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libglib\glib-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
5>LINK : H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.exe not found or not built by the last incremental link; performing full link
5> Creating library H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.lib and object H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.exp
5>Embedding manifest...
5>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
5>Copyright (C) Microsoft Corporation. All rights reserved.
5>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libglib\RSP0000535204072.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libglib\glib-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
5>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libglib\BuildLog.htm"
5>libglib - 0 error(s), 7 warning(s)
6>------ Build started: Project: glib-genmarshal, Configuration: Debug Win32 ------
7>------ Build started: Project: libgmodule, Configuration: Debug Win32 ------
6>Generating D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\glib-genmarshal\gmarshal.strings
7>Generating gmodule.def
7>gmodule.symbols
6>Compiling...
7>Generating gmodule.rc
6>glib-genmarshal.c
7>Generating gmoduleconf.h
7>Generating gmodule-no-export-2.0.pc
7>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
6>Compiling manifest to resources...
6>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
6>Copyright (C) Microsoft Corporation. All rights reserved.
6>Linking...
6>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\glib-genmarshal\RSP00005C520652.rsp~" /NOLOGO /ERRORREPORT:PROMPT
6>LINK : H:\Documents and Settings\preetam\FOSS\\Debug\bin\glib-genmarshal.exe not found or not built by the last incremental link; performing full link
7>Generating gmodule-export-2.0.pc
7>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
6>Embedding manifest...
7>Generating gmodule-2.0.pc
6>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
6>Copyright (C) Microsoft Corporation. All rights reserved.
6>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\glib-genmarshal\RSP000062520652.rsp~" /NOLOGO /ERRORREPORT:PROMPT
7>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
6>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\glib-genmarshal\BuildLog.htm"
6>glib-genmarshal - 0 error(s), 0 warning(s)
8>------ Build started: Project: libgobject, Configuration: Debug Win32 ------
7>Installing gmodule.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0
8>Generating gobject.def
7>Compiling...
8>gobject.symbols
7>gmodule.c
8>Generating gobject.rc
8>Generating gobject-2.0.pc
8>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
8>Generating GObject marshaller code
7>Compiling resources...
7>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
7>Copyright (C) Microsoft Corporation. All rights reserved.
7>Compiling manifest to resources...
7>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
7>Copyright (C) Microsoft Corporation. All rights reserved.
7>Linking...
7>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\RSP00006D5202672.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\gmodule-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
7>LINK : fatal error LNK1104: cannot open file 'libglib-2.0.lib'
7>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgmodule\BuildLog.htm"
7>libgmodule - 1 error(s), 0 warning(s)
8>Installing gmarshal.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gvaluetypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>------ Build started: Project: gspawn-win32-helper-console, Configuration: Debug Win32 ------
9>Compiling...
8>Installing gvaluecollector.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>gspawn-win32-helper.c
8>Installing gvaluearray.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gvalue.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gtypeplugin.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gtypemodule.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gtype.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gsourceclosure.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gspawn-win32-helper.c(163) : warning C4101: 'i' : unreferenced local variable
8>Installing gsignal.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>Compiling manifest to resources...
9>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
9>Copyright (C) Microsoft Corporation. All rights reserved.
9>Linking...
8>Installing gparamspecs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper-console\RSP0000815202336.rsp~" /NOLOGO /ERRORREPORT:PROMPT
9>LINK : H:\Documents and Settings\preetam\FOSS\\Debug\bin\gspawn-win32-helper-console.exe not found or not built by the last incremental link; performing full link
8>Installing gparam.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>Embedding manifest...
8>Installing gobjectnotifyqueue.c to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gobject.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
9>Copyright (C) Microsoft Corporation. All rights reserved.
9>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper-console\RSP0000855202336.rsp~" /NOLOGO /ERRORREPORT:PROMPT
8>Installing genums.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Installing gclosure.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
9>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper-console\BuildLog.htm"
9>gspawn-win32-helper-console - 0 error(s), 1 warning(s)
8>Installing gboxed.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gobject
8>Compiling...
8>gboxed.c
8>gclosure.c
10>------ Build started: Project: gspawn-win32-helper, Configuration: Debug Win32 ------
10>Compiling...
10>gspawn-win32-helper.c
8>genums.c
8>gobject.c
10>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\glib\gspawn-win32-helper.c(163) : warning C4101: 'i' : unreferenced local variable
8>gparam.c
10>Compiling manifest to resources...
10>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
10>Copyright (C) Microsoft Corporation. All rights reserved.
10>Linking...
10>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper\RSP000089520328.rsp~" /NOLOGO /ERRORREPORT:PROMPT
10>LINK : H:\Documents and Settings\preetam\FOSS\\Debug\bin\gspawn-win32-helper.exe not found or not built by the last incremental link; performing full link
10>Embedding manifest...
8>gparamspecs.c
10>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
10>Copyright (C) Microsoft Corporation. All rights reserved.
10>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper\RSP00008D520328.rsp~" /NOLOGO /ERRORREPORT:PROMPT
10>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\gspawn-win32-helper\BuildLog.htm"
10>gspawn-win32-helper - 0 error(s), 1 warning(s)
8>gsignal.c
8>gsourceclosure.c
11>------ Build started: Project: libgthread, Configuration: Debug Win32 ------
11>Generating gthread.rc
11>Generating gthread-2.0.pc
8>gtype.c
11>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
8>gtypemodule.c
11>Compiling...
11>gthread-impl.c
8>gtypeplugin.c
8>gvalue.c
11>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gthread\gthread-impl.c(315) : warning C4550: expression evaluates to a function which is missing an argument list
8>gvaluearray.c
11>Compiling resources...
11>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
11>Copyright (C) Microsoft Corporation. All rights reserved.
11>Compiling manifest to resources...
11>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
11>Copyright (C) Microsoft Corporation. All rights reserved.
11>Linking...
11>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgthread\RSP0000935203304.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgthread\gthread-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
11>LINK : fatal error LNK1104: cannot open file 'libglib-2.0.lib'
8>gvaluetransform.c
11>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgthread\BuildLog.htm"
11>libgthread - 1 error(s), 1 warning(s)
8>Check if cast from uint64 to double is supported with msvc 6.0
8>gvaluetypes.c
8>Generating Code...
8>Compiling resources...
8>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
8>Copyright (C) Microsoft Corporation. All rights reserved.
8>Compiling manifest to resources...
8>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
8>Copyright (C) Microsoft Corporation. All rights reserved.
8>Linking...
8>"H:\Program Files\OAH Build\bin\link.exe" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgobject\RSP0000955203152.rsp~" @"D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgobject\gobject-2.0.libs" /NOLOGO /ERRORREPORT:PROMPT
8>LINK : fatal error LNK1104: cannot open file 'libglib-2.0.lib'
8>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgobject\BuildLog.htm"
8>libgobject - 1 error(s), 0 warning(s)
12>------ Build started: Project: libgio, Configuration: Debug Win32 ------
12>Generating gio.def
12>gio.symbols
12>Generating gio.rc
12>Generating GObject enum code from template gioenumtypes.c.template
12>Generating GObject marshaller code
12>Generating gio-2.0.pc
12>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
12>Generating GObject enum code from template gioenumtypes.h.template
12>Installing gioenumtypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolume.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvfs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gthemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gsimpleasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gseekable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing goutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gnativevolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmountoperation.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmount.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gloadableicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giotypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioscheduler.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giomodule.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioerror.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioenums.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gio.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing ginputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilteroutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilterinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilenamecompleter.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileenumerator.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileattribute.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblem.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdrive.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdataoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdatainputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcontenttype.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcancellable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gappinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Compiling...
12>gappinfo.c
12>gasynchelper.c
12>gasyncresult.c
12>gbufferedinputstream.c
12>gbufferedoutputstream.c
12>gcancellable.c
12>gcontenttype.c
12>gdatainputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(94) : error C2065: 'G_TYPE_DATA_STREAM_BYTE_ORDER' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(109) : error C2065: 'G_TYPE_DATA_STREAM_NEWLINE_TYPE' : undeclared identifier
12>gdataoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdataoutputstream.c(89) : error C2065: 'G_TYPE_DATA_STREAM_BYTE_ORDER' : undeclared identifier
12>gdrive.c
12>gdummyfile.c
12>gemblem.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gemblem.c(145) : error C2065: 'G_TYPE_EMBLEM_ORIGIN' : undeclared identifier
12>gemblemedicon.c
12>gfile.c
12>gfileattribute.c
12>gfileenumerator.c
12>gfileicon.c
12>gfileinfo.c
12>gfileinputstream.c
12>gfilemonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gfilemonitor.c(211) : error C2065: 'G_TYPE_FILE_MONITOR_EVENT' : undeclared identifier
12>Generating Code...
12>Compiling...
12>gfilenamecompleter.c
12>gfileoutputstream.c
12>gfilterinputstream.c
12>gfilteroutputstream.c
12>gicon.c
12>ginputstream.c
12>gioerror.c
12>giomodule.c
12>gioscheduler.c
12>gloadableicon.c
12>gmemoryinputstream.c
12>gmemoryoutputstream.c
12>gmount.c
12>gmountoperation.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(266) : error C2065: 'G_TYPE_ASK_PASSWORD_FLAGS' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(306) : error C2065: 'G_TYPE_MOUNT_OPERATION_RESULT' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(396) : error C2065: 'G_TYPE_PASSWORD_SAVE' : undeclared identifier
12>gnativevolumemonitor.c
12>goutputstream.c
12>gpollfilemonitor.c
12>gseekable.c
12>gsimpleasyncresult.c
12>gthemedicon.c
12>Generating Code...
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gthemedicon.c(291) : warning C4700: uninitialized local variable 'icon' used
12>Compiling...
12>gunionvolumemonitor.c
12>gvfs.c
12>gvolume.c
12>gvolumemonitor.c
12>gwin32mount.c
12>gwin32volumemonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(39) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(172) : warning C4101: 'found' : unreferenced local variable
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(173) : warning C4101: 'wc_name' : unreferenced local variable
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(171) : warning C4101: 'find_handle' : unreferenced local variable
12>gwin32appinfo.c
12>glocaldirectorymonitor.c
12>glocalfile.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfile.c(90) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>glocalfileenumerator.c
12>glocalfileinfo.c
12>glocalfileinputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileinputstream.c(105) : warning C4090: 'function' : different 'const' qualifiers
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileinputstream.c(105) : warning C4028: formal parameter 2 different from declaration
12>glocalfilemonitor.c
12>glocalfileoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileoutputstream.c(129) : warning C4090: 'function' : different 'const' qualifiers
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileoutputstream.c(129) : warning C4028: formal parameter 2 different from declaration
12>glocalvfs.c
12>gwin32directorymonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwin32directorymonitor.c(24) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gio-marshal.c
12>gioaliasdef.c
12>gioenumtypes.c
12>gwinhttpfile.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>Generating Code...
12>Compiling...
12>gwinhttpfileinputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gwinhttpfileoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gwinhttpvfs.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>Generating Code...
12>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgio\BuildLog.htm"
12>libgio - 8 error(s), 15 warning(s)
========== Build: 8 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========
_________________________________________________________________________________

because of this i started build module by module. while building "libgmodule" i came across the above message where its trying to link 'libglib-2.0.lib' which i was not able to find in my directories. meanwhile i saw 'libglib.lib' root directory. so thought of updating the linker option to pick this library but by checking the project options no linking option was available for this module.

as next step i searched all files which might have the library inclusion path, but was not able to find it.

What are next steps to be done?

Revision history for this message
Haakon Sporsheim (ieei) said :
#3

Hmm.. look at these lines:
5>LINK : H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.exe not found or not built by the last incremental link; performing full link
5> Creating library H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.lib and object H:\Documents and Settings\preetam\FOSS\\Debug\bin\libglib.exp

Seems like you have changed some settings for libglib or that you have pulled down revision 16 from lp:oah/glib.
At the moment this revision:
revno: 16
committer: Haakon Sporsheim <email address hidden>
branch nick: trunk
timestamp: Fri 2009-04-10 16:47:03 +0200
message:
  [build] Use new OahTarget* user macros for consistent binary naming.

this revision is NOT compatible with OAH build 0.3. I shouldn't have pushed this to LP maybe, because you'll also need some new build system files. We are changing binary names for all modules from OAH 0.3 to OAH 0.4.

So please either revert your local changes or do bzr revert -r 15 to get back to revision 15! :)
Sorry for the inconvenience.
And btw, this goes for all the other modules as well. If you see a similar commit to pango, cairo, gtk+, gstreamer or other module just revert it.

Revision history for this message
Haakon Sporsheim (ieei) said :
#4

> Why is it that the libs are getting generated at my account path?
This is decided by OAH output settings. When you install OAH it will add the following environment variables:
OAH_BUILD_OUTPUT=Local
OAH_INSTALLED_PATH=%ProgramFiles%\OAH Build\
OAH_INSTALLED_PREFIX_PATH=%ProgramFiles%\FOSS\
OAH_LOCAL_PREFIX_PATH=%USERPROFILE%\FOSS\

As you can see the default build output is to local prefix path. So.. what you can do is either:
1. Just change OAH_LOCAL_PREFIX_PATH to whatever you want. This means that all binaries, import libraries, includes ++ will be written to the new location.
2. Change OAH_BUILD_OUTPUT:
 - (Not set)
  Output will be set to $(SolutionDir)$(PlatformName)\$(ConfigurationName)
  !!! Dependencies will not be resolved, since output is put in the modules intermediate dir !!!
 - Local
  Output will be put in the local prefix. Somewhat similar to /usr/local.
 - Prefix
  Output will be put in %OAH_PREFIX%. Somewhat similar like using --prefix=$OAH_PREFIX.
  !!! Remember to set OAH_PREFIX env.var. since this is not set by the installer !!!
 - Deploy
  Output will be set to oahbuild installed path. !!!Use with care!!!
  This option is for testing deployment without 'installing' with MSI.

Revision history for this message
preetammn (preetammn) said :
#5

i did "bzr revert -r 15" [but even after this "bzr revno" shows it to be 16], i was able to build all modules except 'libgio'. the log is as below:

-----------------------------------------------------------------------------------------------------------------------------------------------
12>------ Rebuild All started: Project: libgio, Configuration: Debug Win32 ------
12>Deleting intermediate and output files for project 'libgio', configuration 'Debug|Win32'
12>Generating gio.def
12>gio.symbols
12>Generating gio.rc
12>Generating GObject enum code from template gioenumtypes.c.template
12>Generating GObject marshaller code
12>Generating gio-2.0.pc
12>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
12>Generating GObject enum code from template gioenumtypes.h.template
12>Installing gioenumtypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolume.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvfs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gthemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gsimpleasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gseekable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing goutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gnativevolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmountoperation.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmount.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gloadableicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giotypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioscheduler.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giomodule.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioerror.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioenums.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gio.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing ginputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilteroutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilterinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilenamecompleter.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileenumerator.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileattribute.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblem.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdrive.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdataoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdatainputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcontenttype.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcancellable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gappinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Compiling...
12>gappinfo.c
12>gasynchelper.c
12>gasyncresult.c
12>gbufferedinputstream.c
12>gbufferedoutputstream.c
12>gcancellable.c
12>gcontenttype.c
12>gdatainputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(94) : error C2065: 'G_TYPE_DATA_STREAM_BYTE_ORDER' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(109) : error C2065: 'G_TYPE_DATA_STREAM_NEWLINE_TYPE' : undeclared identifier
12>gdataoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdataoutputstream.c(89) : error C2065: 'G_TYPE_DATA_STREAM_BYTE_ORDER' : undeclared identifier
12>gdrive.c
12>gdummyfile.c
12>gemblem.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gemblem.c(145) : error C2065: 'G_TYPE_EMBLEM_ORIGIN' : undeclared identifier
12>gemblemedicon.c
12>gfile.c
12>gfileattribute.c
12>gfileenumerator.c
12>gfileicon.c
12>gfileinfo.c
12>gfileinputstream.c
12>gfilemonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gfilemonitor.c(211) : error C2065: 'G_TYPE_FILE_MONITOR_EVENT' : undeclared identifier
12>Generating Code...
12>Compiling...
12>gfilenamecompleter.c
12>gfileoutputstream.c
12>gfilterinputstream.c
12>gfilteroutputstream.c
12>gicon.c
12>ginputstream.c
12>gioerror.c
12>giomodule.c
12>gioscheduler.c
12>gloadableicon.c
12>gmemoryinputstream.c
12>gmemoryoutputstream.c
12>gmount.c
12>gmountoperation.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(266) : error C2065: 'G_TYPE_ASK_PASSWORD_FLAGS' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(306) : error C2065: 'G_TYPE_MOUNT_OPERATION_RESULT' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gmountoperation.c(396) : error C2065: 'G_TYPE_PASSWORD_SAVE' : undeclared identifier
12>gnativevolumemonitor.c
12>goutputstream.c
12>gpollfilemonitor.c
12>gseekable.c
12>gsimpleasyncresult.c
12>gthemedicon.c
12>Generating Code...
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gthemedicon.c(291) : warning C4700: uninitialized local variable 'icon' used
12>Compiling...
12>gunionvolumemonitor.c
12>gvfs.c
12>gvolume.c
12>gvolumemonitor.c
12>gwin32mount.c
12>gwin32volumemonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(39) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(172) : warning C4101: 'found' : unreferenced local variable
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(173) : warning C4101: 'wc_name' : unreferenced local variable
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gwin32volumemonitor.c(171) : warning C4101: 'find_handle' : unreferenced local variable
12>gwin32appinfo.c
12>glocaldirectorymonitor.c
12>glocalfile.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfile.c(90) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>glocalfileenumerator.c
12>glocalfileinfo.c
12>glocalfileinputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileinputstream.c(105) : warning C4090: 'function' : different 'const' qualifiers
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileinputstream.c(105) : warning C4028: formal parameter 2 different from declaration
12>glocalfilemonitor.c
12>glocalfileoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileoutputstream.c(129) : warning C4090: 'function' : different 'const' qualifiers
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\glocalfileoutputstream.c(129) : warning C4028: formal parameter 2 different from declaration
12>glocalvfs.c
12>gwin32directorymonitor.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwin32directorymonitor.c(24) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gio-marshal.c
12>gioaliasdef.c
12>gioenumtypes.c
12>gwinhttpfile.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>Generating Code...
12>Compiling...
12>gwinhttpfileinputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gwinhttpfileoutputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>gwinhttpvfs.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\win32\gwinhttpvfs.h(32) : warning C4005: '_WIN32_WINNT' : macro redefinition
12> command-line arguments : see previous definition of '_WIN32_WINNT'
12>Generating Code...
12>Build log was saved at "file://D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgio\BuildLog.htm"
12>libgio - 8 error(s), 15 warning(s)
========== Rebuild All: 11 succeeded, 1 failed, 0 skipped ==========

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

While build i get a glib-mkenums.pl file generated and pops up , the build halts. so i am closing this file and the build continues. is this method correct?

What got to know from the logs is that, some enum types are not available. investigating these i found that

\glib\win32\oah\Win32\Debug\obj\libgio\gio\gioenumtypes.h

file is with no contents. What am i missing here?

Checking the glib-mkenums.pl file is giving me info that i have to run this manually. do i have to run this perl file manually?

Revision history for this message
Haakon Sporsheim (ieei) said :
#6

> While build i get a glib-mkenums.pl file generated and pops up , the build halts. so i am closing this file and the build continues. is this method correct?
NO! this means that the perl script was opened in notepad.exe, and not run with perl.exe as it should have bin.

Either you don't have perl installed or it is not in your PATH env.var.
So:
 - Close visual studio.
 - Install Perl (if you haven't)
 - Check/Add C:\Perl\bin (or where ever you installed it) to the PATH environment variable.
 - Reopen visual studio and rebuild

I'll commit a fix for the pop up issue, which will make the build fail instead.

Revision history for this message
preetammn (preetammn) said :
#7

Hmmmm strange ..................

But I have perl in my path variable!.........

H:\Perl\site\bin;H:\Perl\bin;H:\Python26\;C:\Tcl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\MaxiTal\AndroidSDK\android-sdk-windows-1.1_r1\tools;H:\Program Files\MySQL\MySQL Server 5.0\bin;H:\Program Files\Common Files\DivX Shared\;H:\Program Files\Bazaar;H:\Program Files\FOSS\bin

And i am able to write my perl script in command window, directly !..................

This is my perl version

H:\Documents and Settings\preetam>perl -version

This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 50 registered patches, see perl -V for more detail)

Copyright 1987-2006, Larry Wall

Binary build 820 [274739] provided by ActiveState http://www.ActiveState.com
Built Jan 23 2007 15:57:46

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Is there a way to check the actual build commands executed? so that i want to understand what exactly its executing.

Revision history for this message
preetammn (preetammn) said :
#8

I think i found the reason for this behavior. usually .pl files are associated with notepad.exe. I think in our build script where we are invoking the .pl file we need to prefix it with perl to run it as a perl file on windows.

Ex: H:\Documents and Settings\preetam\FOSS\Debug\bin>perl glib-mkenums.pl

But i changed the default program for the .pl file to perl.exe but the build got screwed.

The generated \glib\win32\oah\Win32\Debug\obj\libgio\gio\gioenumtypes.h

says :
__________________________________________________________________
Usage:
  glib-mkenums [OPTION...] [FILES...]

Help Options:
  -h, --help Show this help message

Utility Options:
  --fhead <text> Output file header
  --fprod <text> Per input file production
  --ftail <text> Output file trailer
  --eprod <text> Per enum text (produced prior to value itarations)
  --vhead <text> Value header, produced before iterating over enum values
  --vprod <text> Value text, produced for each enum value
  --vtail <text> Value tail, produced after iterating over enum values
  --comments <text> Comment structure
  --template file Template file
  --flist-env-var name File list as an environment variable name
  -v, --version Print version informations

Production text substitutions:
  @EnumName@ PrefixTheXEnum
  @enum_name@ prefix_the_xenum
  @ENUMNAME@ PREFIX_THE_XENUM
  @ENUMSHORT@ THE_XENUM
  @ENUMPREFIX@ PREFIX
  @VALUENAME@ PREFIX_THE_XVALUE
  @valuenick@ the-xvalue
  @type@ either enum or flags
  @Type@ either Enum or Flags
  @TYPE@ either ENUM or FLAGS
  @filename@ name of current input file

__________________________________________________________________

the build log is as below:
-------------------------------------------------------------------------------------

12>------ Build started: Project: libgio, Configuration: Debug Win32 ------
12>Generating gio.def
12>gio.symbols
12>Generating gio.rc
12>Generating GObject enum code from template gioenumtypes.c.template
12>Generating GObject marshaller code
12>Generating gio-2.0.pc
12>Generating pkg-config file and building internal dependencies ('Requires:') used by the compiler (cl.exe) and linker (link.exe)
12>Generating GObject enum code from template gioenumtypes.h.template
12>Installing gioenumtypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvolume.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gvfs.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gthemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gsimpleasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gseekable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing goutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gnativevolumemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmountoperation.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmount.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gmemoryinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gloadableicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giotypes.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioscheduler.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing giomodule.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioerror.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gioenums.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gio.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing ginputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilteroutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilterinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilenamecompleter.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfilemonitor.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileenumerator.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfileattribute.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gfile.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblemedicon.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gemblem.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdrive.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdataoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gdatainputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcontenttype.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gcancellable.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedoutputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gbufferedinputstream.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gasyncresult.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Installing gappinfo.h to H:\Documents and Settings\preetam\FOSS\\Debug\include\glib-2.0\gio
12>Compiling...
12>gappinfo.c
12>gasynchelper.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(1) : error C2143: syntax error : missing '{' before ':'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(1) : error C2059: syntax error : ':'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(21) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(21) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(22) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(22) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(23) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(23) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(24) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(24) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(25) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(25) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(26) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(26) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(27) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(27) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(28) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(28) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(29) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(29) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(30) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(30) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(31) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(31) : error C2018: unknown character '0x40'
12>gasyncresult.c
12>gbufferedinputstream.c
12>gbufferedoutputstream.c
12>gcancellable.c
12>gcontenttype.c
12>gdatainputstream.c
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(1) : error C2143: syntax error : missing '{' before ':'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(1) : error C2059: syntax error : ':'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(21) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(21) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(22) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(22) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(23) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(23) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(24) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(24) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(25) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(25) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(26) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(26) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(27) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(27) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(28) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(28) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(29) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(29) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(30) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(30) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(31) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\win32\oah\win32\debug\obj\libgio\gio\gioenumtypes.h(31) : error C2018: unknown character '0x40'
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(94) : error C2065: 'G_TYPE_DATA_STREAM_BYTE_ORDER' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(109) : error C2065: 'G_TYPE_DATA_STREAM_NEWLINE_TYPE' : undeclared identifier
12>d:\personal\dreamreality-labs\mediaplayer\gstreamerwin\glib\gio\gdatainputstream.c(312) : error C4013: 'g_io_error_quark' undefined; assuming extern returning int
12>gdataoutputstream.c

So did i over do this ? :)

Revision history for this message
Haakon Sporsheim (ieei) said :
#9

Have a look at the BuildLog.htm (which you can ctrl-click in visual studio output window) search for "glib-mkenums.pl" and try to figure out how and why the script arguments are wrong.
It should be something like this:
[
@echo off

set G_WIN32_CONSOLE_ENCODING=OEM
"pkg-config" --print-errors --variable=prefix glib-2.0 > "<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\mkenum.path" || exit 1
set G_WIN32_CONSOLE_ENCODING=
set /P GMKE_PATH=<"<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\mkenum.path"
del /F /Q "<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\mkenum.path"

set GMKE_PREV_DIR=%CD%
cd ..\..\gio

mkdir "<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\gio"2>NUL
set GMKE_INPUT_HEADERS=gappinfo.h;gasyncresult.h;gbufferedinputstream.h;gbufferedoutputstream.h;gcancellable.h;gcontenttype.h;gdatainputstream.h;gdataoutputstream.h;gdrive.h;gemblem.h;gemblemedicon.h;gfile.h;gfileattribute.h;gfileenumerator.h;gfileicon.h;gfileinfo.h;gfileinputstream.h;gfilemonitor.h;gfilenamecompleter.h;gfileoutputstream.h;gfilterinputstream.h;gfilteroutputstream.h;gicon.h;ginputstream.h;gio.h;giotypes.h;gioenums.h;gioerror.h;giomodule.h;gioscheduler.h;gloadableicon.h;gmount.h;gmemoryinputstream.h;gmemoryoutputstream.h;gmountoperation.h;gnativevolumemonitor.h;goutputstream.h;gseekable.h;gsimpleasyncresult.h;gthemedicon.h;gvfs.h;gvolume.h;gvolumemonitor.h
perl.exe "%GMKE_PATH%\bin\glib-mkenums.pl" --template "<YOUR_ROOT>\gio\gioenumtypes.c.template" --flist-env-var GMKE_INPUT_HEADERS > "<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\gio\gioenumtypes.c"

cd %GMKE_PREV_DIR%

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from "Generating GObject enum code from template gioenumtypes.c.template"
exit 1
:VCEnd
]

You should also look for local changes. Do a bzr status, bzr diff or bzr qdiff in <YOUR_ROOT>.

Revision history for this message
preetammn (preetammn) said :
#10

hurray i found the issue:

in your output log above it says:

perl.exe "%GMKE_PATH%\bin\glib-mkenums.pl" --template "<YOUR_ROOT>\gio\gioenumtypes.c.template" --flist-env-var GMKE_INPUT_HEADERS > "<YOUR_ROOT>\win32\oah\Win32\Debug\obj\libgio\gio\gioenumtypes.c"

but in my output log it looks :

"%GMKE_PATH%\bin\glib-mkenums.pl" --template "d:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\gio\gioenumtypes.c.template" --flist-env-var GMKE_INPUT_HEADERS > "D:\personal\dreamreality-LABS\mediaplayer\GStreamerWin\glib\win32\oah\Win32\Debug\obj\libgio\gio\gioenumtypes.c"

the perl.exe is missing.

Revision history for this message
Haakon Sporsheim (ieei) said :
#11

Well - it is because i did a new commit to OAH trunk.. as I said previously
> I'll commit a fix for the pop up issue, which will make the build fail instead.
http://bazaar.launchpad.net/~oah-dev/oah/trunk/revision/66

You shouldn't get the glib-mkenums usage anyway... but, if this solves the problem, HURRAAAAY! :D

As a work around before we build OAH 0.4, you could replace %programfiles/Microsoft Visual Studio 9.0\VC\VCProjectDefaults\oah.rules with the one you find in http://bazaar.launchpad.net/~oah-dev/oah/trunk (lp:oah)

Revision history for this message
preetammn (preetammn) said :
#12

Hurray , this solved the problem. Thank you :)

Revision history for this message
Catalin Patulea (cpatulea) said :
#13

[regarding lp:oah/glib r16]
> this revision is NOT compatible with OAH build 0.3. I shouldn't have pushed this
> to LP maybe, because you'll also need some new build system files. We are
> changing binary names for all modules from OAH 0.3 to OAH 0.4.
I also ran into this problem. Could you document on the front page that r15 is the latest version compatible with OAH-0.3?