Fail swift/android wrapper generation
hi, I'm trying to compile my personal build of SDK, using the 4.3 tag, so the latest stable release, but this problem occurs also using the master branch
Right before the end of the build I get this error
PhaseScriptExecution CMake\ Rules /Users/giorgio/linphone-sdk/build/WORK/ios-x86_64/Build/linphone/wrappers/swift/linphone.build/RelWithDebInfo-iphonesimulator/linphonesw.build/Script-ABD7DD96CC664195B8EED16F.sh
cd /Users/giorgio/linphone-sdk/linphone
/bin/sh -c /Users/giorgio/linphone-sdk/build/WORK/ios-x86_64/Build/linphone/wrappers/swift/linphone.build/RelWithDebInfo-iphonesimulator/linphonesw.build/Script-ABD7DD96CC664195B8EED16F.sh
/usr/bin/python /Users/giorgio/linphone-sdk/linphone/wrappers/swift/genwrapper.py /Users/giorgio/linphone-sdk/build/WORK/ios-x86_64/Build/linphone/coreapi/help/doc/doxygen/xml
Traceback (most recent call last):
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/genwrapper.py", line 604, in <module>
parser.parse_all()
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/../../tools/abstractapi.py", line 588, in parse_all
self.parse_class(class_)
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/../../tools/abstractapi.py", line 745, in parse_class
_class = self._parse_class(cclass)
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/../../tools/abstractapi.py", line 761, in _parse_class
absProperty = self._parse_property(cproperty, namespace=name)
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/../../tools/abstractapi.py", line 804, in _parse_property
method = self.parse_method(cproperty.getter, namespace=namespace, type=methodType)
File "/Users/giorgio/linphone-sdk/linphone/wrappers/swift/../../tools/abstractapi.py", line 890, in parse_method
raise ParsingError(e, name)
abstractapi.ParsingError: error while parsing linphone_participant_imdn_state_get_state() function: Unknown C type 'LinphoneChatMessageState'
make[2]: *** [/Users/giorgio/linphone-sdk/build/WORK/ios-x86_64/Build/linphone/wrappers/swift/LinphoneWrapper.swift] Error 1
Command /bin/sh failed with exit code 2
** BUILD FAILED **
the most strange thing is that while using my iMac the build complete without errors ( or warnings ), my MacBook Pro , and another laptop with a linux distro have those errors...
this is the bash script used to build the framework
cmake .. -G Xcode \
-DLINPHONESDK_PLATFORM=IOS \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DENABLE_DEBUG_LOGS=ON \
-DENABLE_G729=ON \
-DENABLE_AAUDIO=OFF \
-DENABLE_VIDEO=OFF \
-DENABLE_GSM=OFF \
-DENABLE_ILBC=ON \
-DENABLE_ISAC=OFF \
-DENABLE_JPEG=OFF \
-DENABLE_QRCODE=OFF \
-DENABLE_OPUS=OFF \
-DENABLE_WEBRTC_AEC=OFF \
-DENABLE_WEBRTC_AECM=OFF \
-DENABLE_VCARD=OFF \
-DENABLE_MKV=OFF \
-DENABLE_DB_STORAGE=OFF \
-DENABLE_ADVANCED_IM=OFF \
-DENABLE_LIME_X3DH=OFF \
-DENABLE_ZRTP=OFF \
-DENABLE_NON_FREE_CODECS=ON \
-DENABLE_GPL_THIRD_PARTIES=ON
# Speex e SQLite non possono essere disattivati
# Attivando ASAN non compila piu'
cmake --build . --config RelWithDebInfo --parallel 6
my colleagues which are trying to compile for Android are getting the same errors, using other computers and OSs, and we also tried starting from scratch after a format of the drive