Re: [wxlua-users] Installing wxWidgets OSX 10.9.5 wxWidgets 3.0.2 wxLua 2.8.12.3

2015-01-18 Thread Roy Hinkelman
@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

2015-01-18 Thread Roy Hinkelman
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: *** 

[wxlua-users] Problem installing wxWidgets/wxLua on OSX

2014-03-11 Thread Roy Hinkelman
 Sure could use some help.

The wxWidgets install looked to go smoothly with no errors in the log. BUT,
when I tried to run /samples/widgets, nothing happens, and the terminal
goes unresponsive.

I am following the directions here:
http://wxlua.sourceforge.net/docs/install.html , installed in it's own
directory as OSX, debug, unicode build.

How would I debug this?

I don't know what logs to look at. The system.log is giving me this for
what it is worth:

Mar 11 14:04:54 Roys-MacBook-Pro.local Console[394]: CGSCopyDisplayUUID:
Invalid display 0x1a493041
Mar 11 14:04:54 Roys-MacBook-Pro.local firefox[393]: CGSCopyDisplayUUID:
Invalid display 0x1a493041

I am a PC based web programmer (PHP, MySql, JQuery, a little Python) diving
in and learning OSX, terminal and Lua/wxLua, wanting to move into mobile
development.

wxWidgets-3.0.0 | Lua-5.2.2 | OSX-10.9.2


Roy Hinkelman

I respect faith, but doubt is what gets you an education.
-- Wilson Mizner
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users