mediasoup-client-native-cpp icon indicating copy to clipboard operation
mediasoup-client-native-cpp copied to clipboard

Support linux or windows

Open laowangnj opened this issue 7 years ago • 2 comments

In that case,it will be useful for performance test

laowangnj avatar Jan 30 '18 08:01 laowangnj

I only have access to Macos, but I’m sure it should be compatible, the libraries that are used work on all platforms?

eirslett avatar Jan 30 '18 09:01 eirslett

I have just build de projec. i got use of undeclared identifier 'MAX_PATH' error.

[ 99%] Building CXX object mediasoup/CMakeFiles/mediasoup.dir/util/Process.cpp.o
/Users/said/mediasoup-cpp/mediasoup/util/Process.cpp:40:16: error: use of undeclared identifier 'MAX_PATH'
                char exePath[MAX_PATH] = { 0 };
                             ^
/Users/said/mediasoup-cpp/mediasoup/util/Process.cpp:41:23: error: use of undeclared identifier 'MAX_PATH'
                size_t exePathLen = MAX_PATH;

I have initialized the variable size_t MAX_PATH = 10; and still have an error

/Users/said/mediasoup-cpp/mediasoup/util/Process.cpp:41:16: error: variable-sized object may not be initialized
                char exePath[MAX_PATH] = {0};
                             ^~~~~~~~

The code working for you in macos ?

ghost avatar Nov 19 '20 13:11 ghost