jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

Cannot use JackProcessSync, compiler says undefined refference for JackPosixProcessSync member methods.

Open jozsavcsaba opened this issue 3 years ago • 7 comments

Describe the bug

Cannot use JackProcessSync, compiler says undefined refference for JackPosixProcessSync member methods. JackPlatformPlug.h inclued. I tried to use JackMutex and JackSynchro instead, which are compiling and working well. JackPosixProcessSync.cpp and JackPosixProcessSync.h exists in posix folder. The typedef is same like in case of JackMutex and JackSynchro in the JackPlatformPlug_os.h

Environment

  • JACK Version: jack2-1.9.21
  • Operating System: Linux/Ubuntu
  • Installation: compiling it

jozsavcsaba avatar May 26 '22 16:05 jozsavcsaba

those files are not used

falkTX avatar May 26 '22 16:05 falkTX

Sorry i forgot to say i'm compiling a new driver!

jozsavcsaba avatar May 26 '22 16:05 jozsavcsaba

And i would like to use it becouse it's helpful.

jozsavcsaba avatar May 26 '22 16:05 jozsavcsaba

but it is just build specific, implementations change depending on the platform. so use the base classes, not the implementation ones.

falkTX avatar May 26 '22 16:05 falkTX

wich means wat in this case? i'm not sure i understood.

jozsavcsaba avatar May 26 '22 16:05 jozsavcsaba

that means dont use the stuff in posix/ or windows/ or macosx/ or linux/, use the stuff from common/ like https://github.com/jackaudio/jack2/blob/develop/common/JackSynchro.h

falkTX avatar May 26 '22 16:05 falkTX

That was my guess also! But anyway, thanks for your work! Very amazing project, as i'm getting to understand it!

jozsavcsaba avatar May 26 '22 16:05 jozsavcsaba