Giter Site home page Giter Site logo

Comments (6)

roc1 avatar roc1 commented on August 15, 2024

做web开发的为什么需要用工具库?。。。

from nim_duilib_framework.

LynnCpp avatar LynnCpp commented on August 15, 2024

做web开发的为什么需要用工具库?。。。

可能我没表达清楚,我是做web开发的,项目需要做个客户端,就自己研究着C ++弄了......比如我可能会用到加密,Curl、WebSocket等...

from nim_duilib_framework.

nmgwddj avatar nmgwddj commented on August 15, 2024

@LynnCpp 在项目中将 base project 属性修改为动态链接库编译,添加所需静态库链接

#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Netapi32.lib")
#pragma comment(lib, "Snmpapi.lib")
#pragma comment(lib, "Iphlpapi.lib")

根据 base_export.h 定义指定预处理器。关于动态库和静态库的引用方式,如果您是从前端转过来的,我更建议您查一些网上的资料,或参考 Windows 核心编程介绍 dll 的章节来完成你的工作。

from nim_duilib_framework.

LynnCpp avatar LynnCpp commented on August 15, 2024

@LynnCpp 在项目中将 base project 属性修改为动态链接库编译,添加所需静态库链接

#pragma comment(lib, "Ws2_32.lib")
#pragma comment(lib, "Netapi32.lib")
#pragma comment(lib, "Snmpapi.lib")
#pragma comment(lib, "Iphlpapi.lib")

根据 base_export.h 定义指定预处理器。关于动态库和静态库的引用方式,如果您是从前端转过来的,我更建议您查一些网上的资料,或参考 Windows 核心编程介绍 dll 的章节来完成你的工作。

非常感谢您,按您说的操作,前几个报错解决了,,又卡在。。error LNK2001: 无法解析的外部符号 "protected: void __thiscall nbase::MessageLoop::operator=(class nbase::MessageLoop const &)" (??4MessageLoop@nbase@@IAEXABV01@@z) D:\Users\Desktop\C++\NIM_PC_Demo\tool_kits\base\thread_manager.obj base,研究了半天了,T-T...

from nim_duilib_framework.

nmgwddj avatar nmgwddj commented on August 15, 2024

@LynnCpp 如果您从 Web 端转向 C++ 开发,还是有部分语言特性要深入了解的,建议与这方面经验丰富的同事多沟通一下。因为类似的问题可能会接踵而至,我们通过 issue 来沟通这些问题效率是很低的,您学习的成本也非常高。

from nim_duilib_framework.

LynnCpp avatar LynnCpp commented on August 15, 2024

@LynnCpp 如果您从 Web 端转向 C++ 开发,还是有部分语言特性要深入了解的,建议与这方面经验丰富的同事多沟通一下。因为类似的问题可能会接踵而至,我们通过 issue 来沟通这些问题效率是很低的,您学习的成本也非常高。

好的 感谢!

from nim_duilib_framework.

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.