-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open Transactions - Swig - Php #27
Comments
On 10/27/12 11:17 PM, Jesmond Spiteri wrote:
I've copied da2ce7 on this, since he's the one managing the Windows build. (You might try his version at github.com/da2ce7/Open-Transactions) Normally on linux, you do this (from the Open-Transactions directory): autoreconf -i -f So basically you would configure it for PHP before building. As for how this is done on Windows, I'd have to defer to Da2ce7. -FT |
For Open Transactions there are two Visual Studio Solutions: You need to successfully compile the first solution. Afterwards, you need to compile the swig solution (or the individual projects contained within that you want). I have got otapi-java and otapi-csharp working.... However I have not worked on the dependencies for the other swig builds. In the project you may need to add references in the VC++ directories, Particularly the "Include Directories" and "Library Directories" to link to your php header and static object directories. I recommend you use my branch, as I have improved the swig builds for the non-java languages considerably. |
@jspit also... please feel welcome to hang out in #opentransactions on freenode. I hangout very regularly there. (and dose virtually the entire OT team) |
Hi i have tried to generate the php_otapi.dll by compiling swig\otapi\otapi-wrap.sl project the following errors are coming up any idea why ? 1>------ Skipped Build: Project: otapi-java, Configuration: Release Win32 ------ 5> OTAPI-php.cpp 5>C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(627): warning C4273: 'getwchar' : inconsistent dll linkage Thanks |
Hi Yesterday sent you email ? when you say 'to hang out in #open transactions on freenode.' what is the i normally visit 'https://github.com/da2ce7/Open-Transactions'. Thanks On 29 October 2012 04:29, Cameron Garnham [email protected] wrote:
Jesmond Spiteri |
-----BEGIN PGP SIGNED MESSAGE----- Freenode is a IRC Network. For a client I recommend KVIrc: Connect to the Freenode Network, then join #opentransactions via the /j #opentransactions
this line is your issue... you need to add the PHP DEV directory to your On 31/10/2012 4:03 AM, Jesmond Spiteri wrote:
-----BEGIN PGP SIGNATURE----- iF4EAREIAAYFAlCQPV8ACgkQBJ8cMDO159aYmAEA04+b63zvMwmi1GQIvdDCP3xn |
Did you manage to generate the dll yourself ? or the otapi.so That's all I need to start doing some real stuff and testing Jes On 30 October 2012 21:49, Cameron Garnham [email protected] wrote:
Jesmond Spiteri |
-----BEGIN PGP SIGNED MESSAGE----- On 31/10/2012 8:56 AM, Jesmond Spiteri wrote:
Ok I've got it to compile: https://github.com/da2ce7/Open-Transactions/blob/vs2010/docs/INSTALL-Windows.txt You will need to use my vs2010 branch... (this still works with :) iF4EAREIAAYFAlCQtNwACgkQBJ8cMDO159YhigD/aSm1okSQ1GWygHKikKriMhxG |
Hi Cameron I tried to compile. All to no avail - errors coming up with getwchar() in Maybe there is a compatibilty issue or I don't know. I am starting to loose hope. Thanks a lot for your help. If you managed to generate the php_otapi.dll and otapii.so and you can send it to me, please do so as I am wasting to much time on it. Thanks again On 31 October 2012 06:19, Cameron Garnham [email protected] wrote:
Jesmond Spiteri |
When I make another binary release, I'll be sure to include the PHP module DLL. Atm it is a bad time as there are some big changes in the pipe. But maybe in two weeks. I'm sorry about the pain you have been going through. But I've gotta stress that using IRC is the best way to get support from the entire OT team. I mainly do the windows development, so I find it hard to support on Linux or Unix issues. In the IRC channel there ate the actual people who made our Linux build system. They would be better positioned to help you than I. Cam. |
Thanks On 31 October 2012 23:41, Cameron Garnham [email protected] wrote:
Jesmond Spiteri |
I cannot find
'php_otapi.dll' or otapi.so
required by php file otapi.php (swig/glue/php)
I am running windows 7
How can I generate them ?
From Visual Studio, it is asking zend files which I don't find in the open-transactions folder but i downloaded from the zend framework
When i try to build from visual studio 10, the following error comes up
C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdio.h(627): warning C4273: 'getwchar' : inconsistent dll linkage
The text was updated successfully, but these errors were encountered: