Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2016 23:22:24 +0800
From:      Raymond Cheung <korekontakt@gmail.com>
To:        Torsten Zuehlsdorff <mailinglists@toco-domains.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Wxlua / Zbstudio
Message-ID:  <CAFGnCTbmd73Sg5Nh10nVCbR%2BKmac%2B=zsyrDcauiJWDcEkYfm7w@mail.gmail.com>
In-Reply-To: <69e33c59-acfb-952f-9bab-b7600d79d0b3@toco-domains.de>
References:  <CAFGnCTa_kmYuK6_pmx0eksV%2BX5fazF04dgaH=fGZXUeJWzdy7Q@mail.gmail.com> <CAFGnCTY2z2PFSHkvC_aOQ0HqmP3cibD95hndXQD2yqoSHPjUMQ@mail.gmail.com> <2d3a2920-bb1c-c02f-8da4-9b585e5a4135@toco-domains.de> <CAFGnCTbUoGhg1UhzD3=zU=88tM%2BeK4fZFQiSLvex4Oc09Z9TiQ@mail.gmail.com> <CAFGnCTY_qYCcsj_e9eEDeM10USKhXsq6fx1Ra89VBwSPPOeczw@mail.gmail.com> <CAFGnCTZNbsETe0bFyu_8XiBYnTp6mxWuS7=A705zYmn2Lp3ZmA@mail.gmail.com> <69e33c59-acfb-952f-9bab-b7600d79d0b3@toco-domains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is my script to build:
https://github.com/korekontakt/ZeroBraneStudio/blob/master/build/build-freebsd.sh

The git is forked from https://github.com/pkulchenko/ZeroBraneStudio by
adding some flags from
https://github.com/freebsd/freebsd-ports/blob/master/x11-toolkits/wxgtk30/Makefile

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
https://github.com/korekontakt/wxlua

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@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@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-2.8.12.3.so
> /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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFGnCTbmd73Sg5Nh10nVCbR%2BKmac%2B=zsyrDcauiJWDcEkYfm7w>