Thanks Alon, this worked perfectly.

On Friday, September 9, 2016 at 2:33:44 AM UTC+8, Alon Zakai wrote:
>
> You can use DEFAULT_LIBRARY_FUNCS_TO_INCLUDE, add "$Browser" to that. See 
> notes in src/settings.js.
>
> On Wed, Sep 7, 2016 at 2:31 AM, awt <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>>
>> I am on 1.36.3 and am trying to create a library so I have no main loop. 
>> I tried to load my resources manually using FS_createPreloadedFile in my 
>> PreJs file but realized that the Browser module is not included in my 
>> generated JS file. I am using -Oz for optimization.
>>
>> I added the INCLUDE_FULL_LIBRARY flag but got the following unresolved 
>> symbol errors:
>> error: unresolved symbol: htons
>> error: unresolved symbol: glOrtho
>> error: unresolved symbol: sleep
>>
>> Is there a way to include the Browser library so that I can use 
>> FS_createPreloadedFile manually in my PreJS?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to