eclipse / paho.mqtt.embedded-c

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)
https://eclipse.org/paho
Other
1.35k stars 753 forks source link

compile under OS400 #142

Open gbaracchino opened 6 years ago

gbaracchino commented 6 years ago

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 cmake@www.cmake.org so it can be added to cmake Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please send that file to cmake@www.cmake.org.
-- 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?

CIPop commented 1 year ago

Please open a bug with CMake to add support for your platform (https://github.com/Kitware/CMake). You could also follow the instructions and send them an email.