Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2008-01

Latest qt4pas compilation problem

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Den Jean
to Ales Katona
pm Ales Katona wrote
See attached file for a huge list of errors I got :(

not related to binding, see first errors.
check that c++ part of c compiler is installed.

Ales Katona
to Den Jean

Den Jean wrote / nap?sal(a):

not related to binding, see first errors. check that c++ part of c compiler is installed.

which first errors tell you that?

In any case I got gcc-4.1 and g++-4.1 both installed, others are not (only the -base packages required by various things).

Ales

Den Jean
to Ales Katona
pm Ales Katona wrote
which first errors tell you that?

first two lines:
/usr/include/c++/4.1.3/cstddef:54: error: ptrdiff_t has not been declared /usr/include/c++/4.1.3/bits/postypes.h:78: error: ptrdiff_t does not name a type

just locate and read some of the stddef.h files present on your harddisk (define ptrdiff_t) I think your compiler setup is broken, if it is rpm based, uninstall and reinstall and try to have only one gcc version.

Ales Katona
to Den Jean: first two lines: /usr/include/c++/4.1.3/cstddef:54: error: ptrdiff_t has not been declared

Den Jean wrote / nap?sal(a):

Show quoted text 8 lines
first two lines: /usr/include/c++/4.1.3/cstddef:54: error: ptrdiff_t has not been declared /usr/include/c++/4.1.3/bits/postypes.h:78: error: ptrdiff_t does not name a type just locate and read some of the stddef.h files present on your harddisk (define ptrdiff_t) I think your compiler setup is broken, if it is rpm based, uninstall and reinstall and try to have only one gcc version.

Ok I compiled a simple example Qt4 app and it worked, so I guess the problem lies elsewhere? I also tried re-installing all gcc and g++ stuff I have (I got only 1 version of compiler[s], but 2 gcc-base because of dependencies, but I reinstalled those as well). Nothing seems to help :(

I'll try older qt4pas again if it works per-chance, that should clear things up.

Ales

Show quoted text 8 lines
_______________________________________________ Qt mailing list http://www.lazarus.freepascal.org/mailman/listinfo/qt