Author Topic: where i find config.h?  (Read 4657 times)

0 Members and 1 Guest are viewing this topic.

Offline crypton

  • Elite
  • *****
  • Posts: 1699
  • Karma: +10/-0
    • View Profile
where i find config.h?
« on: March 04, 2007, 06:30:11 PM »
hi

i will compile the latest gnunet-qt svn source but doesnt find
"config.h"?

i use my own QT .pro  proejct files
which can make automaticly via:

qmake -project

and edited some lines in my QT project file to doestn get errors when not found a include.

Quote

E:\gnunet-qt>qmake

E:\gnunet-qt>make
mingw32-make -f Makefile.Release
Makefile.Release:490: warning: overriding commands for target `ui_about.h'
Makefile.Release:484: warning: ignoring old commands for target `ui_about.h'
Makefile.Release:502: warning: overriding commands for target `ui_textEditor.h'
Makefile.Release:481: warning: ignoring old commands for target `ui_textEditor.h
'
mingw32-make[1]: Entering directory `E:/crypt p2p/gnunet-qt'
c:\Qt\4.2.0\bin\uic.exe src\plugins\fs\textEditor.ui -o ui_textEditor.h
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
 -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/in
clude/QtGui" -I"C:/Qt/4.2.0/include/QtGui" -I"C:/Qt/4.2.0/include" -I"." -I"src\
include" -I"src\common" -I"C:/Qt/4.2.0/include/ActiveQt" -I"release" -I"." -I"c:
\Qt\4.2.0\mkspecs\default" -o release\gstring.o src\common\gstring.cc
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
 -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/in
clude/QtGui" -I"C:/Qt/4.2.0/include/QtGui" -I"C:/Qt/4.2.0/include" -I"." -I"src\
include" -I"src\common" -I"C:/Qt/4.2.0/include/ActiveQt" -I"release" -I"." -I"c:
\Qt\4.2.0\mkspecs\default" -o release\pluginLoader.o src\common\pluginLoader.cc
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
 -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/in
clude/QtGui" -I"C:/Qt/4.2.0/include/QtGui" -I"C:/Qt/4.2.0/include" -I"." -I"src\
include" -I"src\common" -I"C:/Qt/4.2.0/include/ActiveQt" -I"release" -I"." -I"c:
\Qt\4.2.0\mkspecs\default" -o release\textEditor.o src\common\textEditor.cc
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
 -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/include/QtCore" -I"C:/Qt/4.2.0/in
clude/QtGui" -I"C:/Qt/4.2.0/include/QtGui" -I"C:/Qt/4.2.0/include" -I"." -I"src\
include" -I"src\common" -I"C:/Qt/4.2.0/include/ActiveQt" -I"release" -I"." -I"c:
\Qt\4.2.0\mkspecs\default" -o release\aboutDlg.o src\core\aboutDlg.cc
src\core\aboutDlg.cc:27:20: config.h: No such file or directory
In file included from src\core\aboutDlg.cc:28:
src\core\/aboutDlg.h:34: error: expected class-name before '{' token
src\core\aboutDlg.cc: In constructor `GAboutDlg::GAboutDlg(QWidget*)':
src\core\aboutDlg.cc:32: error: `setupUi' undeclared (first use this function)
src\core\aboutDlg.cc:32: error: (Each undeclared identifier is reported only onc
e for each function it appears in.)
src\core\aboutDlg.cc:34: error: `pbClose' undeclared (first use this function)
src\core\aboutDlg.cc:36: error: `labelHead' undeclared (first use this function)

src\core\aboutDlg.cc:39: error: `labelVer' undeclared (first use this function)
src\core\aboutDlg.cc:39: error: `PACKAGE_VERSION' undeclared (first use this fun
ction)
mingw32-make[1]: *** [release\aboutDlg.o] Error 1
mingw32-make[1]: Leaving directory `E:/crypt p2p/gnunet-qt'
mingw32-make: *** [release] Error 2

E:\gnunet-qt>


and i doesnt find the config.h...
« Last Edit: March 04, 2007, 06:41:23 PM by crypton »

Offline ndurner

  • Advanced
  • ***
  • Posts: 176
  • Karma: +5/-1
  • Planet Peer Community
    • View Profile
    • Nils Durner
Re: where i find config.h?
« Reply #1 on: March 23, 2007, 03:40:57 PM »
Hi,

config.h is generated by autoconfig.

Just using qmake won't work, use this to build gnunet-qt:
Code: [Select]
./bootstrap
./configure
make install

The call to qmake is included in configure.ac.

HTH,

Nils