Error - Exported KWIK App Windows 7

I received the following Error in FireFox 29.

IE 11 on Windows 7 would not display.

Chrome Version 34.0.1847.116 m  - also would not display. 

Its a very simple app so far just a couple buttons. But it is using Retina size images.

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.

Larry Meadows DoubleSlashDesign / TinyTapApps


After More Review of the generated code I finally see what you are doing. 

but one thing that sticks in my mind. all paths should not be hard coded.

var PACKAGE_NAME = ‘C:\Users\Admin\Documents\mytestapp\Html5/build.webapp/CoronaResources’;

Module’addRunDependency’;

That will not work on any browser…

So yes it appears that the Simulator is not either copying files ( like images ) to the proper sub folders and the Simulator should generate relative paths, not physical paths…

I even uploaded to my webserver and could not get it to work as well.

Can you get this sample to work?

https://github.com/coronalabs/sample-webgl-demo

Mozilla Firefox 29 worked locally. No other browser worked locally.

I uploaded to my 2 different webservers, and no browsers worked at all.

i did find out one tidbit of info.

When setting your  var REMOTE_PACKAGE_NAME = (Module[‘filePackagePrefixURL’] || ‘’) + ‘CoronaResources’;

None of the servers liked that the CoronaResources file name did not have an extension.

the browsers were getting a not found error ( all 3 ) .

I changed it and renamed the file to CoronaResources.dat  and at least the error did go away the file was at least downloaded.

Larry

Can you get this sample to work?

https://github.com/coronalabs/sample-webgl-demo

Mozilla Firefox 29 worked locally. No other browser worked locally.

I uploaded to my 2 different webservers, and no browsers worked at all.

i did find out one tidbit of info.

When setting your  var REMOTE_PACKAGE_NAME = (Module[‘filePackagePrefixURL’] || ‘’) + ‘CoronaResources’;

None of the servers liked that the CoronaResources file name did not have an extension.

the browsers were getting a not found error ( all 3 ) .

I changed it and renamed the file to CoronaResources.dat  and at least the error did go away the file was at least downloaded.

Larry