gst-launch.exe error

Asked by mspark32

Hello, I have some problem.

I built glib & zlib and then built gstreamer. Gst-launch.exe works good.

Then I copyed all the conents under "OAH_LOCAL_PREFIX_PATH"( bin, include, lib & pdb) to other computer.
(I'v registered OAH_LOCAL_PREFIX_PATH to that computer and installed perl & python, but not installed OAHBuild because that computer doesn't have Visual Studio 8)
But gst-launch.exe doesn't work!!.

I guess it is dll problem.. but I don't solve that problem until now..

I'll appreciate it fi you give any advice.

Question information

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

If you want to redistribute your application you MUST build RELEASE configuration. Debug uses Microsofts Debug CRT, which only gets installed with VisualStudio.

When you redistribute your app, you need to redistribute the MS CRT for VisualStudio2008 as well.
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
or find it in your VS2008 installation.

Google for depends.exe which is a tool for resolving binary dependencies.

You ONLY need any OAH_* env.vars. on the system that builds your app/lib. So you dont need to install perl, python, vs08 and oahbuild on the systems that will run your app!

Hope this helps! :)

Revision history for this message
mspark32 (mspark) said :
#2

Thanks!
gst-launch works good after I install "Visual Studio 8 redistributable Package" which you said.

Entire install step is like this.

1. copy all of building output to a target computer.
2. install "Visual Studio 8 redistributable Package" if the target computer has not Visual Studio 8
3. register an environmetal variable "OAH_LOCAL_PREFIX_PATH" to the target computer

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

Step 3. should be unnecessary! As I said, OAH_* environment variables should not be needed on target system. ONLY for build systems.

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

Btw, if you are creating an MS windows installer, there is also vc runtime merge module distributed with Visual Studio. MS recommends using that IIRC.

Revision history for this message
mspark32 (mspark) said :
#5

Thanks for your comment.