Compile VLC plugin with Visual Studio 2005

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Compile VLC plugin with Visual Studio 2005

Postby loic69 » 31 Jan 2007 18:42

Hi all

I use VLC for video streaming application.
I compiled successfully with Visual Studio 6 a plugin for VLC.

Today I'm migrating all project under Visual Studio 2005 because Visual studio 6 is depreciated...
The problem is VLC plugin compiled with Visual Studio 2005 cause VLC critical error and crash...
VLC plugin compiled with Visual Studio 6 working well were.

An idea for Visual Studio 2005 settings ?

Regards

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Re: Compile VLC plugin with Visual Studio 2005

Postby xiaobei » 09 Feb 2007 10:01

[quote="loic69"]Hi all

I use VLC for video streaming application.
I compiled successfully with Visual Studio 6 a plugin for VLC.

Hello loic69

I need compile a plugin with Visual Studio 6 for VLC.
My VLC activex version is 0.8.6.
I am a newbie on VC++.
loic69,sorry,my english is not very well.
Can you gave me some advice ?
My email : liaoyanhong2006@163.com
Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 09 Feb 2007 10:20

Visual Studio is not a recommended platform to build VLC. Not 6.0 nor 2005. The developers zill not be able to help you then.
Use MSys/MingW.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 09 Feb 2007 11:12

Visual Studio is not a recommended platform to build VLC. Not 6.0 nor 2005. The developers zill not be able to help you then.
Use MSys/MingW.
Thanks for your response.

effractor
New Cone
New Cone
Posts: 1
Joined: 09 Feb 2007 15:09

Re: Compile VLC plugin with Visual Studio 2005

Postby effractor » 09 Feb 2007 15:24

Hi all

I use VLC for video streaming application.
I compiled successfully with Visual Studio 6 a plugin for VLC.

Today I'm migrating all project under Visual Studio 2005 because Visual studio 6 is depreciated...
The problem is VLC plugin compiled with Visual Studio 2005 cause VLC critical error and crash...
VLC plugin compiled with Visual Studio 6 working well were.

An idea for Visual Studio 2005 settings ?

Regards
Hello Ioic69

Sorry, my english is not well
Can you send me VS6 settings?
My e-mail: effractor@gmail.com
Thanks

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 10 Feb 2007 03:33

Visual Studio is not a recommended platform to build VLC. Not 6.0 nor 2005. The developers zill not be able to help you then.
Use MSys/MingW.
Hello j-b

Where can i download MSys/MingW? Maybe I must get MSys and MingW, or only one of them? :?
Sorry ! Iam a realy newbie on those tools .
Another qestion,when I download those tools ,can I get document which tell me how to use the tool ,eg :Readme.txt?

Thanks!! Best regards![/quote]

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 10 Feb 2007 16:20

You should read the wiki / Developers's Corner. It'll help you a lot.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 12 Feb 2007 03:04

You should read the wiki / Developers's Corner. It'll help you a lot.
Thanks for you help!
I have already found the documents.Another question:
In the path of vlc ,I found so many .dll documents,eg:libvlc.dll,axvlc.dll and plugins file.So ,can I compile the activex and reduce the number of dll.It is best that the activex is compiled to one .dll document. :P

Regards.

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 13 Feb 2007 08:58

HI Everyone

I install cygwin on my pc .I want to compile activex .
The source of activex has be put under the path :/home/administrator/activex .When enter the file ,I find an Makefile .Runing "make",it hints :
$ make
/bin/sh: ../vlc-config:No such file or directory
make:*** No rule to make target ' .. /configure.ac',needed by 'Makefile.in'.Stop.
Anyone helps me !
Could I need rewrite the "Makefile" or samething wrong during my installation of cygwin?
Pleseas ,give me some suggestions.


Thanks !

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 13 Feb 2007 15:51

You need to compile all VLC, not only activex folder!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ascanius
New Cone
New Cone
Posts: 1
Joined: 13 Feb 2007 17:48

Postby ascanius » 13 Feb 2007 18:00

Hi all, I'm also trying to build a plugin using Visual Studio 2005 (@j-b: note the difference at it was mentioned before. I try to build a plugin - NOT the complete vlc).

I have some source code which works wonderfull with version 0.8.2.
In 0.8.6 the add_submodule() call fails with a null reference exception when my module is loaded. I looked at the sources from other modules that cames with 0.8.6 and nothing is different.

The cause of the exception is that this p_symbols member of the p_module parameter of the entry function is not set.

Is there something I'm doing wrong (except using Visual C++). Are there some special things to configure?

It does not make sense to me that the parameter is not filled correctly.

Sometimes ago somebofy posted the same problem, but no solution.

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 13 Feb 2007 18:45

I think there'is difference in VS2005 with CRT DLL which are not the same.
For info, I can compile and it's work without problems on VS6 but not in VS2005. If you find solution, it would be a great day...

Thx
Last edited by loic69 on 04 May 2007 22:37, edited 1 time in total.

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 14 Feb 2007 02:53

.
For info, I can compile and it's work without problems on VS6 but not in VS2005. If you find solution, it would be a great day...

Thx
Hello loic69

Did you only built plugin with VC6? I also try to compile a plugin - NOT the complete vlc.Can you detailedly tell me how I should configure the building environment?

Thanks!

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 14 Feb 2007 04:33

.
For info, I can compile and it's work without problems on VS6 but not in VS2005. If you find solution, it would be a great day...

Thx
Hello loic69

Did you only built plugin with VC6? I also try to compile a plugin - NOT the complete vlc.Can you detailedly tell me how I should configure the building environment?

Thanks!
UNDER VS6
Hi I built my plugins (filters) with VS6. All is working very well.

UNDER VS2005
I try to open my dsw and dsp files with VS2005. The compile was OK but I have memory problems (crashes) in execution. I think but I'm not shure the problem is on CRT lib which are not the same with VS2005 :
VS6 : MSVCRT.DLL
VS2005 : MSVCRT8.DLL

I can send you by mail (give me your mail in private messsage) the VS6 dsp and dsw. Open it with VS2005 and try to change option such /MT /MD,.... If you have result, can you send me the sln and vcproject files back ?

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 14 Feb 2007 05:40


I can send you by mail (give me your mail in private messsage) the VS6 dsp and dsw. Open it with VS2005 and try to change option such /MT /MD,.... If you have result, can you send me the sln and vcproject files back ?

Thank you very much !
my e-mail :
liaoyanhong2006@163.com
If build it succesfully I will send to you as soon as possible.

Good luck

seedily
New Cone
New Cone
Posts: 1
Joined: 18 Feb 2007 14:08

Postby seedily » 18 Feb 2007 14:15

.
For info, I can compile and it's work without problems on VS6 but not in VS2005. If you find solution, it would be a great day...

Thx
Hello loic69

Did you only built plugin with VC6? I also try to compile a plugin - NOT the complete vlc.Can you detailedly tell me how I should configure the building environment?

Thanks!
UNDER VS6
Hi I built my plugins (filters) with VS6. All is working very well.

UNDER VS2005
I try to open my dsw and dsp files with VS2005. The compile was OK but I have memory problems (crashes) in execution. I think but I'm not shure the problem is on CRT lib which are not the same with VS2005 :
VS6 : MSVCRT.DLL
VS2005 : MSVCRT8.DLL

I can send you by mail (give me your mail in private messsage) the VS6 dsp and dsw. Open it with VS2005 and try to change option such /MT /MD,.... If you have result, can you send me the sln and vcproject files back ?
Hi, would you please send me VS6 dsp and dsw?
my email: seedily@21cn.com

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 04 May 2007 22:41

Hi

Anyone as found a solution ?
My precedent post reffered to VLC 0.8.1 (plugin was built with VS6).
But now I'd like to switch to VLC 0.8.6b but my plugin doesn't building ith VS6...

I try to make a build with msys but I get on big vlc.exe file instead of a small vlc.exe and a libvlc.dll. I used option which are present in install.WIN2 file...

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 17 May 2007 10:08

Hi

Anyone as found a solution ?
My precedent post reffered to VLC 0.8.1 (plugin was built with VS6).
But now I'd like to switch to VLC 0.8.6b but my plugin doesn't building ith VS6...

I try to make a build with msys but I get on big vlc.exe file instead of a small vlc.exe and a libvlc.dll. I used option which are present in install.WIN2 file...
hi
I built vlc with cygwin succecfully. just fowllow the install.WIN32 strictly!
xiaobei

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 17 May 2007 10:52

Hi

Anyone as found a solution ?
My precedent post reffered to VLC 0.8.1 (plugin was built with VS6).
But now I'd like to switch to VLC 0.8.6b but my plugin doesn't building ith VS6...

I try to make a build with msys but I get on big vlc.exe file instead of a small vlc.exe and a libvlc.dll. I used option which are present in install.WIN2 file...
hi
I built vlc with cygwin succecfully. just fowllow the install.WIN32 strictly!
xiaobei
I'm happy for you.
Do you compile 0.8.6b ?
Do you obtain by linker an VLC.EXE and LIBVLC.DLL or just a DLL ?
Note in the setup of VLC there is dll and exe.
When I compile with msys I geted just on big VLC.exe.... :?

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Postby xiaobei » 18 May 2007 04:17

Yeah,I compiled 0.8.6b.
But I got a axvlc.dll and .EXE only, not libvlc.dll.
Also,there was folder of plugins.

Besides,I got the same when I compiled 0.8.6a.

xiaobei


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests