SourceForge logo
SourceForge logo
Menu

wxlua-users

From: Roy H. <ro...@gm...> - 2015年01月11日 21:02:40
I am about to install wxWidgets in preparation for wxLua, and looking for
any advice or 'gotcha's' before starting the process.
I'm a web developer (PHP, HTML5, JQuery) with little knowledge of command
line or the 'configure / make' installation cycle involved, so I ask for
patience.
I am looking to build cross-platform Lua based apps
I am following the install instructions here:
file:///Users/royhinkelman/Downloads/wxLua-2.8.12.3-src/docs/install.html
 1. Installing wxWidgets
 1. re: the example configure file written to produce a Unicode, Debug
 build. I assume I would have a different build for production, correct?
 Are there examples of different build configs for wxWidgets anywhere?
 2. Is the configure example still considered 'best practices' for my
 OS setup?
 2. When I run the example configuration file, I get the following
 warnings. Should I be concerned about any of these?
 1. configure: WARNING: Defaulting to the builtin regex library for
 Unicode build.
 configure: WARNING: system png library not found or too old, will use
 built-in instead
 configure: WARNING: system jpeg library not found, will use built-in
 instead
 configure: WARNING: system tiff library not found, will use built-in
 instead
 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
 3. when I ran make, I get these.
 1. ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer
 types sending 'WebViewUIDelegate *' to parameter of type
'id<WKUIDelegate>'
 [-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];
 4. and, when I run cd samples/widgets, make, I get
 1. ld: library not found for -lwx_osx_cocoau_adv-3.0
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make: *** [widgets] Error 1
 2. and ./widgets says 'No such file or directory'
Any pointers or advise greatly appreciated.
Roy Hinkelman
I respect faith, but doubt is what gets you an education.
-- Wilson Mizner
From: Paul K <pau...@ya...> - 2015年01月13日 05:00:31
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.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /