Giter VIP home page Giter VIP logo

Comments (3)

GameKong avatar GameKong commented on August 22, 2024

我看 skynet ../../../lua 中的源码都已经是5.4了啊

from pbc.

GameKong avatar GameKong commented on August 22, 2024

我下载了哥 lua5.4, 更改了Makefile:
CC = gcc
CFLAGS = -O2 -Wall -bundle -undefined dynamic_lookup
LUADIR = /Users/kongling/Downloads/lua-5.4.1/src
TARGET = protobuf.so

.PHONY : all clean

all : $(TARGET)

$(TARGET) : pbc-lua.c
$(CC) $(CFLAGS) -o $@ -I../.. -I$(LUADIR) -L../../build $^ -lpbc

clean :
rm -f $(TARGET)

编译完还是不行。。 相同的错误

from pbc.

GameKong avatar GameKong commented on August 22, 2024

问题解决了, 具体什么原因还不清楚。 解决方案,就是删除skynet,重新下载了一下,然后make。 就OK了, makefile配置还是我上面写的那个没变。 可能是 之前我makeskynet的时候哪里环境不对导致的

from pbc.

Related Issues (20)

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.