[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I Need help with ITL



Salem,
you can try my contribution :
http://www.alkhawarezmi.com/arabicForum/viewtopic.php?p=3874#3874

bye
thamer at newkuwait dot org wrote:
(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


  

_______________________________________________ Developer mailing list Developer at arabeyes dot org http://lists.arabeyes.org/mailman/listinfo/developer