Code Monkey home page Code Monkey logo

Comments (3)

sylar-yin avatar sylar-yin commented on May 13, 2024

你先尝试 sudo yum install protobuf-devel,然后在编译试试
这个提交里面尝试加入protobuf的支持,目前还没有实际使用上。
环境配置里面,后续会更新的。

from sylar.

angelbeibei avatar angelbeibei commented on May 13, 2024

@sylar-yin 谢谢,之前我用的是Cmake-3.14 后来我换成了cmake-3.15 ,source了一下,可以了。
但我现在遇到了另外一个问题,我在make编译这个框架时,只生成了部分的二进制文件
➜ sylar git:(master) ✗ bin/
conf/ sylar* * test_sqlite3*
没有生成所有的,但在make -j时build了所有,比如Building CXX object CMakeFiles/test_crypto.dir/tests/test_crypto.cc.o
但没有对 build进行link,我也想通过bin/test_http_server进行测试,但没有生成那个二进制文件,我重复编译了几次都没有成功。

from sylar.

sylar-yin avatar sylar-yin commented on May 13, 2024

CMakeLists.txt 设置了条件编译,测试的代码默认不开启编译(为了节省编译时间)
你可以修改 CmakeLists.txt 把 option(TEST "ON for complile test" OFF) 修改成 option(TEST "ON for complile test" ON) 重新编译,应该就可以了

from sylar.

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.