@marbasoft : I suppose you have to build the application first selecting the webjs type. Try clean or rebuild it should solve your problem. Make sure you have emscripted installed other wise some wired error will come while building.
Upto building is fine but I am not sure you will be able to run it, let me know if you do.
(04-24-2014 07:42 PM)ronghester Wrote: @marbasoft : I suppose you have to build the application first selecting the webjs type. Try clean or rebuild it should solve your problem. Make sure you have emscripted installed other wise some wired error will come while building.
Upto building is fine but I am not sure you will be able to run it, let me know if you do.
Thanks
Thanks for the reply
Emscripten is installed, I tried version 1.12.0 (32bit) and 1.16.0 (64bit) with visual studio express 2010 installed.
I'll try to build before publish, but I'm not sure it's the problem (when I publish, I can see Esenthel Editor build the project). I'll be back after a try
(04-24-2014 07:42 PM)ronghester Wrote: @marbasoft : I suppose you have to build the application first selecting the webjs type. Try clean or rebuild it should solve your problem. Make sure you have emscripted installed other wise some wired error will come while building.
Upto building is fine but I am not sure you will be able to run it, let me know if you do.
Thanks
After the try, i have the same problem :
My folder _Build_/Web App :
My folder _Build_/Web App/Emscripten/Realease :
My file _Build_/Web App/Emscripten/Realease/Project.log :
Code:
La génération a démarré 25/04/2014 08:48:26.
1>Projet "D:\documents\Esenthel\Projects\_Build_\Web App\Project.vcxproj" sur le nœud 2 (build cible(s)).
1>InitializeBuildStatus:
Création de "Emscripten\Release\Web App.unsuccessfulbuild", car "AlwaysCreate" a été spécifié.
ClCompile:
C:\Emscripten\emscripten\1.12.0\emcc.bat
stdafx.cpp
Auto.cpp
Main.cpp
Commands.cpp
Link:
C:\Emscripten\emscripten\1.12.0\emcc.bat Emscripten/Release/stdafx.o Emscripten/Release/Auto.o Emscripten/Release/Main.o Emscripten/Release/Commands.o -o "D:/documents/Esenthel/Projects/_Build_/Web App/Emscripten/Release/Web App.exe" -O2 D:/documents/Esenthel/Bin/EsenthelEngine.bc --memory-init-file 1 -s ALLOW_MEMORY_GROWTH=1 --closure 0 --minify 0
1>GCCLINK : warning root: Disabling asm.js validation for memory growth (memory can grow, but you lose some amount of speed)
Project.vcxproj -> D:\documents\Esenthel\Projects\_Build_\Web App\Emscripten\Release\Web App.exe
FinalizeBuildStatus:
Suppression du fichier "Emscripten\Release\Web App.unsuccessfulbuild".
Mise à jour de l'horodatage "Emscripten\Release\Web App.lastbuildstate".
1>Génération du projet "D:\documents\Esenthel\Projects\_Build_\Web App\Project.vcxproj" terminée (build cible(s)).
La génération a réussi.
Temps écoulé 00:00:06.28
In french "La génération a réussi." means "Generation successful".
@Marbasoft, in the compilation log I see "Web App.exe", however it should be "Web App.js"
Can you select "Web JS" target, then "Open in Visual Studio" and browse through project settings (first setting Platform to "Emscripten") to see if the build settings have "js" or "exe" somewhere?
Mine have "js" everywhere.
(04-22-2014 08:26 AM)ronghester Wrote: But nothing seems to be solving this shader problem. I remember I got this kind of error with samsung S3 last year.
This is a different issue, this is indication of the data being downloaded as corrupt.
Can you:
make sure you have the latest browser, try latest: Chrome, Firefox, Opera.
If all have the same issue:
Please in EE Editor press Ctrl+F8 for publishing, disable "secure".
Publish everything, upload the result to your website.
Let me know the results, and let me know the link to your website for testing.
(04-25-2014 08:55 AM)Esenthel Wrote: @Marbasoft, in the compilation log I see "Web App.exe", however it should be "Web App.js"
Can you select "Web JS" target, then "Open in Visual Studio" and browse through project settings (first setting Platform to "Emscripten") to see if the build settings have "js" or "exe" somewhere?
Mine have "js" everywhere.
Target Extension is ".exe" :( i just have to replace ".exe" by ".js" ?
It should be "js" automatically.
Can you do:
1. "Build\Export\Visual Studio 2010" and send me the "*.vcxproj.*" files
2. Then Open the project files in your VS, close the VS so it resaves any changes if any, and again send me the "*.vcxproj.*" files
Perhaps your VS version does not handle well the plugin that comes with Emscripten? Perhaps it's because you have a French version of VS
(04-25-2014 09:05 AM)Esenthel Wrote: It should be "js" automatically.
Can you do:
1. "Build\Export\Visual Studio 2010" and send me the "*.vcxproj.*" files
2. Then Open the project files in your VS, close the VS so it resaves any changes if any, and again send me the "*.vcxproj.*" files
Perhaps your VS version does not handle well the plugin that comes with Emscripten? Perhaps it's because you have a French version of VS
Files sent, I'll googling about French VS with Emscripten vs tool
(04-22-2014 08:26 AM)ronghester Wrote: But nothing seems to be solving this shader problem. I remember I got this kind of error with samsung S3 last year.
This is a different issue, this is indication of the data being downloaded as corrupt.
Can you:
make sure you have the latest browser, try latest: Chrome, Firefox, Opera.
If all have the same issue:
Please in EE Editor press Ctrl+F8 for publishing, disable "secure".
Publish everything, upload the result to your website.
Let me know the results, and let me know the link to your website for testing.
All browsers are latest, and I can also run the demo in my browser hosted on esenthel.com (I just installed the latest version of firefox and tested there same error as it was in chrome).
Your engine pak does not contain the necessary files, hence the error.
Are you using a different engine libraries and different engine data?
Please upgrade to the latest version.
I've downloaded EE 2.0 today and payed month subscription.
I'm getting same issue of ronghester. Changing manually .exe to .js seems work, but I get this log:
Code:
1>GCCLINK : warning root: Disabling asm.js validation for memory growth (memory can grow, but you lose some amount of speed)
1>GCCLINK : warning : Linking two modules of different data layouts: 'c:/users/cmontiel/appdata/local/temp/tmpzlxazr/EsenthelEngine_4.o' is 'e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:32' whereas 'c:/users/cmontiel/appdata/local/temp/tmpzlxazr/stdafx_0.o' is 'e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128'
1>GCCLINK : warning : Linking two modules of different target triples: c:/users/cmontiel/appdata/local/temp/tmpzlxazr/EsenthelEngine_4.o' is 'le32-unknown-nacl' whereas 'c:/users/cmontiel/appdata/local/temp/tmpzlxazr/stdafx_0.o' is 'asmjs-unknown-emscripten'
1>GCCLINK : warning : unresolved symbol: _Z7Preloadv
1>GCCLINK : warning : Output contains some very large functions, consider using OUTLINING_LIMIT to break them up (see settings.js)
In web i get this error too:
missing function: _Z7Preloadv
Maybe is something related with EsenthelEngine.bc ?