Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3
On Sun, Jan 18, 2015 at 5:37 PM, Roy Hinkelman royh...@gmail.com wrote: I am still getting errors after trying new config settings for installing wxWidgets. Any pointers greatly appreciated. I don't have a mac available for testing right now. after make -j4 ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types sending 'WebViewUIDelegate *' to parameter of type 'idWKUIDelegate' [-Wincompatible-pointer-types] [m_webView setUIDelegate:uiDelegate]; ^~ ../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' [[m_webView preferences] setUsesPageCache:NO]; ~~~ ^ ../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' [[m_webView preferences] setUsesPageCache:YES]; ~~~ ^ ../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' WebBackForwardList* history = [m_webView backForwardList]; ^ ~~~ ../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' WebBackForwardList* history = [m_webView backForwardList]; You're not alone, it looks like the current trunk SVN has a fix for it if I understand the last comment correctly. http://trac.wxwidgets.org/ticket/16329 Regards, John -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users
Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3
On Sun, Jan 18, 2015 at 6:28 PM, Roy Hinkelman royh...@gmail.com wrote: @Paul: Thanks for the pointer to ZeroBrane. I looked at your IDE, and it looks really interesting. Can you help with some newbie questions? I am looking to build cross-platform Lua based apps I can't help with this particular issue as I use gcc rather than clang, but I do build cross-platform lua apps using wxlua and support Windows, OSX, and various flavors of Linux. But I am not familiar with gcc or clang, and what effect they have with building cross platform apps. Can I not compile to certain platforms with gcc or clang? Cross-platform compiling for different OSes from a single OS is not for the faint of heart as it is usually very complicated. I'm also pretty sure that the Apple provided clang compiler will not cross-compile to MSW or Linux. The easiest way is to simply get a machine for each OS, dual-boot them, or use virtual machines. Note that Apple used to provide GCC as their XCode compiler, but they switched to clang recently and I have not used it. I don't really understand the process here. I am assuming I build my app and compile it to Win, OSX, IOS or Droid. Do I need to have a 'production' build for wxWidgets as part of the process? You need to have wxLua, Lua, and wxWidgets binaries built for each platform you want to run on as they are the code that's actually interacting with the OS. The Lua script code for wxLua simply calls the compiled binary wxWidgets functions that eventually call the system provided functions to create windows, menus, etc. Same for the 'os' Lua module and its functions os.clock() for example. Note that android and ios are experiment in wxWidgets and there is no provision for them in wxLua. Regards, John -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users
Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3
@Paul: Thanks for the pointer to ZeroBrane. I looked at your IDE, and it looks really interesting. Can you help with some newbie questions? I am looking to build cross-platform Lua based apps I can't help with this particular issue as I use gcc rather than clang, but I do build cross-platform lua apps using wxlua and support Windows, OSX, and various flavors of Linux. But I am not familiar with gcc or clang, and what effect they have with building cross platform apps. Can I not compile to certain platforms with gcc or clang? I don't really understand the process here. I am assuming I build my app and compile it to Win, OSX, IOS or Droid. Do I need to have a 'production' build for wxWidgets as part of the process? Roy -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users
Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3
I am still getting errors after trying new config settings for installing wxWidgets. Any pointers greatly appreciated. ../configure --prefix=$PWD \ --with-macosx-version-min=10.9 \ --with-osx-cocoa CXX='clang++ -std=c++11 -stdlib=libc++' CC=clang \ --enable-unicode \ --disable-shared \ --enable-optimise=no \ --enable-mem_tracing=no \ --enable-profile=no \ --with-dmalloc=no \ \ --enable-debug \ --enable-debug_flag \ --enable-debug_info \ --enable-debug_gdb \ --enable-debug_cntxt \ \ --with-opengl \ --enable-sound \ --enable-mediactrl \ --enable-graphics_ctx \ --enable-controls \ \ --enable-dataviewctrl 21 | tee configure-osx2ud.log The configure-osx2ud.log says: configure: WARNING: wxMutex::LockTimeout() will not work configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled configure: WARNING: Dialup manager not supported on this platform... disabled checking CXXWARNINGS for gcc -Woverloaded-virtual... -Woverloaded-virtual Libtiff is now configured for i386-apple-darwin13.4.0 Installation directory: /Users/royhinkelman/wxWidgets302/build_osx_ud Documentation directory:${prefix}/share/doc/tiff-4.0.3 C compiler: clang -g -O2 -Wall -W C++ compiler: clang++ -std=c++11 -stdlib=libc++ -g -O2 Enable runtime linker paths:no Enable linker symbol versioning:no Support Microsoft Document Imaging: yes Use win32 IO: no Support for internal codecs: CCITT Group 3 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm:yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: yes Pixar log-format algorithm: yes JPEG support: no Old JPEG support: no JPEG 8/12 bit dual mode:no ISO JBIG support: no LZMA2 support: no C++ support:yes OpenGL support: no Configured wxWidgets 3.0.2 for `x86_64-apple-darwin13.4.0' Which GUI toolkit should wxWidgets use? osx_cocoa Should wxWidgets be compiled into single library? no Should wxWidgets be linked as a shared library? no Should wxWidgets support Unicode? yes (using wchar_t) What level of wxWidgets compatibility should be enabled? wxWidgets 2.6 no wxWidgets 2.8 yes Which libraries should wxWidgets use? STLno jpeg builtin pngbuiltin regex builtin tiff builtin zlib sys expat sys libmspack no sdlno - after make -j4 ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types sending 'WebViewUIDelegate *' to parameter of type 'idWKUIDelegate' [-Wincompatible-pointer-types] [m_webView setUIDelegate:uiDelegate]; ^~ ../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' [[m_webView preferences] setUsesPageCache:NO]; ~~~ ^ ../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not respond to 'setUsesPageCache:' [[m_webView preferences] setUsesPageCache:YES]; ~~~ ^ ../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' WebBackForwardList* history = [m_webView backForwardList]; ^ ~~~ ../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable of type 'WebBackForwardList *' with an rvalue of type 'WKBackForwardList *' WebBackForwardList* history = [m_webView backForwardList]; ^ ~~~ 3 warnings and 2 errors generated. make: ***
Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3
Hi Roy, I am about to install wxWidgets in preparation for wxLua, and looking for any advice or 'gotcha's' before starting the process. I use my own scripts to get wxwidgets code, run configure and then call make. I have been doing this for several years with different versions and the issues were mainly related to compatibility as I usually compile with the trunk version of wxwidgets and wxlua may lag a bit behind. I also have several small patches I apply that haven't been incorporated into wxlua. I am looking to build cross-platform Lua based apps I can't help with this particular issue as I use gcc rather than clang, but I do build cross-platform lua apps using wxlua and support Windows, OSX, and various flavors of Linux. I don't know if the project structure I have works for you, but the repository includes build scripts for all the platforms (that build wxwidgets and wxlua from their repo versions) and also allows running the application without any compilation on all supported platforms. I've seen reports that some of the users take project files as the skeleton to build their own apps. The repository is at https://github.com/pkulchenko/ZeroBraneStudio, the build scripts are in the build/ folder and the project description is here: http://studio.zerobrane.com. Paul. -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet ___ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users