compiling gstreamer programs

Asked by siddahrtha sahay

hi
i have installed the dev.msi file given on https://launchpad.net/oah/+download
now i try to compile a simple gstreamer program using visual studio 2008 http://pastebin.com/m19d6fc87
but i am getting following errors.http://pastebin.com/m7bad935
can any body please tell what may be the problem.
thanks

Question information

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

Yes!

What you are missing is the OAH magic for your .vcproj file. I intended to write a VS template integration for this, but it is still missing. I don't have time for it unfortunately.

First of all you need OAHBuild on your system. So if you haven't installed oahbuild.msi yet. Do it first!

Second, you need to modify your project file to use the provided oah .vsprops files. I suggest you take a look at, hmm, http://bazaar.launchpad.net/~oah-dev/oah/glib/annotate/head:/win32/oah/libgobject.vcproj

1. Use oah.rules. (In VS08: Right click project->Custom build tools...->Check of Oah build rules.)
2. Notice that you'll to inherit these two .vsprops:
* $(OAH_INSTALLED_PATH)\vsprops\oah-$(PlatformName)-$(ConfigurationName).vsprops
* $(OAH_INSTALLED_PATH)\vsprops\oah-PC.vsprops

3. Add either a .pc or .oahdeps file to your project and change rootnamespace in your .vcproj to the same as the filename without extenstion.

3.a Using .oahdeps file.
This is common if you are building an executable. In the file, add one line (first line!) of packages/dependencies you need. Space separated.

3.b Using a .pc file.
This is common when you are building a library and your library have a package config file. Edit the .pc file according to PkgConfig format.

Can you help with this problem?

Provide an answer of your own, or ask siddahrtha sahay for more information if necessary.

To post a message you must log in.