Giter Site home page Giter Site logo

编译server.cc 报这个错 about srpc HOT 3 CLOSED

rjzou avatar rjzou commented on May 8, 2024
编译server.cc 报这个错

from srpc.

Comments (3)

holmes1412 avatar holmes1412 commented on May 8, 2024

你好,可以先尝试一下编译tutorial目录试试里边的例子,tutorial可以直接编译和使用:

cd tutorial
make

主页上的example在linux下用的-lsrpc就足够了,是因为linux系统下我们为libsrpc.so做了一些事情,隐藏了很多链接的库,但mac下直接编译出静态库所以用不了这个方便的功能~建议直接使用tutorial哈~

from srpc.

rjzou avatar rjzou commented on May 8, 2024

谢谢哈,tutorial正常,首页 Mac 使用-Isrpc 不够呢。

from srpc.

Barenboim avatar Barenboim commented on May 8, 2024

对的。mac下可能需要把所有库都-l进去。比较麻烦。要不就自己模仿tutorial的cmake写一个。

from srpc.

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.