Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Hello World (64-bit) is a Hello World for 64-bit.
Compiling the code results in the following error:
/usr/include/c++/4.5/iostream:39: error: bits/c++config.h: No such file or directory
|
Technical facts
Application type(s)
Operating system(s) or programming environment(s)
IDE(s):
Project type:
C++ standard:
Compiler(s):
Libraries used:
STL: GNU ISO C++ Library, version 4.5.2
Qt project file: CppHelloWorld64QtCreatorLubuntu.pro
#-------------------------------------------------
#
# Project created by QtCreator 2010-09-29T14:58:49
#
#-------------------------------------------------
QT += core
QT -= gui
TARGET = CppHelloWorld64QtCreatorLubuntu
QMAKE_CXXFLAGS += -m64
#INCLUDEPATH += /usr/include/c++/4.5/i486-linux-gnu
#INCLUDEPATH += /usr/include/c++/4.5/i686-linux-gnu
#INCLUDEPATH += /usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/i586-mingw32msvc
#INCLUDEPATH += /opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/include/c++/i686-pc-mingw32
#LIBS += -L/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.2/lib/c++/i686-pc-mingw32
#LIBS += -L/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/i586-mingw32msvc
#LIBS += -L/usr/lib/c++/4.5/i486-linux-gnu
#QMAKE_CXXFLAGS += -std=c++0x
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
|
main.cpp
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
