Calling SWT from C++ code
Praful bhoyar
Praful.bhoyar@lntinfotech.com
Fri Nov 5 11:07:00 GMT 2004
Hi Andrew,
That is the problem i do not have "Composite.h" in my machine,
because the SWT library comes as a DLL
and there are no header files for this, when a ran gcjh on my java code it
generated the "phone.h" header file.
May be there is some other way to use SWT with CNI
Thanks and Regards
Praful Bhoyar
Andrew Haley
<aph@redhat.com> To: "Praful bhoyar" <Praful.bhoyar@lntinfotech.com>
cc: java@gcc.gnu.org
05/11/2004 04:15 Subject: Calling SWT from C++ code
PM
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.
______________________________________________________________________
This email may contain confidential or privileged information for the
intended recipient(s). If you are not the intended recipient, please do not
use or disseminate the information, notify the sender and delete it from
your system. Thanks
______________________________________________________________________
More information about the Java
mailing list