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= t...@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-unsubscr...@freebsd.org"