Re: gst_marshal_VOID__OBJECT (GStreamer win32 - VS8)

"Bienert, Shawn" <[email protected]> Thu, 18 Jan 2007 09:51:39 -0700
Newsgroups gmane.comp.video.gstreamer.daily
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============1504405070==
Content-Transfer-Encoding: 7bit
Content-Class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C73B20.ECB62D7C"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C73B20.ECB62D7C
X-EC0D2A8E-5CB7-4969-9C36-46D859D137BE-PartID: 8FDFAB9C-D1B8-479E-8F48-2330F598797C
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi Ram, Woo.
=20
In case you haven't overcome this setback yet, here's what I had to do =
to get around it. Apologies if you have been successful - I didn't see a =
reply to your query back in November and thought I would post. Please =
note I am hardly an expert in this area, but I did run into these same =
problems you encountered this morning and I believe I have succeeded in =
getting the entire project to build properly on a windows box. We'll see =
if it actually works later... :)
=20
I'm currently building on XP with Visual Studio 2005 (8.0). To get the =
project to build, I simply used the project files provided in the =
win32/vs8 directory and the only changes I had to make were path =
related. The majority of the work (and issues) were related to =
installing the required ported GNU tools.
=20
One note to everyone trying to build this project on windows, if you are =
having issues there is a 90% probability it is a problem with the ported =
GNU/linux tools/libraries (bison, flex, make, glib, gettext, etc.). They =
all have peculiar quirks like hardcoded paths and the like. Also, note =
that Visual Studio will not return or display any errors if any of these =
tools do not execute properly. Thus, you won't find the problem until =
later on in the build. If you want to troubleshoot the issues you are =
having, run the custom pre- and post-build commands on each file =
separately in the command prompt. It will give you a heck of a lot more =
info and make things easier to troubleshoot.
=20
First, the gst_marshal_VOID__OBJECT undeclared error you are seeing is a =
result of a glib-genmarshal script not running correctly. I had this =
same issue, and it was due to a couple of problems. First, make sure you =
download & unpack both the standard and development packages of both =
bison and glib and put all .dll's and executables (found in the "bin" =
directory) in your system path. For whatever reason, the development =
packages of these tools do not contain the standard package as well - =
you need both.
=20
Second, the script that uses glib-genmarshal (see custom build command =
on gstmarshal.list for the script) has an annoying little caveat that if =
the files (gstmarshal.c and gstmarshal.h) already exist, it won't =
actually run the tool. And the script that calls glib-genmarshal =
actually creates the files. So in my case, when I first tried to compile =
the program, I was missing a DLL from the standard glib package - so the =
custom build step created the two files with a line or two in them and =
tried to run the glib-genmarshal command but failed because of the =
missing DLL (no error message of course). Once I fixed the DLL issue, I =
rebuilt the project, but because the files already existed, the custom =
build step did not re-execute the tool and nothing changed. To get =
around the problem, simply delete the gstmarshal.c and .h files and =
rebuild.
=20
Once I test to ensure the win32 version of gstreamer I built this =
morning works, I would be happy to release a short doc on the steps you =
need to go through to get it to work (on VS8.0) if desired. I hit =
several of the same issues that have been raised in this post, and it =
might help the first timer to get it to work properly.

Shawn
=20
=20
From: ram kumar <heyram_2002@ya...> - 2006-11-17 03:41=20
hi developers,
I succeded in eliminating most of the
compilation error except
this....gst\gstchildproxy.c(439) : error C2065:
'gst_marshal_VOID__OBJECT' : undeclared
identifier,gst\gstelement.c(186) : error C2065:
'gst_marshal_VOID__OBJECT' : undeclared identifier.=20
Please help.....
 woo john a =EF=BF=BDcrit :
> hi,
> when i compiled gstreamer 0.10.7 with vs6. it reported=20
> gst_marshal_VOID__OBJECT_POINTER is not declared.
> please give me some help.
>
> woo
>
=20
=20

The information contained in this e-mail message is PRIVATE. It may =
contain confidential information and may be legally privileged. It is =
intended for the exclusive use of the addressee(s). If you are not the =
intended recipient, you are hereby notified that any dissemination, =
distribution or reproduction of this communication is strictly =
prohibited. If the intended recipient(s) cannot be reached or if a =
transmission problem has occurred, please notify the sender immediately =
by return e-mail and destroy all copies of this message.=20
Thank you.=20


------_=_NextPart_001_01C73B20.ECB62D7C
X-EC0D2A8E-5CB7-4969-9C36-46D859D137BE-PartID: 9899111C-2CF3-4AE0-813F-C6943340B166
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.2900.3020" name=3DGENERATOR></HEAD>
<BODY><TR><TD nowrap=3D"nowrap" bgcolor=3D"#dddddd">
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>Hi Ram,=20
Woo.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial size=3D2></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>In case you=20
haven't overcome this setback yet, here's what I had to do to get around =

it.&nbsp;Apologies if you have been successful&nbsp;- I didn't see a =
reply to=20
your query back in November and thought I would post. Please note I am =
hardly an=20
expert in this area, but I did run into these same problems you =
encountered this=20
morning and I believe I have succeeded in getting the entire project to =
build=20
properly on a windows box. We'll see if it actually works later...=20
:)</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN =
class=3D229361516-18012007></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>I'm=20
currently building on XP with Visual Studio 2005 (8.0). To get the =
project to=20
build, I simply used the project files provided in the win32/vs8 =
directory and=20
the only changes I had to make were path related.&nbsp;The majority of =
the work=20
(and issues) were&nbsp;related to installing the required ported GNU=20
tools.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial size=3D2></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>One note to=20
everyone trying to build this project on windows, if you are having =
issues there=20
is a 90% probability it is a problem with the ported GNU/linux =
tools/libraries=20
(bison, flex, make, glib, gettext, etc.). They all have peculiar quirks =
like=20
hardcoded paths and the like. Also, note that Visual Studio will not =
return or=20
display any errors if any of these tools do not execute properly. Thus, =
you=20
won't find the problem until later on in the build. If you want to =
troubleshoot=20
the issues you are having, run the custom pre- and post-build commands =
on each=20
file separately in the command prompt. It will give you a heck of&nbsp;a =
lot=20
more info and make things easier to =
troubleshoot.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>First, the=20
gst_marshal_VOID__OBJECT undeclared error you are seeing is a result of =
a=20
glib-genmarshal script not running correctly. I had this same issue, and =
it was=20
due to a couple of problems. First, make sure you download &amp; unpack =
both the=20
standard and development packages of both bison and glib and put all =
.dll's and=20
executables (found in the "bin" directory) in your system path. For =
whatever=20
reason, the development packages of these tools do not contain the =
standard=20
package as well - you need both.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial size=3D2></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>Second, the=20
script that uses glib-genmarshal (see custom build command on =
gstmarshal.list=20
for the script) has an annoying little caveat that if the=20
files&nbsp;(gstmarshal.c and gstmarshal.h) already exist, it won't =
actually run=20
the tool. And the script that calls glib-genmarshal actually creates the =

files.&nbsp;So in my case, when I first tried to compile the program, I =
was=20
missing a DLL from the standard glib package - so the custom build step =
created=20
the two files with a line or two in them and&nbsp;tried to run the=20
glib-genmarshal command but failed because of the missing DLL (no error =
message=20
of course). Once I fixed the DLL issue, I rebuilt the project, but =
because the=20
files already existed, the custom build step did not re-execute the tool =
and=20
nothing changed. To get around the problem, simply delete the =
gstmarshal.c and=20
.h files and rebuild.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN =
class=3D229361516-18012007></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
size=3D3>Once I test=20
to ensure the win32 version of gstreamer I built this morning works, I =
would be=20
happy to release a short doc on the steps you need to go through to get =
it to=20
work (on VS8.0)&nbsp;if desired. I hit several of the same issues that =
have been=20
raised in this post, and it might help the first timer to get it to work =

properly.</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><BR><FONT =
size=3D3>Shawn</FONT></SPAN></SMALL></DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial size=3D2></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><SMALL><SPAN class=3D229361516-18012007><FONT =
face=3DArial></FONT></SPAN></SMALL>&nbsp;</DIV>
<DIV class=3Dforum><FONT size=3D3><SMALL>From: ram kumar =
&lt;heyram_2002@ya...&gt; -=20
2006-11-17 03:41</SMALL> </FONT></DIV>
<DIV></TD></TR><TR><TD><!-- google_ad_section_start -->hi =
developers,<BR>I=20
succeded in eliminating most of the<BR>compilation error=20
except<BR>this....gst\gstchildproxy.c(439) : error=20
C2065:<BR>'gst_marshal_VOID__OBJECT' :=20
undeclared<BR>identifier,gst\gstelement.c(186) : error=20
C2065:<BR>'gst_marshal_VOID__OBJECT' : undeclared identifier. <BR>Please =

help.....</DIV>
<DIV><FONT face=3DArial></FONT></TD></TR></DIV>
<DIV>&nbsp;woo john a =EF=BF=BDcrit :<BR>&gt; hi,<BR>&gt; when i =
compiled gstreamer=20
0.10.7 with vs6. it reported <BR>&gt; gst_marshal_VOID__OBJECT_POINTER =
is not=20
declared.<BR>&gt; please give me some help.<BR>&gt;<BR>&gt; =
woo<BR>&gt;</DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BODY><!--[object_id=3D#gdcanada.com#]--><FO=
NT face=3DTahoma><FONT color=3D#0000ff><SPAN style=3D"FONT-WEIGHT: bold; =
FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=3D#000000>
<P align=3Dleft><FONT face=3DTahoma size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial color=3D#000000 size=3D1>The information contained in this =
e-mail message is PRIVATE. It may contain confidential information and =
may be legally privileged. It is intended for the exclusive use of the =
addressee(s). If you are not the intended recipient, you are hereby =
notified that any dissemination, distribution or reproduction of this =
communication is strictly prohibited. If the intended recipient(s) =
cannot be reached or if a transmission problem has occurred, please =
notify the sender immediately by return e-mail and destroy all copies of =
this message. <BR>Thank you.</FONT> =
</FONT></FONT></P></FONT></SPAN><FONT =
size=3D2></FONT></FONT></FONT></HTML>

------_=_NextPart_001_01C73B20.ECB62D7C--


--===============1504405070==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============1504405070==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gstreamer-daily mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-daily

--===============1504405070==--