-
Notifications
You must be signed in to change notification settings - Fork 337
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
Error when compiling PHP-CPP with Debian and MingW newest Version #443
Comments
ok .. i dont get this with this version: git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP.git this works :) |
sorry i am wrong - it doesnt work :/ here one error: error: expected initializer before ‘__THROW’ .... please help :) |
Thanks Bruno - ill give a try :) |
ok .. but i dont understand whats this feature has to say: This release is mainly a bugfix release
i think its because of a compiler error .... |
hi, here the .dll from phpcpp and the .lib - compiled with php 7.4.0 / x86 and phpcpp :) EDIT: now it should work :) Greets |
Man! This is a great news. I'll try it as i can. Thank you |
Hi, sorry there are 4 dependencies which are not working (but the rest :) ) -i dont know why - i will check today evening .. Greets |
i will upload a .sln Project here later ;) Greets |
ok - my example extension works - without errors with phpcpp (with windows) :) i now try the php-gtk3 ;) Greets |
This is the best news on this year If you compile on windows, i'll back on the project, creating an auto-generator to create all the methods, and will be my year end project Please, try to write steps to compile php-cpp on windows, 'ill help alot |
Hi Bruno, EDIT: you have to rename the "string.h" file in the "zend" phpcpp folder to f.e. "strings.h" - because if you dont do this there are some errors because conflicts of the system "string.h" file ...... and then rename this string.h to strings.h when needed :) but i will try but not with fixed sourcecode - this would be too much - but i will upload the .sln File with the fiexed files here later:
so now if its compiled you can use it for developing extensions from php in windows :) the sln project with all dependencies are comming later ;) Greets from Germany |
Hi, the Problem in phpgtk3 for windows is the mixture of c and c++ - its not easy 😢 but not for me 😄 Greets |
Hi, here the .sln file for compiling phpcpp under windows .... EDIT: https://1drv.ms/u/s!AifVi84AXOwIhZRdiS8uKQUCQy5i9Q?e=EpJkE5 NOTE: You have to adjust the c++ files path ... or just add them by yourself :) HAVE FUN! Greets |
@scorninpc - maybe you can support me in compiling php-gtk3 for windows with help of my compiled phpcpp version ... Thanks and Greets! |
For sure Robert! Open a issue on the php-gtk3 project |
Hello,
i tried now several days to compile php-cpp in Debian with MingW (newest Version).
And there are Errors like:
...
/usr/i686-w64-mingw32/include/phpcpp/inivalue.h:17:21: error: variable ‘Php::PHPCPP_EXPORT Php::IniValue’ has initializer but incomplete type
class PHPCPP_EXPORT IniValue
...
And if i try to compile with g++ - it works..
Please help me!
Thanks!
The text was updated successfully, but these errors were encountered: