Skip to content
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

Closed
WilliamBerryiii opened this issue Mar 22, 2017 · 3 comments
Closed

Missing devicetwin_simplesample project/solution file(s) #91

WilliamBerryiii opened this issue Mar 22, 2017 · 3 comments
Assignees

Comments

@WilliamBerryiii
Copy link
Member

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.

@ewertons
Copy link
Contributor

Hi @WilliamBerryiii ,

I was able to get the project created for devicetwin_simplesample (see below).
Could you give more details of the issue you are experiencing?

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 ewertons self-assigned this Mar 22, 2017
@WilliamBerryiii
Copy link
Member Author

WilliamBerryiii commented Mar 23, 2017

@ewertons - just re-cloned and it does work now.
As a side note, I noticed you used the mqtt on flag for cmake above, which should be on be default (yes?) ... would it be worth enhancing the devbox setup guild to point to the list of cmake options so that new users are introduced to those options as they get acquainted with with libs?

@ewertons
Copy link
Contributor

Hi @WilliamBerryiii , indeed the mqtt switch is On by default, so you don't actually need to call it explicitly.
I just added it for clarity.

Thanks for using the Azure IoT SDK, feel free to add any other suggestions, comments or requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants