On Mon, Apr 01, 2013 at 01:27:49PM -0400, QDVDAuthor wrote:
> On 04/01/2013 08:51 AM, richard wrote:
> >error: ‘ptrdiff_t’ does not name a type
> ouch seems like some include file is missing.
> https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/791527
> 
> You can compile the app without the configurator using
> 
> ./configure -n
> 
It failed. I had a look and added 
#include <stddef.h>

near the top of qvaluelist.h 
and did the same for qmap.h 

reading up, it seems that GNU moved some headers around

I also saw some stuff that said that 'ptrdiff_t' can fail 
silently under some conditions on 64 bit systems. 

The messages from ./configure -n are below:

Project MESSAGE: Build with MPlayer support
g++ -c -pipe -g -Wall -W -Wno-non-virtual-dtor -O0 -O0 -ggdb3 -gdwarf-2 
-D_REENTRANT  -DQDVD_LINUX -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ 
-Iqplayer/engines -I. -Iqplayer -Iplugins/menuslide -I.moc/ -o 
.obj/render_client.o render_client.cpp
g++ -c -pipe -g -Wall -W -Wno-non-virtual-dtor -O0 -O0 -ggdb3 -gdwarf-2 
-D_REENTRANT  -DQDVD_LINUX -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ 
-Iqplayer/engines -I. -Iqplayer -Iplugins/menuslide -I.moc/ -o 
.obj/oneclickwizard.o oneclickwizard.cpp
g++ -c -pipe -g -Wall -W -Wno-non-virtual-dtor -O0 -O0 -ggdb3 -gdwarf-2 
-D_REENTRANT  -DQDVD_LINUX -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ 
-Iqplayer/engines -I. -Iqplayer -Iplugins/menuslide -I.moc/ -o 
.obj/templatewizard.o templatewizard.cpp
g++ -c -pipe -g -Wall -W -Wno-non-virtual-dtor -O0 -O0 -ggdb3 -gdwarf-2 
-D_REENTRANT  -DQDVD_LINUX -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ 
-Iqplayer/engines -I. -Iqplayer -Iplugins/menuslide -I.moc/ -o 
.obj/dialogtextfont.o dialogtextfont.cpp
In file included from render_client.cpp:38:0:
/usr/include/qt3/qimage.h: In member function ‘bool 
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61:61: warning: suggest parentheses around ‘&&’ 
within ‘||’ [-Wparentheses]
In file included from oneclickwizard.cpp:16:0:
/usr/include/qt3/qimage.h: In member function ‘bool 
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61:61: warning: suggest parentheses around ‘&&’ 
within ‘||’ [-Wparentheses]
In file included from /usr/include/qt3/qdragobject.h:50:0,
                 from /usr/include/qt3/qiconview.h:51,
                 from templatewizard.cpp:41:
/usr/include/qt3/qimage.h: In member function ‘bool 
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61:61: warning: suggest parentheses around ‘&&’ 
within ‘||’ [-Wparentheses]
render_client.cpp: In static member function ‘static bool 
Render::Manager::registerEntry(SourceFileEntry*)’:
render_client.cpp:380:18: error: ‘usleep’ was not declared in this scope
render_client.cpp: In member function ‘void 
Render::Client::receivedVersionAndHost()’:
render_client.cpp:747:42: error: ‘gethostname’ was not declared in this scope
render_client.cpp: In member function ‘bool 
Render::Client::sendVersionAndHostRequest()’:
render_client.cpp:902:42: error: ‘gethostname’ was not declared in this scope
make: *** [.obj/render_client.o] Error 1
make: *** Waiting for unfinished jobs....
oneclickwizard.cpp: In member function ‘virtual void 
Input::OneClickWizard::slotSourceToSourceGroup(QListBoxItem*)’:
oneclickwizard.cpp:779:18: error: ‘usleep’ was not declared in this scope
make: *** [.obj/oneclickwizard.o] Error 1
Build of QDVDAuthor failed.




------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
QDVDAuthor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qdvdauthor-users

Reply via email to