Giter VIP home page Giter VIP logo

Comments (7)

czyt1988 avatar czyt1988 commented on August 26, 2024

拉取一下最新版,我把gsl的lib也添加进来了

from sa.

YihanHu-2022 avatar YihanHu-2022 commented on August 26, 2024

您好我昨天拉取了最新版本的项目,但是在配置过程中也出现了同样的问题,请问是否有办法解决呢

from sa.

YihanHu-2022 avatar YihanHu-2022 commented on August 26, 2024

环境为 win10 5_12_9_MinGw_64

from sa.

czyt1988 avatar czyt1988 commented on August 26, 2024

src/3rdParty/gsl/lib下是否有libgsl.lib和libgslcblas.lib文件,如果有,清理一下再重新编译
另外,编译过程和.dll没有关系,找不到lib要确保上述两个lib文件是否存在

from sa.

YihanHu-2022 avatar YihanHu-2022 commented on August 26, 2024

抱歉还是没有解决这个问题,请问确保lib文件存在的意思是指让libgsl.lib文件存在吗?如果是的话应该存在在哪个目录下呢

from sa.

YihanHu-2022 avatar YihanHu-2022 commented on August 26, 2024

还有在项目运行的时候会出现丢失精度的报错:
SAItem.cpp:38: error: cast from 'SAItem*' to 'int' loses precision [-fpermissive]
SAMdiSubWindow.cpp:25: error: cast from 'SAMdiSubWindow*' to 'int' loses precision [-fpermissive]
SAMainWindow.cpp:57: error: cast from 'const SAMainWindow*' to 'int' loses
请问这个该如何解决

from sa.

czyt1988 avatar czyt1988 commented on August 26, 2024

抱歉还是没有解决这个问题,请问确保lib文件存在的意思是指让libgsl.lib文件存在吗?如果是的话应该存在在哪个目录下呢

是的,应该存在src/3rdParty/gsl/lib/libgsl.lib和src/3rdParty/gsl/lib/libgslcblas.lib

还有在项目运行的时候会出现丢失精度的报错:
SAItem.cpp:38: error: cast from 'SAItem*' to 'int' loses precision [-fpermissive]
SAMdiSubWindow.cpp:25: error: cast from 'SAMdiSubWindow*' to 'int' loses precision [-fpermissive]
SAMainWindow.cpp:57: error: cast from 'const SAMainWindow*' to 'int' loses
请问这个该如何解决

把C风格的强制转换变为C++风格,如: m_id(reinterpret_cast(par)),m_id = reinterpret_cast(this);
你是哪个编译器?后续的提交我会把这个改了。

from sa.

Related Issues (16)

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.