<div dir="ltr"><b>Just an additional note:</b> The exercises are all bundled together with an easy to run framework. `make run` is the way to invoke the framework which will take care of creating the build directory and so on. <div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- Raj</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 10, 2019 at 3:44 PM Harsh Gondaliya <<a href="mailto:harshgondaliya_vinodbhai@srmuniv.edu.in">harshgondaliya_vinodbhai@srmuniv.edu.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Just received a prompt reply  on GitHub from Andy:<div><i><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">The command line options </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;background-color:rgba(27,31,35,0.05);border-radius:3px;margin:0px;padding:0.2em 0.4em;color:rgb(36,41,46)">--p4runtime-files basic.p4rt.txt</code><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"> means that you want to create a text-format P4Info file, with the name </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;background-color:rgba(27,31,35,0.05);border-radius:3px;margin:0px;padding:0.2em 0.4em;color:rgb(36,41,46)">basic.p4rt.txt</code><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">. If you want a file named </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;background-color:rgba(27,31,35,0.05);border-radius:3px;margin:0px;padding:0.2em 0.4em;color:rgb(36,41,46)">basic.p4.p4info.txt</code><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">instead, change the command line, or rename the file after compiling.</span></i><br></div><div><br></div><div>I understood what was the issue. Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 10, 2019 at 12:55 PM Harsh Gondaliya <<a href="mailto:harshgondaliya_vinodbhai@srmuniv.edu.in" target="_blank">harshgondaliya_vinodbhai@srmuniv.edu.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am compiling the basic.p4 program from p4lang/tutorials/exercises using the command:</div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">p4@p4-VirtualBox:~/p4-setup/exercises/basic$ p4c --target bmv2 --arch v1model --p4runtime-files basic.p4rt.txt basic.p4 </font><br></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">The .json and .p4rt file are generated but no build directory or the p4info file (basic.p4.p4info.txt) is being generated when the compilation ends. I tried the same command with p4c-bm2-ss too, but no results.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">What can be done in this case?<br></font></div><div><font face="arial, sans-serif"><i><br class="gmail-m_-2472892788197858573gmail-m_-6540250221122676029gmail-Apple-interchange-newline">I had installed p4c using </i></font><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><i>install-p4dev-p4runtime.sh</i></span><span style="color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"> </span><font face="arial, sans-serif"><i>script available on </i></font><a href="https://github.com/jafingerhut/p4-guide" target="_blank">https://github.com/jafingerhut/p4-guide</a>. I have filed an issue there.<font face="arial, sans-serif"><br></font></div></div>
</blockquote></div>
_______________________________________________<br>
P4-dev mailing list<br>
<a href="mailto:P4-dev@lists.p4.org" target="_blank">P4-dev@lists.p4.org</a><br>
<a href="http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org" rel="noreferrer" target="_blank">http://lists.p4.org/mailman/listinfo/p4-dev_lists.p4.org</a><br>
</blockquote></div>