Date: Thu, 7 Jul 2016 19:56:39 +0300 From: Gleb Popov <6yearold@gmail.com> To: "ports@FreeBSD.org" <ports@freebsd.org> Cc: Raymond Cheung <korekontakt@gmail.com>, Torsten Zuehlsdorff <mailinglists@toco-domains.de> Subject: Re: Wxlua / Zbstudio Message-ID: <CALH631mQTC_ir4SXKs0ce=Su9hk=B1kwF%2BK8=adHfEfOTjo16Q@mail.gmail.com> In-Reply-To: <2d3a2920-bb1c-c02f-8da4-9b585e5a4135@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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 7, 2016 at 6:51 PM, Torsten Zuehlsdorff < mailinglists@toco-domains.de> wrote: > Hello Raymond, > > I'm a developer of Lua/torch. Currently, I use Ubuntu to write my codes. >> However, Ubuntu has frequent updates and make my environment unstable. >> >> I tried to install Ghost BSD and compile wxlua and zbstudio but both >> failed. Do you have any plan to port these two to FreeBSD? >> > > I started some work on an wxlua port. I got some small progress, but i'm > hacking at this error: > > [ 7%] Building CXX object > modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o > In file included from > /usr/ports/x11-toolkits/wxlua/work/wxLua-2.8.12.3-src/modules/wxbind/src/wxgl_bind.cpp:19: > In file included from > /usr/ports/x11-toolkits/wxlua/work/wxLua-2.8.12.3-src/modules/wxbind/include/wxgl_bind.h:47: > In file included from /usr/local/include/wx-3.0/wx/glcanvas.h:192: > In file included from /usr/local/include/wx-3.0/wx/gtk/glcanvas.h:14: > /usr/local/include/wx-3.0/wx/unix/glx11.h:13:10: fatal error: 'GL/glx.h' > file not found > #include <GL/glx.h> > > > Since i never wrote cmake ports before, i do not know how to tell cmake, > that the file is there: > > $ ls -lah /usr/local/include/GL/glx.h > -rw-r--r-- 1 root wheel 14K 3 Jun 16:18 /usr/local/include/GL/glx.h > > Any idea? > > Until now i can say i just works with lua 5.1. 5.2 fails because of > missing compat-mode. 5.3 is untested. > > Makefile of port looks currently like this: > > === Start === > > PORTNAME= wxlua > PORTVERSION= 2.8.12.3 > CATEGORIES= x11-toolkits > MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} > DISTNAME= wxLua-${PORTVERSION}-src > > MAINTAINER= tz@FreeBSD.org > COMMENT= Follows later > > RUN_DEPENDS= wxgtk30:x11-toolkits/wxgtk30 > > CMAKE_ARGS= > -DwxWidgets_CONFIG_EXECUTABLE=/usr/local/bin/wxgtk2u-3.0-config > CMAKE_ARGS+= -DwxLua_LUA_INCLUDE_DIR=${LUA_INCDIR} > CMAKE_ARGS+= -DwxLua_LUA_LIBRARY=${LUA_LIBDIR} > CMAKE_ARGS+= -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE > > CMAKE_BUILD_TYPE= Release > > USES= cmake:outsource lua:51 > > .include <bsd.port.pre.mk> > > .include <bsd.port.post.mk> > > === End === > > Greetings, > Torsten > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > I guess, USE_GL=gl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mQTC_ir4SXKs0ce=Su9hk=B1kwF%2BK8=adHfEfOTjo16Q>