Code Monkey home page Code Monkey logo

Comments (6)

bog-dan-ro avatar bog-dan-ro commented on May 18, 2024 1

Check https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757259 to see how to switch to pthread

from dxvk.

doitsujin avatar doitsujin commented on May 18, 2024
  1. Does adding -pthread as a compiler option work as well? The mingw packages I'm using on my Arch Linux don't have the -posix binaries. It does ship with mingw-gcc version 7.2 though.

  2. Since this is only used in very few places I might just rewrite the code without using optional.

  3. You're right, added that to the README.

from dxvk.

oscarbg avatar oscarbg commented on May 18, 2024

will try if -pthread fixes it..

from dxvk.

oscarbg avatar oscarbg commented on May 18, 2024

doesn't help..
tested with "-pthread','-lpthread'" everywhere..

[properties]
c_args = ['-Og', '-ggdb','-pthread','-lpthread']
c_link_args = ['-static', '-static-libgcc','-pthread','-lpthread']

cpp_args = ['-std=c++17', '-Og', '-gstabs','-pthread','-lpthread']
cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++','-pthread','-lpthread']

and still get
"error: β€˜mutex’ in namespace β€˜std’ does not name a type"

from dxvk.

oscarbg avatar oscarbg commented on May 18, 2024

thanks @bog-dan-ro ..
I now switched to Ubuntu 18.04dev with mingw gcc 7.2 by default and with
update-alternatives --config x86_64-w64-mingw32-gcc
update-alternatives --config x86_64-w64-mingw32-g++
to posix variants it works with no code changes!
so closing it..

from dxvk.

rzyghul avatar rzyghul commented on May 18, 2024

Just a note - On Kali additionally to oscarbg change required on ubuntu with x86_64-w64-mingw32-gcc/g++ you also need switching wingw to posix for environment targeting Win32:
update-alternatives --config i686-w64-mingw32-gcc
update-alternatives --config i686-w64-mingw32-g++

from dxvk.

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.