BP Forums
Compiling Code On The Fly? - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: VB.NET (Visual Basic 2010/2008) (https://bpforums.info/forumdisplay.php?fid=8)
+---- Thread: Compiling Code On The Fly? (/showthread.php?tid=574)



Compiling Code On The Fly? - zmanalpha - 07-19-2012

Hey Guys,
Is there any library or anything where i can take code stored in a file for say, compile said code and run it in side the application doing the compiling? Any Help Would Be appreciated <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin --> !


Re: Compiling Code On The Fly? - brandonio21 - 07-19-2012

Well there is definitely a way to do this. I am not too familiar with it and found the code snippet online a while back. I haven't really had the chance to play with it though.

BP Forums link:

<!-- l --><a class="postlink-local" href="http://bpforums.info/viewtopic.php?f=22&t=381">viewtopic.php?f=22&t=381</a><!-- l -->

Here are two other links that have a much better explanation than I could ever hope for on the topic:
<!-- m --><a class="postlink" href="http://vbcity.com/blogs/jatkinson/archive/2010/04/24/dynamically-read-compile-and-run-source-code-from-a-text-file.aspx">http://vbcity.com/blogs/jatkinson/archi ... -file.aspx</a><!-- m -->

<!-- m --><a class="postlink" href="http://www.codeproject.com/Articles/12852/Compile-and-Run-VB-NET-Code-using-the-CodeDom">http://www.codeproject.com/Articles/128 ... he-CodeDom</a><!-- m -->


Re: Compiling Code On The Fly? - zmanalpha - 07-20-2012

Thanks a lot! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->


Re: Compiling Code On The Fly? - brandonio21 - 07-20-2012

Hey no problem!


Compiling Code On The Fly - briankxc - 10-04-2012

Hi,
Ive followed several thread about compiling source code.

I have downloaded and installed a copy of the kernel, have installed build essentials and have followed the make instructions, but all to no avail.

Has anyone compiled from source code on a stock xandros eeepc 2g, and if so would they be able to provide a brief outline to follow?

Then I could post any error messages I get, and work through the process that way.


Kindest regards

James