-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing devicetwin_simplesample project/solution file(s) #91
Comments
Hi @WilliamBerryiii , I was able to get the project created for devicetwin_simplesample (see below). On Windows: E:\Repos\shelf1\azure-iot-sdk-c\cmake>cmake -Duse_mqtt=ON ..
...
E:\Repos\shelf1\azure-iot-sdk-c\cmake>cd serializer\samples\devicetwin_simplesample
E:\Repos\shelf1\azure-iot-sdk-c\cmake\serializer\samples\devicetwin_simplesample>dir
Volume in drive E is DATA
Volume Serial Number is A865-878E
Directory of E:\Repos\shelf1\azure-iot-sdk-c\cmake\serializer\samples\devicetwin_simplesample
03/22/2017 11:38 AM <DIR> .
03/22/2017 11:38 AM <DIR> ..
03/22/2017 11:38 AM <DIR> CMakeFiles
03/22/2017 11:38 AM 953 cmake_install.cmake
03/22/2017 11:38 AM 373 CTestTestfile.cmake
03/22/2017 11:38 AM 29,755 devicetwin_simplesample.vcxproj
03/22/2017 11:38 AM 1,027 devicetwin_simplesample.vcxproj.filters
03/22/2017 11:38 AM 12,111 RUN_TESTS.vcxproj
03/22/2017 11:38 AM 530 RUN_TESTS.vcxproj.filters
6 File(s) 44,749 bytes
3 Dir(s) 942,309,572,608 bytes free
E:\Repos\shelf1\azure-iot-sdk-c\cmake\serializer\samples\devicetwin_simplesample> And on Linux: ~/azure-iot-sdk-c/cmake$ cmake -Duse_mqtt=ON ..
~/azure-iot-sdk-c/cmake$
~/azure-iot-sdk-c/cmake$ cd serializer/samples/devicetwin_simplesample
~/azure-iot-sdk-c/cmake/serializer/samples/devicetwin_simplesample$ ll
total 28
drwxrwxr-x 3 ewertons ewertons 4096 Mar 22 11:23 ./
drwxrwxr-x 9 ewertons ewertons 4096 Mar 22 11:23 ../
drwxrwxr-x 3 ewertons ewertons 4096 Mar 22 11:23 CMakeFiles/
-rw-rw-r-- 1 ewertons ewertons 1028 Mar 22 11:23 cmake_install.cmake
-rw-rw-r-- 1 ewertons ewertons 365 Mar 22 11:23 CTestTestfile.cmake
-rw-rw-r-- 1 ewertons ewertons 6956 Mar 22 11:23 Makefile
~/azure-iot-sdk-c/cmake/serializer/samples/devicetwin_simplesample$ |
@ewertons - just re-cloned and it does work now. |
Hi @WilliamBerryiii , indeed the mqtt switch is On by default, so you don't actually need to call it explicitly. Thanks for using the Azure IoT SDK, feel free to add any other suggestions, comments or requests. |
The devicetwin_simplesample is missing project file/solution file generation during cmake run. As noted in case #7 - it seems like this sample also needs to be showcased/surfaced better.
The text was updated successfully, but these errors were encountered: