Web assembly charconv file not found - web

I am building webassembly files from qt project. It is qt 5.12.2
here from Download Qt and I am working on bash.
Whenever I run my make file it gives the following error:
charconv file not found.
I seem to remove it completely from the code but it did not work. I am using em++ compiler not c++. I have my make file produced automatically by running qmake.
Please help. I am working on custom library that is using boost, arabica, zlib, libzip and xerces.

Related

I used the ddpkg-buildpackage tool to generate the deb package in linux, and the dynamic library of the dependent report could not be found

My project is based on QT5.14 and relies on the mxml library and libhv library. Now to port to Ubuntu, I choose to use ddpkg-buildpackage to generate the deb package. Run the dpkg-buildpackage -b -rfakeroot -us-uc command. The following error message is displayed:
dpkg-shlibdeps: error: cannot find library libmxml.so.1 need by debian/pip/opt/pip/bin/pip(ELF format: elf64-littleaarch64 abi:'020100b7000000000'; rpath:'usr/lib/qt5/lib')
How can I solve this problem?
I am not familiar with linux environment, please help me to look at it, thank you
This is the structure directory for my project
pip
pip/src // source code
pip/vendor // dependent library directory
pip/vendor/mxml/lib/libmxml.so.1
pip/vendor/libhv/lib/libhv.so
debian/ruler Is generated using dh_make and is not modified
I am not familiar with linux environment

How to call a compiled fortran exe file in a deployed Matlab exe in Linux?

I am trying to use a deployed Matlab exe file in Linux, and in the middle of my matlab code I want to call a .exe file compiled by Fortran.
I have tested that the fortran-compiled binary exe file is alright to run in Linux and get my results both by directly calling it in commmand line and in Matlab by 'system(read_results.exe)'. But when I deployed the Matlab code, and call it by the following command:
./matlab_code.sh /cm/shared/apps/Matlab-R2019a
The Fortran .exe file cannot be called correctly and gives the following message:
Possible reason:read_results.exe: error while loading shared libraries: libgfortran.so.5: cannot open shared object file: No such file or directory
I guess this problem shoulbe be relatived with the environment variables or something like that. I don't know how to add those libraries to a deployed Matlab code, or how to compile the Fortran code to a totally independent binary file in Linux. Could anyone please help me with it? Thank you guys very much!!!!
( The reason I need to call a .exe file is I really cann't compile it to a DLL...So I have to use it in such a terrible way. )

Python based converted exe running in other systems

I developed some scripts using python3 for GIS related activities using python osgeo, ogr,gdal, module. I converted my script.py to exe using pyinstaller. The converted exe is working on my system well but i f run the same exe othe systems its giving error like nomodule named gdal. I ran the exe with all dll files which developed while in process of py to exe conversion. Please help me?
It seems that you did not include all of your dependencies after all (e.g. _gdal module is missing as the error says). The solution is to include all dependent DLL modules (including transitive dependencies - which I suspect you missed here).

'Can't find hdf5 library' while installing netCDF4

I am trying to build NetCDF4 from source on MacOSX. When I run ./configure I get the error:
checking for library containing H5Fflush... no
configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
I installed hdf5 before, and set the environment variables as:
LDFLAGS=-L/opt/local/lib
CPPFLAGS=-I/opt/local/include
In /opt/local/lib I have these files:
libhdf5.8.dylib
libhdf5.a
libhdf5.dylib
libhdf5.settings
libhdf5_cpp.8.dylib
libhdf5_cpp.a
libhdf5_cpp.dylib
libhdf5_hl.8.dylib
libhdf5_hl.a
libhdf5_hl.dylib
libhdf5_hl_cpp.8.dylib
libhdf5_hl_cpp.a
libhdf5_hl_cpp.dylib
And in /opt/local/include I have:
hdf5.h hdf5_hl.h
Why doesn't the configure script find the hdf5 library? I am happy to provide more information if needed!
EDIT:
My ultimate goal is to install netcdf4 for use as a Fortran module. I have tried installing everything through MacPorts, and it seemed to work, but when I tried to use it, the compiler told me that there was no netcdf.mod file, and sure enough there wasn't one to be found anywhere.
It turns out that just typing:
sudo port install netcdf-fortran
only installs the library files, but doesn't create a .mod file, which I guess is needed. So I found out that other people had the same problem, and the advice given was to install it with gcc44, which did create a .mod file, but then my compiler told me that the .mod file was built with a different version of gfortran and it couldn't be used, so that's why I am trying to build it from scratch, but if someone has a faster option, I would be more than happy to try it!
Ok, I finally figured it out.
I reinstalled netcdf-fortran with macports, then the .mod file suddenly appeared, I then had the problem, however, that when running gfortran, it would tell me that netcdf.mod was compiled with a different version of fortran than the one I am using. (Macports uses 4.8), so got gcc48 from macports and am using gfortran-mp-4.8 to compile now and it works.
Still don't know how to build all these things from scratch, but it works now at least!!!
Typically, I see this when there is a downstream dependency that cannot be fulfilled. The test program created by configure is finding libhdf5, but compilation is still failing because it cannot find something like libz or libszip, depending on how your libhdf5 was compiled.
If you check your config.log file and look for the error, it will probably tell you something along the lines of 'unresolved symbol'. This will give a clue as to which library is missing. If it is linking against the statically-built libhdf5, you may need to add the appropriate library usingLDFLAGS.
If you post the relevant portion of your config.log file, we may be able to help sort out what exactly is going wrong.
Sometimes it doesn't work in the configure parameters like
./configure --enable-shared --enable-fortran --enable-netcdf-4
CPPFLAGS=-I$home/apps2/include LDFALGS=-L$home/apps2/lib --prefix=$home/apps2
or doesn't work when export CPPFLAGS=-I$home/apps2/include in the open SHELL.
Maybe you can set the env vars CPPFLAGS and LDFLAGS in the .bashrc file (prior to the first two ways).

Cannot run CMUSphinx program

I have installed CMUSphinx using this blog(Here). I did all the steps correctly. But when I executed a sample program provided in the same blog(This program). It shows me the following error
--------- ERRROR: ----------
Unable create vader.
Init failed...
I Don't know what to do. I am using Ubuntu 11.10/64bit. Is there any package I have not installed?
Most likely you didn't install the plugin correctly. Make sure that
plugin file is installed in the gstreamer folder. The plugin so file should be placed either in /usr/lib/gstreamer folder or GST_PLUGIN_PATH environment variable needs to be properly set.
gst-inspect shows the plugin. See the output of the gst-inspect to check if plugin is detected. Check GST_PLUGIN_PATH environment variable if it's not.
dynamic linker is properly configured. Check that pocketsphinx library is installed in /usr/lib or that LD_LIBRARY_PATH variable is properly set to include the folder where pocketpshinx library is installed
See the gstreamer documentation and Linux linker documentation for more details.

Resources