From: Bienert, S. <Sha...@gd...> - 2007-01-18 16:51:56
|
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 |