Ubuntu creator can not build
-
looks like including relative file isnot allowable, any ideas
@16:22:01: Running build steps for project units...
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Configuration unchanged, skipping qmake step.
16:22:01: Starting: "/usr/bin/make" -w
16:22:01: Starting: "/usr/bin/make" -w
16:22:01: Starting: "/usr/bin/make" -w
16:22:01: Starting: "/usr/bin/make" -w
16:22:01: Starting: "/usr/bin/make" -w
16:22:01: Starting: "/usr/bin/make" -w
make: Entering directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
make: Entering directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
make: Entering directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
In file included from ../units/unitformat.h:37:0,
In file included from ../units/unitformat.h:37:0,
In file included from ../units/unitformat.h:37:0,
In file included from ../units/unitformat.h:37:0,
In file included from ../units/unitformat.h:37:0,
In file included from ../units/unitformat.h:37:0,
from ../units/unit.cpp:6:
from ../units/unit.cpp:6:
from ../units/unit.cpp:6:
from ../units/unit.cpp:6:
from ../units/unit.cpp:6:
from ../units/unit.cpp:6:
../units/si.h:33:18: fatal error: Vector: No such file or directory
../units/si.h:33:18: fatal error: Vector: No such file or directory
../units/si.h:33:18: fatal error: Vector: No such file or directory
../units/si.h:33:18: fatal error: Vector: No such file or directory
../units/si.h:33:18: fatal error: Vector: No such file or directory
../units/si.h:33:18: fatal error: Vector: No such file or directory
compilation terminated.
compilation terminated.
compilation terminated.
compilation terminated.
compilation terminated.
compilation terminated.
make: Leaving directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
make: Leaving directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
make: Leaving directory/home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory
/home/administrator/QtProjects/Source/Trunk/units-build-desktop'
make: *** [unit.o] Error 1
make: *** [unit.o] Error 1
make: *** [unit.o] Error 1
make: *** [unit.o] Error 1
make: *** [unit.o] Error 1
make: *** [unit.o] Error 1
16:22:02: The process "/usr/bin/make" exited with code 2.
16:22:02: The process "/usr/bin/make" exited with code 2.
16:22:02: The process "/usr/bin/make" exited with code 2.
16:22:02: The process "/usr/bin/make" exited with code 2.
16:22:02: The process "/usr/bin/make" exited with code 2.
16:22:02: The process "/usr/bin/make" exited with code 2.
Error while building project units (target: Desktop)
When executing build step 'Make'@ -
Is
@
Vector
@
a header file created by yourself? -
There is a <vector> header file in the C++ standard library.
However that <vector> starts with a lower-case character. On Windows upper or lower case doesn't matter in file names, but on Linux it does. May this be the problem?
-
[quote author="1+1=2" date="1335911723"]Is
@
Vector
@
a header file created by yourself?[/quote]nope, and also I check those header files and its exactly exist there
-
[quote author="MuldeR" date="1335916952"]There is a <vector> header file in the C++ standard library.
However that <vector> starts with a lower-case character. On Windows upper or lower case doesn't matter in file names, but on Linux it does. May this be the problem?[/quote]
give me more detail please
-
[quote author="pmjz" date="1335923547"]
[quote author="1+1=2" date="1335911723"]Is
@
Vector
@
a header file created by yourself?[/quote]nope, and also I check those header files and its exactly exist there[/quote]
Can you tell us where is the header and which package provide it?
I don't think a serious tool will provide such a header file.
-
ok,simply, I have a package named units which includes all header files
-
There seems to be no file "Vector" in ../units. Please be aware that case matters on linux: if the file is called "vector", then '#include "Vector"' will fail. On windows that will work.
-
you guys are right, changing to vector is working very well,thanks