Ecere SDK/eC Forums http://www.ecere.com/community/ Print view |
|
How to Compile Ecere Files To Emscripten??? http://www.ecere.com/community/viewtopic.php?f=26&t=418 |
Page 1 of 1 |
Author: | fasasoftware [ Thu Mar 10, 2016 6:42 pm ] |
Post subject: | How to Compile Ecere Files To Emscripten??? |
Dear jerome, I'm trying to compile to javascript...but i cant...or better i don't know how....can you tell me please??how i can??? If i do this work for simple helloworld c++........: Code: Select all
But if if try to compile like this...give me error: C:\Users\Save\Desktop\t>em++ tictactoe.cpp here below the error: Code: Select all
|
Author: | jerome [ Fri Mar 11, 2016 1:43 pm ] |
Post subject: | Re: How to Compile Ecere Files To Emscripten??? |
Hi Lestroso, It is a somewhat complicated process to compile projects to Emscripten. In fact, I am currently trying to get one of our own projects to run. I should probably post an article about how to do this in the near future. What you are trying to do in your example though is to give a C++ compiler eC code, so of course that doesn't work too well! The way it starts is by setting up a new 'Emscripten' compiler in the Ecere IDE's Global Settings/Compilers. There you must configure the toolchain and paths with the proper settings so that it uses Emscripten's Clang compiler with the proper options to compile the C code generated by the eC compiler. I will work on an article describing how to do this in the coming weeks. Also worth being noted, this must be done using a special development branch of the Ecere SDK where we have support for Emscripten. More on all this to come. Best regards, -Jerome |
Author: | fasasoftware [ Fri Mar 11, 2016 5:28 pm ] |
Post subject: | Re: How to Compile Ecere Files To Emscripten??? |
i THANK YOU JEROME....it seem real complicated...i'll wait for your article...bestregards, lestroso |
Author: | fasasoftware [ Sun Mar 13, 2016 3:04 pm ] |
Post subject: | Re: How to Compile Ecere Files To Emscripten??? |
Dear Jerome, why don't you make an app to convert a "project.epj" to html5 with emscripten?? you could make it easy from everyone...and it sound good... I thank you a lot jerome again.... best regards, lestroso |
All times are UTC-05:00 | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |