diff options
author | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2009-11-20 14:54:40 +0000 |
commit | 84adefa331c4159d432d22840663c38f155cd4c1 (patch) | |
tree | bff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/wx/README | |
download | otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2 otp-84adefa331c4159d432d22840663c38f155cd4c1.zip |
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/wx/README')
-rw-r--r-- | lib/wx/README | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/lib/wx/README b/lib/wx/README new file mode 100644 index 0000000000..e81f16681a --- /dev/null +++ b/lib/wx/README @@ -0,0 +1,77 @@ + +REQUIREMENTS: + At least Erlang-R13B with smp enabled. It Requires unicode support. + + Linux, Mac, Solaris-10 or Windows. + + On linux you will need wxWidgets-2.8 compiled with everything + enabled, including unicode and opengl support. + + And I have given up on Solaris-8|9, wxWidgets on my old gtk version + doesn't run well, 7 of 10 wxWidgets examples seg fault. + Some early tests show that Solaris 10 works, though. + +INSTALLING: + The prebuilt (windows and mac) version can be installed by invoking: + install.es + or + /PATH/TO/ERL/bin/escript install.es + +BUILDING: + You will need wxWidgets-2.8.* + + On mac I built wxwidgets with: + + mkdir MYBUILD; cd MYBUILD + ../configure --with-opengl --enable-unicode --enable-graphics_ctx \ + --enable-gnomeprint \ On unix only + --disable-shared + make && make install + cd contrib/src/stc/ + make && make install + + On linux I have used the wxwidgets-libraries that came with + the distribution. It requires wxStyledTextControl which was + prebuilt on my linux, otherwise you have to build wxWidgets + by your self as on the mac above. + + On windows I used MinGW and Msys, I build wxwidgets with: + + mkdir MYBUILD; cd MYBUILD + ../configure --prefix=/c/local/ --with-opengl --enable-graphics_ctx \ + --enable-unicode --disable-shared --with-msw + make && make install + cd contrib/src/stc/ + make && make install + + You should also build wxerlang with msys and mingw since + I havn't tested on cygwin at all. + You need to use werl on windows, erl (non-gui) hangs wxwidgets startup. + + make + should work if erl, gcc and g++ and wx-config is found in path. + + +HELPING: + See TODO list. + Use it, i.e. write code which tests the library, submit tests. + See api_gen/Readme for improving the code generation. + My C++ knowledge isn't the best, send patches and explain why + so I can learn something. + +STATUS: + Testing I havn't done more testing than the code in test directory. + So please help by testing and writing test suites. + Most classes needs some argument tweaking (in wxapi.conf) to + work as expected, but I havn't read all the documentation and + gone through every argument on every function. + + See (and run) the demo in the examples directory. + + This library is (currently) a driver, so if the you (or I) make errors, + such as accessing deleted objects or other things wxWidgets didn't + expect you to do, erlang will crash hard. + +Cheers + Dan Gudmundsson + |