Giter Site home page Giter Site logo

golua's People

Contributors

aarzilli avatar afitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

golua's Issues

lua_defs.go incorrectly generated on Debian Testing/Unstable

echo "package lua51\n" > lua_defs.go
in the lua51/Makefile does not work correctly in Debian. It puts the literal \n instead of the new line. One work around for this would be to use a semicolon instead of a new line which should make the compiler know what's meant. A perhaps longer work around would be to try to figure out what the system's echo command supports and how it supports it and have system specific echo's... I'd generally say that's a bad idea though, and the semicolon should work just fine.

Does not compile for Debian amd64 (missing -fPIC for golua.o)

Debian 64 bit linux requires -fPIC for golua.o. GOARCH could be checked and if it's amd64, add -fPIC to GOLUA_CFLAGS and add that variable to the gcc command that way it does the right thing on amd64 as well as other archs (which would be blank)

build error on windows

github.com/afitz/golua/lua51

In file included from _cgo_export.c:4:
cgo-gcc-export-header-prolog:32:38: error: conflicting types for 'GoInterface'
In file included from lua.go:4,
from _cgo_export.c:4:
G:\����֪ʶѧϰ\golang\pkg\mod\github.com\afitz\[email protected]\lua51/golua.h:2:38: note: previous declaration of 'GoInterface' was here
typedef struct { void *t; void *v; } GoInterface;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.