[mythtv] Problems with Win32 port script

Jonathan Larson jtlarson at u.washington.edu
Thu Aug 14 19:00:06 UTC 2008


-----Original Message-----
From: mythtv-dev-bounces at mythtv.org [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Chris H
Sent: Thursday, August 14, 2008 10:21 AM
To: Development of mythtv
Subject: Re: [mythtv] Problems with Win32 port script

Thanks for posting this. I've been trying the win32 port for the first
time and have run into all the same problems. To fix the issue you're
having at the end of your email, I found this post:
http://www.gossamer-threads.com/lists/mythtv/dev/344111?search_string=isatty;#344111
and it has worked for me. Basically just had to add the #include
<unistd.h> line to schemawizard.cpp file.


Thanks for the explanation--were you able to compile the frontend after that correction? My process has ended in another error, which I've pasted below:

g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non
-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -frtti -fexceptions -
mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSING_MINGW -D_GNU_SOURCE -DPR
EFIX="/C/mythtv/build/" -DMMX -Di386 -DUSING_DIRECTX -D_FILE_OFFSET_BITS=64 -DUS
ING_MINGW -DQT_THREAD_SUPPORT -DQT_DLL -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQ
L_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -
I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/include/QtCore' -I'../../../.
./MSys/1.0/qt-win-opensource-src-4.4.0/include/QtCore' -I'../../../../MSys/1.0/q
t-win-opensource-src-4.4.0/include/QtGui' -I'../../../../MSys/1.0/qt-win-opensou
rce-src-4.4.0/include/QtGui' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0
/include/QtOpenGL' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/include/Q
tOpenGL' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/include/QtXml' -I'.
./../../../MSys/1.0/qt-win-opensource-src-4.4.0/include/QtXml' -I'../../../../MS
ys/1.0/qt-win-opensource-src-4.4.0/include/QtSql' -I'../../../../MSys/1.0/qt-win
-opensource-src-4.4.0/include/QtSql' -I'../../../../MSys/1.0/qt-win-opensource-s
rc-4.4.0/include/Qt3Support' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0
/include/Qt3Support' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/include
' -I'/C/mythtv/build//include' -I'/C/mythtv/build//include' -I'/C/mythtv/build//
include/mythtv' -I'c:/MSys/1.0/qt-win-opensource-src-4.4.0/include/ActiveQt' -I'
.' -I'.' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/mkspecs/win32-g++'
-o moc_serversocket.o moc_serversocket.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -Wl,-subsystem,windows -o mtd.exe object_script.mtd  -L'c:/MSys
/1.0/qt-win-opensource-src-4.4.0/lib' -lopengl32 -lglu32 -lgdi32 -luser32 -lming
w32 -lqtmaind -L/C/mythtv/build//lib -L/C/mythtv/build//bin -L/bin -lmyth-0.22 -
lmythui-0.22 -lmythtv-0.22 -lmythavformat-0.22 -lmythavcodec-0.22 -lmythavutil-0
.22 -L/C/mythtv/build//lib -lfreetype -lmp3lame -lmythdb-0.22 -lmythavutil-0.22
-lmythavcodec-0.22 -lmyth-0.22 -lmythui-0.22 -lmythupnp-0.22 -lmythfreemheg-0.22
 -lmythlivemedia-0.22 -lmythtv-0.22 -lmythavformat-0.22 -L/C/mythtv/build//bin -
lmythdvdnav-0.22 -lws2_32 -lQt3Supportd4 -lQtSqld4 -lQtXmld4 -lQtOpenGLd4 -lQtGu
id4 -lQtCored4
Creating library file: libmythvideo.a
make[2]: Leaving directory `/C/mythtv/mythplugins/mythvideo/mythvideo'
make[2]: Leaving directory `/C/mythtv/mythplugins/mythvideo/mtd'
make[1]: Leaving directory `/C/mythtv/mythplugins/mythvideo'
EFFECT FAILED (newer -> shell): mtime of file (C:/mythtv/mythplugins/mythmovies/
mythmovies/libmythmovies.dll) should be greater than file (C:/mythtv/mythtv/last
_build.txt).
[0]  [1218724582]


More information about the mythtv-dev mailing list