[mythtv] compile failure on win32 with HEAD (18010)

buzz davidbuzz at gmail.com
Fri Aug 1 16:24:38 UTC 2008


*schemawizard.cpp:242: error: `isatty' was not declared in this scope*

Aparently *schemawizard.cpp *needs one more #include on win32:

*#include <**unistd.h*<http://www.opengroup.org/onlinepubs/009695399/basedefs/unistd.h.html>
*>*
**
Buzz

detailed error:

 make[2]: Entering directory `/C/mythtv/mythtv/libs/libmyth'
g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
-Wno-non-virtual-dtor -funit
-at-a-time -D__STDC_CONSTANT_MACROS -frtti -fexceptions -mthreads
-DQT_LARGEFILE_SUPPORT -DUSING_MIN
GW -DUSING_WINAUDIO -DUSING_D3D -DUSING_DIRECTX -DMMX -Di386 -DUSING_DIRECTX
-D_GNU_SOURCE -D_FILE_O
FFSET_BITS=64 -DUSING_DIRECTX -DQT_THREAD_SUPPORT -DQT_DLL
-DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQ
L_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -I'../../../../msys/1
.0/qt-win-opensource-src-4.4.0/include/QtCore'
-I'../../../../msys/1.0/qt-win-opensource-src-4.4.0/i
nclude/QtCore'
-I'../../../../msys/1.0/qt-win-opensource-src-4.4.0/include/QtNetwork'
-I'../../../..
/msys/1.0/qt-win-opensource-src-4.4.0/include/QtNetwork'
-I'../../../../msys/1.0/qt-win-opensource-s
rc-4.4.0/include/QtGui'
-I'../../../../msys/1.0/qt-win-opensource-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-opensour
ce-src-4.4.0/include/QtOpenGL'
-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'../../../../msys/1.0/qt-win-open
source-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-src-4.4.0/include/Qt3Support'
-I'../../../../msys/1.0/qt-wi
n-opensource-src-4.4.0/include/Qt3Support'
-I'../../../../msys/1.0/qt-win-opensource-src-4.4.0/inclu
de' -I'/C/mythtv/build//include' -I'../libmythsamplerate'
-I'../libmythsoundtouch' -I'../libmythfree
surround' -I'../libavcodec' -I'../libavutil' -I'../libmythdb' -I'../..'
-I'..' -I'.' -I'../libmythup
np' -I'../libmythui'
-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
schemawizard.o schemawizard.cpp
schemawizard.cpp: In member function `MythSchemaUpgrade
SchemaUpgradeWizard::PromptForUpgrade(const
char*, bool, bool, int, int, int)':
schemawizard.cpp:242: error: `isatty' was not declared in this scope
make[2]: *** [schemawizard.o] Error 1
make[2]: Leaving directory `/C/mythtv/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth-make_default-ordered] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080802/c75253b5/attachment.htm 


More information about the mythtv-dev mailing list