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 < mailingli...@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" <korekont...@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 > _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"