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 application to provide easy way to use this library: > https://github.com/libamtrack/library > > generally the main purpose is provide it as easy to use web application. > So lately I am trying to convert it to JS using Emscripten. > > I have to problems: > 1. GSL > I found this: https://github.com/Planeshifter/gsl-js > the emmake make for this is generrly sucessful but I don't know how to use > it during building main lib > but genrally during emmake I get error: > fatal error: 'gsl/gsl_integration.h' file not found > #include <gsl/gsl_integration.h> > > 2. > make: > libtool: link: gfortran -shared -fPIC > .libs/libcernlibfuns_la-AT_CernlibFuns.o .libs/CERNLIBFUNS.o -lgsl > -lgslcblas -lm -g -O2 -Wl,-soname -Wl,libcernlibfuns.so.0 -o > .libs/libcernlibfuns.so.0.0.0 > libtool: link: (cd ".libs" && rm -f "libcernlibfuns.so.0" && ln -s > "libcernlibfuns.so.0.0.0" "libcernlibfuns.so.0") > > emmake make: > libtool: link: gfortran -shared -fPIC > .libs/libcernlibfuns_la-AT_CernlibFuns.o .libs/CERNLIBFUNS.o -lgsl > -lgslcblas -lm -g -O2 -Wl,-soname -Wl,libcernlibfuns.so.0 -o > .libs/libcernlibfuns.so.0.0.0 > .libs/libcernlibfuns_la-AT_CernlibFuns.o: file not 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 you for you time, > 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.