Code Monkey home page Code Monkey logo

Comments (4)

ElektrikAkar avatar ElektrikAkar commented on June 5, 2024

Hi Joris,

Thank you for your question. Could you try activating pthread option in your src/CMakeLists.txt ?

In this file you should see

target_link_libraries(src
  PRIVATE
  cells
  modules
  cooling
  power_conversion
  system
  procedures
  factories
  settings
  # pthread -> For WSL.
) 

Here you can remove the # in front of pthread and please also delete -> For WSL. part. This should solve the problem but let me know if it persists.

PS: In these days we are working on the SLIDE v3 release, probably you will see some improvements very soon after the release. Also we are going to update our documentation.

Yours sincerely,
Volkan

from slide.

Joris-dehoog avatar Joris-dehoog commented on June 5, 2024

Hello,

Thank you, it does solve the issue! Thanks!

from slide.

Joris-dehoog avatar Joris-dehoog commented on June 5, 2024

Hello,

I'd like to reopen this issue, as I have not been able to run the V2 version. I'm trying to compile this one as the documentation does not seem to cover the version under the Main branch (or I don't know how to run it).

The V2 version also has a CmakeList.txt in the root folder, but I don't know how to enable pthread in this one, any tips?

Thanks!

from slide.

ElektrikAkar avatar ElektrikAkar commented on June 5, 2024

Hi I think it is better to use the verson in the main branch. Otherwise, the examples you made will have massive changes at version 3. I would be happy to help with creating any example you need for v3.

Meanwhile you may have a look at this issue for adding pthread in v2:

#7 (comment)

Or alternatively check the full relevant discussion on Twitter:

https://twitter.com/VolkanKumtepeli/status/1439872932747042818

Yours sincerely,
Volkan

from slide.

Related Issues (17)

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.