paho.mqtt.embedded-c
paho.mqtt.embedded-c copied to clipboard
compile under OS400
Trying to compile under OS400
$> cmake -DCMAKE_CXX_COMPILER=/QOpenSys/opt/freeware/bin/g++ -DCMAKE_C_COMPILER=/QOpenSys/opt/freeware/bin/gcc .
System is unknown to cmake, create:
Platform/OS400 to use this system, please send your config file to [email protected] so it can be added to cmake
Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to [email protected].
-- CMake version: 3.6.3
-- CMake system name: OS400
-- Timestamp is 2018-06-28T14:36:44Z
-- Configuring done
CMake Error: CMake can not determine linker language for target: stdoutsub
CMake Error: Cannot determine link language for target "stdoutsub".
CMake Error: CMake can not determine linker language for target: hello
CMake Error: Cannot determine link language for target "hello".
CMake Error: CMake can not determine linker language for target: testcpp1
CMake Error: Cannot determine link language for target "testcpp1".
-- Generating done
-- Build files have been written to: /QOpenSys/compile/pahomqttembed
I've manually patched the test1 including osWrapper.h taken from mqtt c paho project and the test1 is PASSED. Now, how to solve this errors?