how to use tdm gcc with msys

I think install msys using mingw-get

then install tdm “somewhere”

then

edit msys\1.0\etc\fstab

to look like

G:\installs\tdm-46-sljl\   /mingw

And you’re good to go.

 

 

That didn’t work.  (seems to lose access to autoconf, etc.) Latest thought is to install msys/mingw using mingw-get, then just add your tdm bin folder first in your path (msys.bat maybe, at the top?)

Maybe you can edit fstab and add a new mount point

G:\installs\tdm_installs /mingw-tdm

Then if you want a local library configure it like –prefix=/mingw-tdm ?
I’m pretty sure contribs/libraries need to be installed into a subdir of your mingw installation…

libdvdnav compile linker woe

g:/installs/tdm-46-sljl/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.
exe: cannot find -lpthread

meant “you need to install pthreads lib from http://oss.netfarm.it/mplayer-win32.php into *mingw* dir”

 

note that most of the errors described here could have been avoided by doing

./autogen.sh

for both libdvdnav and libdvdread (helps with mingw, cross compiling).  linux users I believe can user configure2

libdvdnav get length of title

from xbmc:
case DVDNAV_CELL_CHANGE:
{
// Some status information like the current Title and Part numbers do not
// change inside a cell. Therefore this event can be used to query such
// information only when necessary and update the decoding/displaying
// accordingly.

m_iTotalTime = (int) (cell_change_event->pgc_length / 90); // so this is like “base” time for the duration of the current PGC, I think.

dvdnav_time_search versus dvdnav_sector_search (I think one is for “I want sector 256 out of 1284″ the other is for raw time based searching).

vlc compile configure woe


VLC compilation:
../../../modules/access/bluray.c: In function ‘blurayInitTitles’:
../../../modules/access/bluray.c:230:5: error: too many arguments to function ‘bd_get_titles’
/usr/include/libbluray/bluray.h:175:10: note: declared here
../../../modules/access/bluray.c:238:9: error: too many arguments to function ‘bd_get_title_info’
/usr/include/libbluray/bluray.h:185:20: note: declared here
make[5]: *** [liblibbluray_plugin_la-bluray.lo] Error 1
meant
16:30 < pisto> first build error, I had to disable bluray http://past ebin.com/YudNwA1K