[Ambulant-users] Compiling under VC9

Christian Sell c.sell at byterefinery.de
Fri May 8 11:16:44 CEST 2009


Hello,

since yesterday I am trying to build Ambulant using the latest reelase  
of VisualStudio (VC9). Not as easy as one would hope, I must say.

I am using the following components:

- prebuilt ffmpeg and third_party_packages
- xerces 2.8
- libxml2 hourly snapshot
- prebuilt SDL
- Live555
- ambulant source from cvs HEAD

Heres my experiences so far.
1. must change "include <strstrea.h>" in live/groupsock/Groupsock.cpp  
to "include <strstream>
2. liveMedia.lib does not get copied to ambulant/lib/win32 as  
everything else. Copied manually
3. libxml2 directory in download is named libxml2-2.7.2. Had to rename
4. the resulting player cannot load the xerces plugin. Log attached

BTW, my end goal is to integrate ambulant into an Eclipse- (Java-)  
based application, so I'd be thankful for any assistance.

regards,
Christian Sell

-------------- next part --------------
11:08:55 DEBUG	Ambulant Player: compile time version 2.1, runtime version 2.1
11:08:55 DEBUG	Ambulant Player: built on May  8 2009 for Windows/MFC
11:08:55 DEBUG	Ambulant Player: using AmbulantPlayer in DLL
11:08:55 DEBUG	Ambulant Player: using DX Player
11:08:57 TRACE	plugin_engine: using Windows plugin loader
11:08:57 TRACE	plugin_engine: Scanning plugin directory: \work\ambulant\cvs\ambulant\bin\win32\
11:08:57 TRACE	plugin_engine: loading \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_ffmpeg.dll
11:08:57 TRACE	plugin_engine: loading \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_plugin.dll
11:08:57 TRACE	plugin_engine: loading \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_state_xpath.dll
11:08:57 TRACE	plugin_engine: loading \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_xerces.dll
11:08:57 TRACE	plugin_engine: \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_xerces.dll: no initialize routine
11:08:57 WARN	Plugin skipped due to errors: \work\ambulant\cvs\ambulant\bin\win32\\libamplugin_xerces.dll 
11:09:00 TRACE	plugin_engine: Done with plugin directory: \work\ambulant\cvs\ambulant\bin\win32\
11:09:00 DEBUG	ffmpeg_plugin: loaded.
11:09:00 TRACE	ffmpeg_plugin: SDL playable factory registered
11:09:00 TRACE	ffmpeg_plugin: video playable factory registered
11:09:00 TRACE	ffmpeg_plugin: live555 datasource factories registered
11:09:00 TRACE	ffmpeg_plugin: ffmpeg datasource factories registered
11:09:00 DEBUG	basic_plugin: loaded.
11:09:00 TRACE	basic_plugin: registered
11:09:00 TRACE	xpath_state_plugin: registered
11:09:00 DEBUG	preferred_renderer: moving 0xc7a208 to front
11:09:00 DEBUG	preferred_renderer: moving 0xc7a2e8 to front
11:09:00 TRACE	file:///work/ambulant/cvs/ambulant/extras/welcome/welcome.smil: Parsing document...
11:09:00 TRACE	Using parser any
11:09:00 TRACE	file:///work/ambulant/cvs/ambulant/extras/welcome/welcome.smil: Parser done
11:09:08 DEBUG	time_node::on_eom: renderer emitted second stopped() callback for time_node(audio, <audio>)


possibly related warnings during build:

1>\work\ambulant\cvs\ambulant\include\ambulant/lib/parser_factory.h(63) : warning C4251: 'ambulant::lib::global_parser_factory::m_factories': class 'std::vector<_Ty>' erfordert eine DLL-Schnittstelle, die von Clients von class 'ambulant::lib::global_parser_factory' verwendet wird
1>        with
1>        [
1>            _Ty=ambulant::lib::parser_factory *
1>        ]


More information about the Ambulant-users mailing list