Error while compiling the project
Opened this issue · 0 comments
Hi Scot,
I checkout the project and while compiling I have got the following error could you help me build it and run it on the macOS Catalina?
/Users/MD-3-MacMini/no touch vikram /NetEndpoint_Tracer/tracerd/ESClient.swift:23:93: error: value of type 'es_event_exec_t' has no member 'target'
IPCConnection.shared.exec(file: String(cString: (message.pointee.event.exec.target?.pointee.executable?.pointee.path.data)!))
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/Users/MD-3-MacMini/no touch vikram /NetEndpoint_Tracer/tracerd/ESClient.swift:42:44: error: '&' used with non-inout argument of type 'UInt32'
let ret = es_subscribe(client, &events, UInt32(events.count))
^~~~~~~
/Users/MD-3-MacMini/no touch vikram /NetEndpoint_Tracer/tracerd/ESClient.swift:43:23: error: use of unresolved identifier 'ES_RETURN_SUCCESS'; did you mean 'KMOD_RETURN_SUCCESS'?
if ret != ES_RETURN_SUCCESS {
^~~~~~~~~~~~~~~~~
KMOD_RETURN_SUCCESS
Darwin.KMOD_RETURN_SUCCESS:1:12: note: 'KMOD_RETURN_SUCCESS' declared here
public var KMOD_RETURN_SUCCESS: Int32 { get }