View Full Version : ptrdiff_t does not name a type
suntaa
02-10-2012, 08:23 AM
Hello,
trying to compile showeg 5.13.10.3 on ubuntu (11.10) but make fails.
./configure looks good
http://pastebin.com/njZguGPP
but make after that fails with /usr/include/qt3/qvaluevector.h:247:13: error: ‘ptrdiff_t’ does not name a type
complete make output here http://pastebin.com/NND994bx
any clues?
purple
02-16-2012, 03:53 PM
What version of gcc? Maybe your qt3 headers are out of date?
Anyone found a solution to this? im getting the same error, Ubuntu 11.10, GCC is version 4.6.1
Thanks
purple
03-05-2012, 11:27 AM
Maybe your qt3 headers are out of date?
suntaa
03-13-2012, 06:43 AM
same problem here on ubuntu11.10 with libqt3-compat-headers 3:3.3.8-b-8ubuntu3
gcc is 4.6.1
cannot find more recent version like purple recommended²
cannot compile without that package
latest seq-release 5.3.10-4 compiles fine on ubuntu8.04 with same libqt3-headers
any hint?
r6express
03-14-2012, 07:57 PM
Here's a quick solution:
sudo vi /usr/include/qt3/qvaluevector.h
Under
#include "qdatastream.h"
Add this line:
#include <cstddef>
Razzle
03-25-2012, 04:37 PM
Looks like it is a gcc 4.6 problem from what I see. I went ahead and got a copy of ubuntu 11.10 installed on my system to see what was going on. Good grief hated the new ubuntu unity interface first time saw it.
In your showeq source files, src/message.h
right after where you find:
#include <stdint.h>
add this:
#include <cstddef>
This should fix your problem. That way you stay out of the qt3 header files.
Razzle
Powered by vBulletin® Version 4.1.11 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.