This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Calling SWT from C++ code


Praful bhoyar writes:
 > 
 > D:\wsp\callJH>g++ callJH.cpp
 > In file included from callJH.cpp:10:
 > ../MobileSimu/Phone.h:8:47: org/eclipse/swt/widgets/Composite.h: No such
 > file or
 >  directory

You haven't included a path to your include directory in your command
line.  g++ has no way to know where Composite.h is.  You need to find
out where Composite.h really is on your system and add its path with
"-I" to your g++ command line.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]