Wxlua / Zbstudio

Raymond Cheung korekontakt at gmail.com
Fri Jul 15 15:22:26 UTC 2016

This is my script to build:

The git is forked from https://github.com/pkulchenko/ZeroBraneStudio by
adding some flags from

To build all:
./build-freebsd.sh wxwidgets lua 5.1 luasocket luasec wxlua

wxlua was updated with Lua 5.2.2, 5.3.3 and Lua JIT 2.1.0-beta2

wxlua was forked from https://github.com/pkulchenko/wxlua, which was forked
from https://github.com/LuaDist/wxlua

For wxwidgets, these two flags --with-libtiff=builtin --with-expat=sys must
be builtin or sys. If they're set to no, then they'll get errors. I don't
know the difference of builtin and sys. For FreeBSD's Makefile, it uses sys
but pkulchenko uses builtin on his build-linux.sh.

On Fri, Jul 15, 2016 at 1:33 AM, Torsten Zuehlsdorff <
mailinglists at toco-domains.de> wrote:

> On 14.07.2016 12:30, Raymond Cheung wrote:
>> I tried to include lua 5.3 src to wxlua but still got the segmentation
>> fault.
>> Also, clang can't build wxlua even I add -I/usr/local/include. It can be
>> easily to build with GCC. However, libwx.so can't be loaded.
>> On Jul 13, 2016 18:04, "Raymond Cheung" <korekontakt at gmail.com> wrote:
> How did you build it with GCC? I'm failing around 21% with:
> [ 22%] Linking CXX shared library ../../lib/Release/
> libwxlua-wx30gtk2u-
> /usr/local/lib: file not recognized: File format not recognized
> collect2: error: ld returned 1 exit status
> *** Error code 1
> Attached my current port as shar for x11-toolkits/wxlua. Just extract it
> and do a "make".
> Greetings,
> Torsten

More information about the freebsd-ports mailing list