Linking librrary

2018-08-28 Thread Peter
using C_make there, and i want it to compile project to JS What should i do next because I simply don't understand. Should I use output file from GSL or compile it togheter? Sorry for taking you time and thx: Peter -- You received this message because you are subscribed to the Google Groups

Re: help with converting library to JS

2018-04-05 Thread Peter
>Wait, here is the problem, a big fat FORTRAN source file: > > https://github.com/libamtrack/library/blob/master/thirdparty/cernlib/CERNLIBFUNS.f > >I don't think it's possible to get that through emscripten. So I have to remove it with all dependencies to this, right? -- You received this

help with converting library to JS

2018-04-05 Thread Peter
recognized: File format not recognized collect2: error: ld returned 1 exit status I know that probably its really easy to figure it out how to do it, but I spend last week trying to find some solution and nothing :( If someone would give me a hint where to start it would be really greate. Thank

Re: help with converting library to JS

2018-04-05 Thread Peter
Thank you for your replay. I found out that using Ubuntu emescripten package also isn't the best idea so now i am download it from git. About GSL So i should use this : https://github.com/GSL-for-JS/gsl-js or standar GSL? And using Ubuntu subsystem for Win is really bad idea for dealing with

Re: help with converting library to JS

2018-04-12 Thread Peter
Hello again, so I try to do as you told and now i have something like this: https://github.com/marwin1991/libamtrackforjs If someone could look at cmake and tell me if its good :) W dniu czwartek, 5 kwietnia 2018 08:44:06 UTC+2 użytkownik Peter napisał: > > Hello, I am working on appli

Re: help with converting library to JS

2018-04-12 Thread Peter
my current errors are: during emcmake .. from sub directory: [root@osboxes _buikd]# /home/osboxes/emsdk/emscripten/1.37.36/emcmake .. emconfigure is a helper for configure, setting various environment variables so that emcc etc. are used. Typical usage: emconfigure ./configure [FLAGS]

Re: Emscripten errors when used with a React App

2018-04-18 Thread Peter
Someone found solution to this problem? -- 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options,

Re: Linking librrary

2018-09-03 Thread Peter
_librareis but it doesnt work :/ Thank you for your time Peter W dniu wtorek, 28 sierpnia 2018 19:19:59 UTC+2 użytkownik Peter napisał: > > Hello, > > I am looking every where to find answear how to link propertly library to > my project. > > I want to use some function from

Re: Linking librrary

2018-09-03 Thread Peter
Thank you for your replay. I found a file in hidden directory ./libs I contains libgsl.a and libgsl.so.23.1.0 When i compile my project to .a is it good to use libgsl.so? as you told i moved libgsl.so to my project: "$emcc" libgsl.so libat.a -o libat.html -s WASM=1 -s EXPORTED_FUNCTIONS="$funs"

Cannot run compiled examples in browser

2014-11-23 Thread Peter Jonckheere
I am quite new to emscripten. I can compile the tests with visual C++ 2010 express. The simplest examples are running fine I can also compile some of the examples from the command line (emcc..) For some of the examples, especially the SDL examples and the glbook examples I can not run the

Optimization levels of precompiled libraries

2015-08-13 Thread Peter Nemeth
it rebuilding the sources if I change optimization level after the initial build. Bests, Peter -- 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 emscripten-discuss

Re: Optimization levels of precompiled libraries

2015-08-14 Thread Peter Nemeth
libraries the same as for any other platform. In ports, I think most are -O2 (automatically, you don't need to do anything for them). On Thu, Aug 13, 2015 at 3:39 AM, Peter Nemeth spaceca...@prezi.com wrote: Hi, I'm wondering how do you manage precompiled libraries which you don't want

fixing c++ bugs - idea

2017-08-15 Thread Peter Szabo
I have seen lot's of documents about emscripten, specifically i'm working with ffmpeg. Ffmepg is terribly written, very hard to read, and fix bugs on it, and that's why the development is pretty slow. Android got rid of ffmpeg at some stage, and created new decoders for android. Especially in

learning and analyzing c++ project to fix issues

2017-08-13 Thread Peter Szabo
I have got a chance to look at emscripten, and my question is. Is it making an unreadable javascript code? For example the ffmpeg project is very unreadable in C++, lots of hacks bugs all over the places. If it can be converted to for example javascript, you can easily fix issues, and after

emsdk install latest - HTTP Error 403: Forbidden

2017-05-10 Thread Peter Postmann
this error when I try to update emscripten. Does anyone else can reproduce this error? Kind Regards, Peter -- 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, sen

Re: emsdk install latest - HTTP Error 403: Forbidden

2017-05-10 Thread Peter Postmann
s Denied > 8852AE75A8A4A681 > > OnOQq7Uel4Ly+SWD7Qum34KjQmceOfnxo259gvkYGGSMQpigOGINX7PbVWTYBLcer9+ > I6nI8uys= > > > > Seems to be a universal problem, not just on your side :) > > > Am Mittwoch, 10. Mai 2017 13:51:34 UTC+2 schrieb Peter Postmann: >> >> Installing SDK 'sdk-1.37.9.zip-

Re: emsdk install latest - HTTP Error 403: Forbidden

2017-05-19 Thread Peter Postmann
Hi Jukka, sorry, I wiped and re-installed everyhting :/ On Tue, May 16, 2017 at 3:44 PM, Jukka Jylänki wrote: > Hmm, can you try that again? The download does work for me when trying out > today. I wonder if there might have been an outage or something like that. > > The URL

Re: Real memory usage of HEAP

2016-07-28 Thread 'Peter Nemeth' via emscripten-discuss
t; > On Wed, Jul 27, 2016 at 8:11 AM, 'Peter Nemeth' via emscripten-discuss < > emscripte...@googlegroups.com > wrote: > >> I was digging this a bit more and it's not the browser but the OS. What >> Activity Monitor / Task Manager shows is the resident memory. The &

Real memory usage of HEAP

2016-07-26 Thread 'Peter Nemeth' via emscripten-discuss
I'm trying to find out the best memory configuration for our application. It's using a lot of user generated content so we cannot be sure about the required TOTAL_MEMORY at compile time. We could calculate that upfront on the backend and set in the Module before loading but I would like to

Re: Real memory usage of HEAP

2016-08-02 Thread 'Peter Nemeth' via emscripten-discuss
;>>> >>>> asm.js officially stopped supporting memory growth. It should be the >>>> same on all browsers - none should be doing asm.js opts when memory growth >>>> is used. Definitely chrome and firefox do not. (In WebAssembly we'll have >>>> memory gr

Source maps for optimized builds

2016-10-05 Thread 'Peter Nemeth' via emscripten-discuss
Is it possible to generate source maps for optimized release builds somehow? It seems to me that source maps are only available when building with -g4. I would like to have source maps for highly optimized builds so that for example obfuscated/minified stacktraces coming from production can be

Re: Source maps for optimized builds

2016-10-08 Thread 'Peter Nemeth' via emscripten-discuss
nified build. But it just gives you > function names, and not source files and line numbers. > > Otherwise, current source maps support has focused on debugging code, and > just works in a debug build. > > On Wed, Oct 5, 2016 at 5:00 AM, 'Peter Nemeth' via emscripten-discuss <