Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Compiling Error

Compiling Error
Tae Hyun Kim 2009/06/10 07:19
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:
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map