From 2770968c24fe9c02e4b56faafcdedfe34c6e4fe7 Mon Sep 17 00:00:00 2001 From: eiffel-org Date: Fri, 7 Sep 2018 09:34:23 +0000 Subject: [PATCH] Added a question about inability to compile generated C code by Visual Studio. Updated wikipage FAQ. (Signed-off-by:alexk). git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@2060 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- documentation/trunk/faq/index.wiki | 38 +++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/documentation/trunk/faq/index.wiki b/documentation/trunk/faq/index.wiki index 49490cc3..db9354f0 100644 --- a/documentation/trunk/faq/index.wiki +++ b/documentation/trunk/faq/index.wiki @@ -1,11 +1,27 @@ -[[Property:title|FAQ]] -[[Property:description|Frequently Asked Questions]] -[[Property:link_title|FAQ]] -[[Property:weight|5]] -[[Property:uuid|e604c263-249d-48d2-8238-b3d027ed04dd]] - -See existing Frequently Asked Questions pages: -* [https://www.eiffel.com/resources/faqs/] -* [https://www.eiffel.com/resources/faqs/eiffel-language/ General Eiffel FAQ] -* [https://www.eiffel.com/resources/faqs/eiffel-studio/ EiffelStudio FAQ] - +[[Property:modification_date|Fri, 07 Sep 2018 09:34:23 GMT]] +[[Property:publication_date|Fri, 07 Sep 2018 09:34:23 GMT]] +[[Property:title|FAQ]] +[[Property:description|Frequently Asked Questions]] +[[Property:link_title|FAQ]] +[[Property:weight|5]] +[[Property:uuid|e604c263-249d-48d2-8238-b3d027ed04dd]] + +== I have Visual Studio on my machine, but EiffelStudio cannot find it == + +Here is a summary of steps to make sure C code compiles using Visual Studio 2017 in 64-bit mode on 64-bit Windows 10: + +# Cleanup all projects by removing EIFGENs directories (including those in precompiles). +# Setup Visual Studio 2017 environment in 64-bit mode by running +#:...\vsdevcmd.bat -arch=amd64 +# Setup EiffelStudio environment by running (most probably, this step is unnecessary if using GUI only) +#:...\esvars.bat +# Tell EiffelStudio to use Visual Studio 2017-compatible libraries +#:set ISE_C_COMPILER=msc_vc140 +# Launch EiffelStudio from the command prompt: +#:estudio + + +=== See also: === +* [https://www.eiffel.com/resources/faqs/eiffel-language/ General Eiffel FAQ] +* [https://www.eiffel.com/resources/faqs/eiffel-studio/ EiffelStudio FAQ] +