vlc-0.7.2 compilation for windows -> wx problems

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
babasse

vlc-0.7.2 compilation for windows -> wx problems

Postby babasse » 31 Aug 2004 16:19

Hi,

I am trying to compile vlc-0.7.2 for Windows in a Cygwin environment.
I have followed all the inctructions that I have found in the pdf document in the contrib directory of your website. But I have a compilation error during the compilation of the wx GUI: some references remain undefined...
I work on a Windows XP Pro platform with cygwin installed as described in your pdf document, with the latest binary contrib available for the needed libraries.


Here are the compilation log messages:
preferences.cpp: In constructor `PrefsTreeCtrl::PrefsTreeCtrl(wxWindow*,
intf_thread_t*, wxvlc::PrefsDialog*, wxBoxSizer*)':
preferences.cpp:413: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:423: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:457: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:463: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp: In member function `void PrefsTreeCtrl::ApplyChanges()':
preferences.cpp:490: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:501: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:505: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:510: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:521: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:524: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp: In member function `void PrefsTreeCtrl::CleanChanges()':
preferences.cpp:542: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:554: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:558: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:563: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:576: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:579: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp: In member function `ConfigTreeData*
PrefsTreeCtrl::FindModuleConfig(ConfigTreeData*)':
preferences.cpp:601: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:606: warning: `GetFirstChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:400)
preferences.cpp:618: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
preferences.cpp:621: warning: `GetNextChild' is deprecated (declared at
/usr/win32/include/wx/msw/treectrl.h:402)
bookmarks.cpp: In member function `virtual void BookmarksDialog::Update()':
bookmarks.cpp:206: warning: int format, different type arg (arg 2)
bookmarks.cpp:208: warning: int format, different type arg (arg 2)
video.cpp: In member function `int VideoWindow::ControlWindow(void*, int,
char*)':
video.cpp:289: warning: passing `double' for converting 1 of `
wxSize::wxSize(int, int)'
video.cpp:289: warning: passing `double' for converting 2 of `
wxSize::wxSize(int, int)'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_droptgt.o)(.data+0x0):droptgt.cpp: undefined reference to `_IID_IUnknown'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_droptgt.o)(.data+0x4):droptgt.cpp: undefined reference to `_IID_IDropTarget'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_dataobj.o)(.data+0x0):dataobj.cpp: undefined reference to `_IID_IUnknown'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_dataobj.o)(.data+0x4):dataobj.cpp: undefined reference to `_IID_IEnumFORMATETC'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_dataobj.o)(.data+0x8):dataobj.cpp: undefined reference to `_IID_IUnknown'
/usr/win32/lib/libwx_msw_core-2.5-i586-mingw32msvc.a(corelib_dataobj.o)(.data+0xc):dataobj.cpp: undefined reference to `_IID_IDataObject'
/usr/win32/lib/libwx_base-2.5-i586-mingw32msvc.a(baselib_filename.o)(.text+0x227f):filename.cpp: undefined reference to `_IID_IPersistFile'
collect2: ld returned 1 exit status
make[1]: *** [libwxwindows_plugin.dll] Error 1
make: *** [all-modules] Error 1


I would really appreciate your help!

Thanks.
Babasse

monsterrast
Blank Cone
Blank Cone
Posts: 12
Joined: 05 Aug 2004 03:46

Postby monsterrast » 01 Sep 2004 02:46

Based on your compile message, I think you have installed old library files. You should download and install the latest library file(contrib-20040520-win32-bin-gcc3.3.1-only.tar.bz2) which is under http://download.videolan.org/pub/testing/win32/ directory and this version works for me.

Also you need to check if you install the right compile packages for Cygwin. The following link maybe help you some.
viewtopic.php?t=4119


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 13 guests