KDE4 mess on Snow Leopard

Nils n.bruenggel at gmail.com
Wed Sep 23 02:27:52 PDT 2009


Thx for the replay..

I was trying to compile it using Cocoa QT from the official
distribution. However it failed, saying that it could not find some
file. I used /Library/Frameworks/Qt3Support.framework/Headers as the
include dir. This is a bit off topic, but I really like to have a qt
version running, which works with CGAL..


  ****************************************************************
  **                                                            **
  **                     Compilation failed                     **
  **                     ==================                     **
  **                                                            **
  **              You will be shown a log now ...               **
  **             Please press <ENTER> to continue.              **
  ****************************************************************

Compiler call:
--------------
g++ -Wall -frounding-math
-I/Users/nils/Source/CGAL-3.3.1/include/CGAL/config/i386_Darwin-10.0_g++-4.2.1
-I/opt/local/include/ -I/usr/X11/include  -Is\
/Library/Frameworks/Qt3Support.framework/Headers  -Is\
/Library/Frameworks/Qt3Support.framework/Headers   -c './tmp_test.cpp'

Got the following error messages:
---------------------------------
./tmp_test.cpp:27:21: error: qglobal.h: No such file or directory
./tmp_test.cpp:28:20: error: qarray.h: No such file or directory
./tmp_test.cpp:30: error: expected constructor, destructor, or type
conversion before ‘<’ token
./tmp_test.cpp: In function ‘int main()’:
./tmp_test.cpp:44: error: ‘QT_VERSION_STR’ was not declared in this scope
./tmp_test.cpp:46: error: ‘QArray’ was not declared in this scope
./tmp_test.cpp:46: error: expected primary-expression before ‘int’
./tmp_test.cpp:46: error: expected `;' before ‘int’
./tmp_test.cpp:48: error: ‘a’ was not declared in this scope


More information about the macports-users mailing list