Giter VIP home page Giter VIP logo

Comments (5)

cynron avatar cynron commented on August 26, 2024

link错误你改一下link配置不就好了,你看看link的配置

from libpomelo2.

hankchan avatar hankchan commented on August 26, 2024

@cynron
advapi32是系统库,在gyp文件中以 -ladvapi32.lib 的方式加入工程,不是简单的链接错误。
我确认advapi32.lib在工程路径中。

from libpomelo2.

cynron avatar cynron commented on August 26, 2024

自己改一下就好了,这个又不费啥事,gyp只是一个辅助工具而已。一般情况下,生成的工程文件,出现问题的时候,手动改改就好了

from libpomelo2.

hankchan avatar hankchan commented on August 26, 2024

将pomelo.gyp中

         'link_settings': {
            'libraries': [
              '-ladvapi32.lib',
            '-liphlpapi.lib',
            '-lpsapi.lib',
            '-lshell32.lib',
            '-lws2_32.lib'
              ],
          },

修改为(去掉.lib) :

         'link_settings': {
            'libraries': [
              '-ladvapi32',
            '-liphlpapi',
            '-lpsapi',
            '-lshell32',
            '-lws2_32'
              ],
          },

解决问题。

from libpomelo2.

cynron avatar cynron commented on August 26, 2024

由于我们不可能对每个编译环境都做测试,比如VS的各个版本之间,可能配置项有不同,而且,当遇到这种比较明显的问题的时候,一般都可以通过自己手动修改解决的。

对你使用时遇到的问题,表示抱歉,多谢关注及反馈!

from libpomelo2.

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.