For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Compiling Error

Tae Hyun Kim's picture

Hi Im trying to compile a small application.. and i get these errors..

Does anyone know whats the reason?? and an way to get around it??

desktop:~/Desktop/project1/src$ make
g++ -Wno-deprecated -I./ `pkg-config gtk+-2.0 gtkglext-1.0 --cflags ` -DCSFDB -DHAVE_CONFIG_H -DHAVE_WOK_CONFIG_H -DLIN -DLININTEL -I/opt/OpenCASCADE6.3.0/ros/inc -I/opt/OpenCASCADE6.3.0/ros/src/WOKTclLib -c -o main.o main.cpp
In file included from /usr/include/c++/4.2/i486-linux-gnu/bits/c++locale.h:52,
from /usr/include/c++/4.2/iosfwd:45,
from /usr/include/c++/4.2/bits/stl_algobase.h:70,
from /usr/include/c++/4.2/bits/char_traits.h:46,
from /usr/include/c++/4.2/string:47,
from OccGtkGLView.h:29,
from Callbacks.h:3,
from main.cpp:14:
/usr/include/libintl.h:40: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:40: error: expected `)' before ‘const’
/usr/include/libintl.h:40: error: expected initializer before ‘const’
/usr/include/libintl.h:45: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:45: error: expected `)' before ‘const’
/usr/include/libintl.h:45: error: expected initializer before ‘const’
/usr/include/libintl.h:52: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:52: error: expected `)' before ‘const’
/usr/include/libintl.h:52: error: expected initializer before ‘const’
/usr/include/libintl.h:83: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:83: error: expected `)' before ‘const’
/usr/include/libintl.h:83: error: expected initializer before ‘const’
/usr/include/libintl.h:87: error: expected unqualified-id before ‘const’
/usr/include/libintl.h:87: error: expected `)' before ‘const’
/usr/include/libintl.h:87: error: expected initializer before ‘const’
In file included from Callbacks.h:3,
from main.cpp:14: