-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
PHPCPP for Windows as .dll/.lib #104
Comments
Hello Robert This is a link error, maybe phpcpp path error? or something? Or you missing some error. In my experience, maybe missing libgtksourceview and GtkSouceView cannot be compiled? try to look all log |
Hi Bruno, yes i found it has to be in the streams.h/streams.cpp File - ill try to get this :) Thanks and Regards! |
okay - now just 3 :)
Try to check out :) Regards |
ok only 2 :)
|
And what are you doing? |
oh ... i didnt know it by myself - its very hard im just experimenting - maybe i will do a complete new tutorial - lets have a look 😆 gn8 😎 PS: Before i forget - one error left ...... |
Hello together, ok i figured out the phpcpp is compiled and linked correct - the Problem is the implementation for phpcpp in phpgtk3. i can compile phpcpp without errors and of course i can compile the phpgtk3 dependencies. but not the main.cpp as itself. Because of the __declspec(dllimport) Constant: "PHPCPP_EXPORT". So in my opinion you should compile php-gtk3 complete with all files there are needed in one visual studio project. Therefor i will do a new tutorial - but the phpcpp is also compiled and you can use for other applications. BUT: If you have an Idea let me know 🙂 have a nice day and regards! |
i didn't see any change on phpcpp that needs change on phpgtk, it's very strange maybe @apss-pohl can help with some tests on windows? |
ok but for windows it s a bit different .. i try to make a workaround 😎 Regards |
okay - i will fix the stuff in the phpcpp there is no other workaround ... Regards |
Robert, wouldn't it be possible for this error to occur due to the version of PHP or PHPCPP? |
Hi, |
Hi together, okay - once again: i compiled phpcpp as .lib/.dll for windows without errors. But if i try to use it with phptk3 there are some errors ...... dont know why .... but it can be of the constant for dllimport/dllexport .... Maybe you could help me here ... thx a lot! Regards PS: I used the actual master branch of phpcpp .... and also the status quo of the php-gtk3 ;) |
Can you try my repo? Also i never compiled php8 but only 7.4, could also make a difference? |
Hi, yes of course the PHP Version could be the reason - ill check this :) Regards |
i never understand this c errors in windows hhahahha still not working? |
@scorninpc Bruno - is it ok for you if i do a new repository for php-gtk3 under windows? Thanks and Regards! |
Robert, i think it's better to maintain one repo only. Its a big problem of open source. Alot forks and some point projects stop update. I always mention you guys, and if you want I'd love to release .zip of windows binaries. But... its your decision =) anyway, i'll release a new version. What PHP version are you using? to release same version on windows and linux |
Hi, sorry for the delay :P ok - you are right - we should keep it together. maybe we can provide windows php 8 and php 7 as .zip files in your repo ;) Have a nice Time! Regards |
Just a hint @subabrain i forgot about this one. |
Hello together,
after the Release of my compiled Version of PHP-CPP for Windows, i have a little Problem now.
PHPCPP is working very well but in compiling with PHP-GTK 3, there is some strange thing i doenst figure out.
Maybe you can help me here - its a linker Problem - with this:
If you know why - it would be cool if you can share - thx!
Regards
Robert
The text was updated successfully, but these errors were encountered: