| hmm Aug 31 2005 on content IMac G5 | How did I end up on apple-look.org..... |
| | | compile Aug 26 2005 on content NeoUpDownMeter | it's ok its prob something on my system thats fubard echo $QTDIR said /usr/lib/qt so i did that command and now it said /usr/lib/qt-3.3.3,anywho I still gives me the same error tho its a lil diff than before I can paste it if youd like. |
| | | Re: Re: Re: Re: Re: Aug 26 2005 on content NeoUpDownMeter | still wont compile oh well i guess ill try later |
| | | Re: Re: Re: make err Aug 25 2005 on content NeoUpDownMeter | sorry I dont know where to change some of the stuff you said I am kind of new to linux any extra help would be appreciated,seems like a very good app. |
| | | Re: make error Aug 25 2005 on content NeoUpDownMeter | here goes the makefile sorry I forgot to include last time
#############################################################################
# Makefile for building: NeoUpDownMeter
# Generated by qmake (1.07a) (Qt 3.3.3) on: Thu Aug 25 08:35:16 2005
# Project: NeoUpDownMeter.pro
# Template: app
# Command: $(QMAKE) -o Makefile NeoUpDownMeter.pro
#############################################################################
####### Compiler, tools and options
CC = gcc
CXX = g++
LEX = flex
YACC = yacc
CFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
CXXFLAGS = -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
LEXFLAGS =
YACCFLAGS= -d
INCPATH = -I/usr/lib/qt/mkspecs/default -I. -I. -I$(QTDIR)/include
LINK = g++
LFLAGS = -Wl,-rpath,$(QTDIR)/lib
LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
AR = ar cqs
RANLIB =
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
QMAKE = qmake
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE= $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### Output directory
OBJECTS_DIR = ./
####### Files
HEADERS = cmeter.h \
frmmain.ui.h
SOURCES = cmeter.cpp \
main.cpp
OBJECTS = cmeter.o \
main.o \
frmmain.o \
frmsettings.o
FORMS = frmmain.ui \
frmsettings.ui
UICDECLS = frmmain.h \
frmsettings.h
UICIMPLS = frmmain.cpp \
frmsettings.cpp
SRCMOC = moc_frmmain.cpp \
moc_frmsettings.cpp
OBJMOC = moc_frmmain.o \
moc_frmsettings.o
DIST = NeoUpDownMeter.pro
QMAKE_TARGET = NeoUpDownMeter
DESTDIR =
TARGET = NeoUpDownMeter
first: all
####### Implicit rules
.SUFFIXES: .c .o .cpp .cc .cxx .C
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.C.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
all: Makefile $(TARGET)
$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(OBJCOMP) $(LIBS)
mocables: $(SRCMOC)
uicables: $(UICDECLS) $(UICIMPLS)
$(MOC):
( cd $(QTDIR)/src/moc && $(MAKE) )
Makefile: NeoUpDownMeter.pro /usr/lib/qt/mkspecs/default/qmake.conf /usr/lib/qt/lib/libqt-mt.prl
$(QMAKE) -o Makefile NeoUpDownMeter.pro
qmake:
@$(QMAKE) -o Makefile NeoUpDownMeter.pro
dist:
@mkdir -p .tmp/NeoUpDownMeter && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .tmp/NeoUpDownMeter/ && $(COPY_FILE) --parents frmmain.ui.h .tmp/NeoUpDownMeter/ && ( cd `dirname .tmp/NeoUpDownMeter` && $(TAR) NeoUpDownMeter.tar NeoUpDownMeter && $(GZIP) NeoUpDownMeter.tar ) && $(MOVE) `dirname .tmp/NeoUpDownMeter`/NeoUpDownMeter.tar.gz . && $(DEL_FILE) -r .tmp/NeoUpDownMeter
mocclean:
-$(DEL_FILE) $(OBJMOC)
-$(DEL_FILE) $(SRCMOC)
uiclean:
-$(DEL_FILE) $(UICIMPLS) $(UICDECLS)
yaccclean:
lexclean:
clean: mocclean uiclean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
####### Sub-libraries
distclean: clean
-$(DEL_FILE) $(TARGET) $(TARGET)
FORCE:
####### Compile
cmeter.o: cmeter.cpp cmeter.h
main.o: main.cpp frmmain.h
frmmain.h: frmmain.ui
$(UIC) frmmain.ui -o frmmain.h
frmmain.cpp: frmmain.h frmmain.ui
$(UIC) frmmain.ui -i frmmain.h -o frmmain.cpp
frmsettings.h: frmsettings.ui
$(UIC) frmsettings.ui -o frmsettings.h
frmsettings.cpp: frmsettings.h frmsettings.ui
$(UIC) frmsettings.ui -i frmsettings.h -o frmsettings.cpp
frmmain.o: frmmain.cpp frmmain.ui.h \
frmmain.h
frmsettings.o: frmsettings.cpp frmsettings.h
moc_frmmain.o: moc_frmmain.cpp frmmain.h
moc_frmsettings.o: moc_frmsettings.cpp frmsettings.h
moc_frmmain.cpp: $(MOC) frmmain.h
$(MOC) frmmain.h -o moc_frmmain.cpp
moc_frmsettings.cpp: $(MOC) frmsettings.h
$(MOC) frmsettings.h -o moc_frmsettings.cpp
####### Install
install:
uninstall: |
| | | Re: Re: Re: Re: Re: Aug 25 2005 on content NeoUpDownMeter | here goes the full error of make
/usr/lib/qt/bin/uic frmmain.ui -o frmmain.h
/usr/lib/qt/bin/uic frmsettings.ui -o frmsettings.h
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt/mkspecs/default -I. -I. -I/usr/lib/qt/include -o cmeter.o cmeter.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt/mkspecs/default -I. -I. -I/usr/lib/qt/include -o main.o main.cpp
/usr/lib/qt/bin/uic frmmain.ui -i frmmain.h -o frmmain.cpp
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt/mkspecs/default -I. -I. -I/usr/lib/qt/include -o frmmain.o frmmain.cpp
In file included from frmmain.cpp:24:
frmmain.ui.h: In member function `void frmMain::init()':
frmmain.ui.h:81: error: `exit' undeclared (first use this function)
frmmain.ui.h:81: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make: *** [frmmain.o] Error 1
and locate qapplication.h
/usr/lib/qt-3.3.3/doc/html/qapplication.html
/usr/lib/qt-3.3.3/include/qapplication.h |
| | | Re: Re: Re: Re: erro Aug 25 2005 on content NeoUpDownMeter | afaik slackware does not need qt-devel only other distros suse,debian etc |
| |
Search people Current visitors New users Birthdays Most active users Back
|
|