[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I Need help with ITL
- To: Aziz <azizsaleh at gmail dot com>
- Subject: Re: I Need help with ITL
- From: thamer at newkuwait dot org
- Date: Thu, 28 Apr 2005 00:46:04 +0300
- Resent-date: Thu, 28 Apr 2005 01:06:11 +0300
- Resent-date: Thu, 28 Apr 2005 01:08:12 +0300
- Resent-from: Thamer Mahmoud <thamer at newkuwait dot org>
- Resent-message-id: <17008.3283.910055.391734@newkuwait.org>
- Resent-to: Development Discussions <developer at arabeyes dot org>
(re-sending to developer at arabeyes dot org since there're other developers
working on or looking for a PHP solution)
Aziz writes:
> Salam Alikom brother Thamer,
>
> I am not that good in communicating between C++/PHP (which I intend to
> use this via PHP)..
>
> I need to know HOWTO make a php script in which it will communicate
> with this C++ program, E.g. I have variables in PHP which the user
> will submit, how would I pass these variables to c++ and fetch the
> results back to PHP.
>
> I would appreciate any help/tutorials/lessons..
>
If you're trying to use the SWIG interface, start at
www.swig.org. They have many tutorials for different programming
languages and a Wiki, which was really helpful while making the Perl
example.
> I see that it was already implemented via perl, which I am not able to run"
> --------------------------------------------------------------------------------------------------------------------------------------------
> [root at server public_html]# perl demo.pl
> Can't locate libitl_perl.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 .)
> at demo.pl line 25.
> BEGIN failed--compilation aborted at demo.pl line 25.
> --------------------------------------------------------------------------------------------------------------------------------------------
You need to run 'make' first in the swig directory for this to work.
Salaam,
Thamer Mahmoud