[omniORB-dev] 'CORBA::LongDoubleSeq' has not been declared

adeeshah asgher.adeel at gmail.com
Tue Jun 15 09:15:05 BST 2010


Hi,

I am new in OmniORB. I have downloaded the ready built zip of OmniORB for
windows. I am using OmniORB on Windows Vista with MinGw. I created the stub
files using the omniidl.exe -bcxx. I am using Qt Creator IDE. My project
file looks like this,

# -------------------------------------------------
# Project created by QtCreator 2010-06-11T17:33:28
# -------------------------------------------------
TARGET = OMCcorba
TEMPLATE = app

# -------For OMNIorb
DEFINES += __x86__ \
 __NT__ \
 __OSVERSION__=4 \
 __WIN32__
LIBS += -LE:\Thesis\omniORB-4.1.4\bin\x86_win32 \
 -LE:\Thesis\omniORB-4.1.4\lib\x86_win32
INCLUDEPATH += E:\Thesis\omniORB-4.1.4\include

SOURCES += main.cpp \
    mainwindow.cpp \
    omc_communication.cpp
HEADERS += mainwindow.h \
    omc_communication.h 

#---------------------------------------------------------------------
#---------------------------------------------------------------------

I also created a Environment variable named OMNIORB_CONFIG that points to
E:\Thesis\omniORB-4.1.4\config directory.

I am getting the following error when i try to run my programme. Please see
below for compile output,

#--------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------
Running build steps for project OMCcorba...
Configuration unchanged, skipping QMake step.
Starting: E:/appl/Qt/2010.02.1/mingw/bin/mingw32-make.exe -w 
mingw32-make: Entering directory `E:/Thesis/OMCcorba'
E:/appl/Qt/2010.02.1/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `E:/Thesis/OMCcorba'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -D__x86__ -D__NT__ -D__OSVERSION__=4 -D__WIN32__
-DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"..\..\appl\Qt\2010.02.1\qt\include\QtCore"
-I"..\..\appl\Qt\2010.02.1\qt\include\QtGui"
-I"..\..\appl\Qt\2010.02.1\qt\include" -I"..\omniORB-4.1.4\include"
-I"..\..\appl\Qt\2010.02.1\qt\include\ActiveQt" -I"debug"
-I"..\..\appl\Qt\2010.02.1\qt\mkspecs\win32-g++" -o debug\main.o main.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -D__x86__ -D__NT__ -D__OSVERSION__=4 -D__WIN32__
-DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"..\..\appl\Qt\2010.02.1\qt\include\QtCore"
-I"..\..\appl\Qt\2010.02.1\qt\include\QtGui"
-I"..\..\appl\Qt\2010.02.1\qt\include" -I"..\omniORB-4.1.4\include"
-I"..\..\appl\Qt\2010.02.1\qt\include\ActiveQt" -I"debug"
-I"..\..\appl\Qt\2010.02.1\qt\mkspecs\win32-g++" -o debug\mainwindow.o
mainwindow.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -D__x86__ -D__NT__ -D__OSVERSION__=4 -D__WIN32__
-DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"..\..\appl\Qt\2010.02.1\qt\include\QtCore"
-I"..\..\appl\Qt\2010.02.1\qt\include\QtGui"
-I"..\..\appl\Qt\2010.02.1\qt\include" -I"..\omniORB-4.1.4\include"
-I"..\..\appl\Qt\2010.02.1\qt\include\ActiveQt" -I"debug"
-I"..\..\appl\Qt\2010.02.1\qt\mkspecs\win32-g++" -o
debug\omc_communication.o omc_communication.cpp
In file included from ..\omniORB-4.1.4\include/omniORB4/CORBA.h:518,
from omc_communication.h:6,
from omc_communication.cpp:3:
..\omniORB-4.1.4\include/omniORB4/dynAny.h:170: error:
'CORBA::LongDoubleSeq' has not been declared
..\omniORB-4.1.4\include/omniORB4/dynAny.h:190: error: ISO C++ forbids
declaration of 'LongDoubleSeq' with no type
..\omniORB-4.1.4\include/omniORB4/dynAny.h:190: error: invalid use of '::'
..\omniORB-4.1.4\include/omniORB4/dynAny.h:190: error: expected ';' before
'*' token
omc_communication.cpp:13: warning: '_0RL_library_version' defined but not
used
mingw32-make[1]: Leaving directory `E:/Thesis/OMCcorba'
mingw32-make: Leaving directory `E:/Thesis/OMCcorba'
mingw32-make[1]: *** [debug/omc_communication.o] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.
Error while building project OMCcorba
When executing build step 'Make'
#---------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------

Please help me. Thanks,

Regards,
Adeel.


-- 
View this message in context: http://old.nabble.com/%27CORBA%3A%3ALongDoubleSeq%27-has-not-been-declared-tp28891553p28891553.html
Sent from the OmniORB - Dev mailing list archive at Nabble.com.




More information about the omniORB-dev mailing list