https://jira.iotivity.org/browse/IOT-1485 and its friend https://jira.iotivity.org/browse/IOT-1545 track some of these build issues.
We?ve started performing some SConscript clean-up. Hopefully there will be progress over the next weeks. Meanwhile the (very time consuming) workaround we?ve been using in these kinds of cases was the sequence: run.bat clean run.bat build Dan From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Morten Nielsen Sent: Tuesday, December 27, 2016 11:54 AM To: iotivity-dev at lists.iotivity.org Subject: [dev] Windows Build broken If I pull the v1.2.1 tag, Iotivity builds fine on Windows with this: scons TARGET_OS=windows TARGET_ARCH=x86 RELEASE=1 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=0 WITH_TCP=0 BUILD_SAMPLE=OFF LOGGING=OFF TEST=1 resource/csdk However, if I pull latest, the build is failing: [?] scons: building associated VariantDir targets: out\windows\amd64\debug\resource\csdk C:\iotivity/out/windows/amd64/debug/resource/csdk/connectivity/test/catests 'C:\iotivity/out/windows/amd64/debug/resource/csdk/connectivity/test/catests' is not recognized as an internal or external command, operable program or batch file. scons: *** [out\windows\amd64\debug\resource\csdk\connectivity\test\utresource\csdk\connectivity\test\catests] Error 1 scons: building terminated because of errors. If I set TEST=0, the build will succeed, but forever reason then the octbstack.dll isn?t created (this might be a build issue in itself). Is there another trick to get the octbstack.dll created with TEST=0 ? Thanks /Morten -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161227/aaf00086/attachment.html>
