Comments (8)
The solution may require to first make wxphp work against wxWidgets 3.0, to make use of fixes that may have been added to it for mavericks since 2.9.4, which wxphp is based on.
from wxphp.
I've almost got wxphp to work against wxWidgets 3.0... I think.
Although I am receiving a build error on wxphp because a method in wxWidgets has changed in 3.0 which does not seem to be reflected in wxphp.
Any ideas on how I can fix this issue in the code generator?
from wxphp.
This would be the steps required (I may have omitted some since I'm a little rusty with this project):
- re-generate json files from wxwidgets 3.0 doxygen xml files.
Read: https://github.com/wxphp/wxphp/blob/master/xml/README and https://github.com/wxphp/wxphp#xml-parser - copy new json/classes.json into tools/source_maker/class_selector/full_classes_set.json.
- After that it may be necessary to modify the resulting full_classes_set.json manually as documented here https://github.com/wxphp/wxphp/blob/master/tools/source_maker/class_selector/manual_changes.txt.
- copy tools/source_maker/class_selector/full_classes_set.json. back into json/classes.json
- use the merge tool https://github.com/wxphp/wxphp/blob/master/tools/merge.php in order to update the currently binded classes which are stored on tools/source_maker/class_selector/classes.json. This php script generates a merge_changes.log and new classes.json file on tools directory. Make sure to take a look at merge_changes.log and manually adjust new classes.json if necessary.
- copy the resulting classes.json generated by merge.php into tools/source_maker/class_selector/classes.json
- Finally proceed to regenerating the source code. Compiler errors may arise so it will be needed to tweak tools/source_maker/class_selector/classes.json and some other json files which store enumerations, variables, etc...
Note: you can use https://github.com/wxphp/wxphp/blob/master/build.sh to automate the code generation steps
from wxphp.
Thanks @jgmdev
I did the steps you mentioned above and I got it to generate the source code.
Now I get this error when running make
Any help is greatly appreciated
from wxphp.
I finished doing some necessary changes to get wxphp compiling against newer wxWidgets 3.0, some things may be broken and need to be adjusted for new php 5.5, do a pull for the new changes and do a fresh phpize, configure, make.
from wxphp.
Great!
I'll pull those changes when I get home and give it a try.
Thanks for all your hard work.
Sent from my iPhone
On 11 Dec 2013, at 04:49 pm, "Jefferson González" [email protected]
wrote:
I finished doing some necessary changes to get wxphp compiling against
newer wxWidgets 3.0, some things may be broken and need to be adjusted for
new php 5.5, do a pull for the new changes and do a fresh phpize,
configure, make.
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/20#issuecomment-30338017
.
from wxphp.
Works great, although I got a build error. But commenting out this line
REGISTER_LONG_CONSTANT("wxFSW_EVENT_UNMOUNT", wxFSW_EVENT_UNMOUNT, CONST_CS | CONST_PERSISTENT);
in wxwidgets.cpp resolved that error.
from wxphp.
Thanks for your testing. I disabled that constant on the code generator which is part of the wxFSWFlags enumeration (as documented in the wxwidgets interface files since in reality is part of an anonymous enum) and requires wxHAS_INOTIFY as I see on wx/fswatcher.h
I will close this issue since with your feedback it now seems to build on mavericks :) I guess that next issues will be regarding with changes on newer PHP 5.5 version.
from wxphp.
Related Issues (20)
- wxDatePickerCtrl error on x64 windows build HOT 18
- Tooltips created in wxFormBuilder crash wxPHP HOT 1
- PHP Exceptions not working
- Build for php 7.0 version HOT 2
- xbindkeys and wxTextCtrl()
- Ubuntu 16.04 drops php5 support HOT 7
- macOS build - missing wxwidgets.so HOT 11
- AppImage needs exif extension HOT 3
- Request appimage built with PHP 7.1.0
- How can generate an `.exe` ms window file from `wxphp` php files? HOT 1
- WxPHP for PHP 7 HOT 122
- Difference from WinBinder HOT 6
- wxphp.org is down
- wxHtmlWindow::LoadFile() parameters, LoadPage($url)
- how to hide shell/cmd? HOT 3
- wxDataviewlistctrl method missing HOT 3
- internal zval's can't be arrays, objects or resources HOT 8
- initial set up for first wxphp
- Trying to compile HOT 5
- wxphp doesn't compile - lot of coding errors HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxphp.