[ubuntu] How to edit a cmake file to use -pthread

[ubuntu] How to edit a cmake file to use -pthread

   
Hello all,

Basically I’m trying to compile a .so file from source but every time it’s compiled and the program tries to load it I get the following error…

Code:

UI-Console Error:  dlopen('/usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-video-GLideN64.so')  failed:  /usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-video-GLideN64.so:  undefined symbol: pthread_create
  UI-Console Error: Specified Video plugin not found: /usr/lib/x86_64-linux-gnu/mupen64plus/mupen64plus-video-GLideN64.so


…basically I’ve been told I might need to pass ‘-pthread’ when compiling, but it uses a makefile and I don’t know which source files it uses, can anyone tell me the syntax to use and where in the file to put it? Or if anyone has any other suggestions that would be great too. Thanks!

 

Previous Installing Ubuntu 20.04 on Asus TUF Gaming Laptop FA5061H
Next [ubuntu_studio] Ubuntu 20 LTS not finding Apps

About author

You might also like

Ubuntu Dsicussions 0 Comments

[kubuntu] update killed system

Hi All, I’m running kubuntu 20.04. Yesterday a bunch of system updates came in. Seemed like the usual stuff, so I let them install. It took a little longer than

Ubuntu Dsicussions 0 Comments

[all variants] is the Video DownloadHelper Companion App safe to install and use?

I’m running Lubuntu 18.04 and I have the Firefox addon Video DownloadHelper installed. For some operations, Video DownloadHelper needs me to install their Companion App, which is a separate program

Ubuntu Dsicussions 0 Comments

[ubuntu] Audio Devices not being Saved

Hello! I recently switched over from Windows to Ubuntu and am enjoying my experience so far, however every time I restart Ubuntu resets all my audio preferences and I have

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply