Make command does nothing in the tutorial to load TorchScript

username: fgauthier
cooked: <p>I am following this <a href="https://pytorch.org/tutorials/advanced/cpp_export.html#step-5-getting-help-and-exploring-the-api" rel="noopener nofollow ugc">tutorial</a> and I have the same structure as in the tutorial. However, near the end when I type the make command nothing happens. My file example-app.cpp is the same as in the tutorial and the CMakeLists.txt is the same also. This is a picture of my terminal <div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/c/c/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a.png" data-download-href="https://discuss.pytorch.org/uploads/default/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a" title="makeDoesNothing"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/c/c/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a_2_690x275.png" alt="makeDoesNothing" data-base62-sha1="ta0MMNsFcpnKFJDm1Ck8CGRxciC" width="690" height="275" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/c/c/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a_2_690x275.png, https://discuss.pytorch.org/uploads/default/optimized/3X/c/c/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a_2_1035x412.png 1.5x, https://discuss.pytorch.org/uploads/default/optimized/3X/c/c/cc60cb9706e5b2d42c897c0eca597cd78b04ea3a_2_1380x550.png 2x" data-dominant-color="331129"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">makeDoesNothing</span><span class="informations">1432×572 106 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>Is there something to install because i have the compiler and everything so I do not see what is missing in my installation.</p>
<p>I would expect this to happens when I type “make” so I could execute the program. <div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/4/c/4c40d94a9ca24556c987d6fb40f8c27a96bf5569.png" data-download-href="https://discuss.pytorch.org/uploads/default/4c40d94a9ca24556c987d6fb40f8c27a96bf5569" title="expected"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/4/c/4c40d94a9ca24556c987d6fb40f8c27a96bf5569_2_690x104.png" alt="expected" data-base62-sha1="aSzdZqa0b5IQkEmmwRQvwAPXUhj" width="690" height="104" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/4/c/4c40d94a9ca24556c987d6fb40f8c27a96bf5569_2_690x104.png, https://discuss.pytorch.org/uploads/default/original/3X/4/c/4c40d94a9ca24556c987d6fb40f8c27a96bf5569.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/4/c/4c40d94a9ca24556c987d6fb40f8c27a96bf5569.png 2x" data-dominant-color="EAEBEE"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">expected</span><span class="informations">852×129 16.7 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

username: ptrblck
cooked: <p>What is <code>ls</code> showing in this folder?<br>
There should be some generated cmake files as well as the <code>Makefile</code>, which should build the application via <code>make</code> or <code>cmake --build . --config Release</code>.</p>

username: fgauthier
cooked: <p>This is whats in my folder but still when I execute the command you just said nothing happens… I do not think my traced_network should be the problem since I did not use it at this point…<br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/b/c/bc5d96c2fc51c8754a6d00522d636f311703b2d1.png" data-download-href="https://discuss.pytorch.org/uploads/default/bc5d96c2fc51c8754a6d00522d636f311703b2d1" title="Screenshot from 2020-10-19 17-18-39"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/b/c/bc5d96c2fc51c8754a6d00522d636f311703b2d1_2_690x75.png" alt="Screenshot from 2020-10-19 17-18-39" data-base62-sha1="qSmhdJedasg5cBZrpp8mK8CYKFH" width="690" height="75" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/b/c/bc5d96c2fc51c8754a6d00522d636f311703b2d1_2_690x75.png, https://discuss.pytorch.org/uploads/default/original/3X/b/c/bc5d96c2fc51c8754a6d00522d636f311703b2d1.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/b/c/bc5d96c2fc51c8754a6d00522d636f311703b2d1.png 2x" data-dominant-color="3A2033"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot from 2020-10-19 17-18-39</span><span class="informations">976×107 34.8 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>If you need more information please tell me. My example-app.cpp is copy-pasted from the tutorial like my CMakeLists.txt was there any change to make in those file? Maybe thats my error?</p>

username: ptrblck
cooked: <p>Do you get any output, if you run <code>make</code>?<br>
I rebuilt the tutorial yesterday and don’t know, why you don’t get any output.</p>

username: fgauthier
cooked: <p>Hi sorry for answering late, I’ve been pretty busy this week.</p>
<p>Here is what happened when I call make<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/5/d/5d8535cab9070007e2ecf97939311619f7cc4f45.png" data-download-href="https://discuss.pytorch.org/uploads/default/5d8535cab9070007e2ecf97939311619f7cc4f45" title="Screenshot from 2020-10-24 20-27-47"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/5/d/5d8535cab9070007e2ecf97939311619f7cc4f45_2_690x461.png" alt="Screenshot from 2020-10-24 20-27-47" data-base62-sha1="dljNYKIKIJafybUVVAqsnYD69Uh" width="690" height="461" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/5/d/5d8535cab9070007e2ecf97939311619f7cc4f45_2_690x461.png, https://discuss.pytorch.org/uploads/default/original/3X/5/d/5d8535cab9070007e2ecf97939311619f7cc4f45.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/5/d/5d8535cab9070007e2ecf97939311619f7cc4f45.png 2x" data-dominant-color="34162A"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">Screenshot from 2020-10-24 20-27-47</span><span class="informations">731×489 45.2 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>I really don’t know what else to do…<br>
Would it help you if I show you my MakeFile?</p>

username: fgauthier
cooked: <p>Well I started the project in another folder and it worked instantly. No clue why it would not work before. Anyway thanks for the help!</p>