Custom Query (4825 matches)
Results (31 - 33 of 4825)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#4879 | fixed | Fix macOS Monterey compile issues | ||
Description |
Three files on source code need to be changed in order to make oscam being able to be compiled on macOS Monterey. First, on Makefile Change: ifeq ($(uname_S),Darwin) DEFAULT_LIBUSB_FLAGS = -I/opt/local/include DEFAULT_LIBUSB_LIB = -L/opt/local/lib -lusb-1.0 DEFAULT_PCSC_FLAGS = -isysroot $(OSX_SDK) DEFAULT_PCSC_LIB = -isysroot $(OSX_SDK) -framework IOKit -framework CoreFoundation -framework PCSC else To: ifeq ($(uname_S),Darwin) FIX_OPENSSL_FLAGS_DIR := $(shell ln -sf /usr/local/opt/openssl@1.1/include/openssl /usr/local/include) FIX_OPENSSL_LIB_DIR := $(shell ln -sf /usr/local/opt/openssl@1.1/lib/libssl.1.1.dylib /usr/local/lib) FIX_OPENSSL_LIBCRYPTO_DIR := $(shell ln -sf /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib /usr/local/lib) DEFAULT_LIBCRYPTO_LIB = -L/usr/local/opt/openssl@1.1/lib -lcrypto DEFAULT_SSL_LIB = -L/usr/local/opt/openssl@1.1/lib -lssl DEFAULT_LIBUSB_FLAGS = -I/usr/local/opt/libusb/include DEFAULT_LIBUSB_LIB = -L/usr/local/opt/libusb/lib -lusb-1.0 -framework IOKit -framework CoreFoundation -framework Security DEFAULT_PCSC_FLAGS = -I/usr/local/opt/pcsc-lite/include/PCSC DEFAULT_PCSC_LIB = -L/usr/local/opt/pcsc-lite/lib -framework IOKit -framework CoreFoundation -framework PCSC else Second, on globals.h Change: #include <sys/sysmacros.h> To: #if !defined(__APPLE__) #include <sys/sysmacros.h> #endif Lastly, on csctapi/ifd_pcsc.c Change: #if defined(__CYGWIN__) #define __reserved #define __nullnullterminated #include <specstrings.h> #include <WinSCard.h> #else #include <PCSC/pcsclite.h> #include <PCSC/winscard.h> #include <PCSC/wintypes.h> #if !defined(__APPLE__) #include <PCSC/reader.h> #endif #endif To: #if defined(__CYGWIN__) #define __reserved #define __nullnullterminated #include <specstrings.h> #include <WinSCard.h> #endif #if !defined(__CYGWIN__) #if !defined(__APPLE__) #include <PCSC/pcsclite.h> #include <PCSC/winscard.h> #include <PCSC/wintypes.h> #include <PCSC/reader.h> #endif #endif #if defined(__APPLE__) #include "pcsclite.h" #include "winscard.h" #include "wintypes.h" #include "reader.h" #endif With all of the above changes, you should be able to compile oscam on macOS Monterey with a single command below: make USE_PCSC=1 USE_LIBUSB=1 |
|||
#4876 | invalid | Hs | ||
Description |
Revision<Please fill in> Issue Description<Please fill in> When the issue occurs<Please fill in> How the issue is reproducable<Please fill in> <Don't forget to ATTACH (NOT post here as text) a log file of oscam in debug mode (start oscam with -d255) and to remove the brackets around the fields! Otherwise, your ticket will be closed as you seem to be unable to read.> |
|||
#4875 | invalid | gfg | ||
Description |
Revision<Please fill in> Issue Description<Please fill in> When the issue occurs<Please fill in> How the issue is reproducable<Please fill in> <Don't forget to ATTACH (NOT post here as text) a log file of oscam in debug mode (start oscam with -d255) and to remove the brackets around the fields! Otherwise, your ticket will be closed as you seem to be unable to read.> |