First time here? Checkout the FAQ!
x
0 votes
by (220 points)

Hello every one,
I am using Meshalyzer on Ubuntu (VM) Its stoped working when i open the vm.igb  file . with this error 

Unable to read proper points file

salman@salman-vm:~/Downloads/opencarp$ ./Meshalyzer-3.2-x86_64.AppImage

Error: could not open /home/salman/Downloads/opencarp/tissues/02_stimulation/vm.igb.pts for reading! Reason:

No such file or directory

Unable to read proper points file

salman@salman-vm:~/Downloads/opencarp$ 

while i am running my simulation on Windows DOCKER, and then trying to visual the results on UBUNTU (VM) = Graphic capacity -> llvmpipe (LLVM 12.0.0, 128 bits)
IS there any way, to use Meshalyzer on Windows (Docker)???
by (220 points)
HREHMAAN@DESKTOP-LM9GBJ0 /cygdrive/C/Users/HREHMAAN/cygwin-installer/meshalyzer-master
$ make -j
cd src && make
make[1]: Entering directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/meshalyzer-master/src'
fluid -c -o .cc ClipPlane.fl
fluid -c -o .cc ColourBarGUI.fl
make[1]: fluid: No such file or directory
make[1]: *** [Makefile:135: ClipPlane.cc] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: fluid: No such file or directory
make[1]: *** [Makefile:135: ColourBarGUI.cc] Error 127
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/meshalyzer-master/src'
make: *** [Makefile:6: all] Error 2


ERROR During INstallation of Meshalyzer on cygwin

1 Answer

0 votes
by (19.2k points)

Regarding the first error: does the file /home/salman/Downloads/opencarp/tissues/02_stimulation/vm.igb.pts exist?

Regarding the compilation on Windows: did you follow all steps detailed here?https://git.opencarp.org/openCARP/meshalyzer/-/blob/master/INSTALL.md#windows

by (220 points)
yes i followed the every single step
Error start occuring  when i run command for FLTK package
 specialy
( make -j
make install)
by (220 points)
charp start,
      |                                 ^~~~~~~~~~~~~~~~~
pngconf.h:287:70: note: in definition of macro ‘PNG_FUNCTION’
  287 | #  define PNG_FUNCTION(type, name, args, attributes) attributes type name args
      |                                                                      ^~~~
pngpriv.h:1744:1: note: in expansion of macro ‘PNG_INTERNAL_FUNCTION’
 1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
      | ^~~~~~~~~~~~~~~~~~~~~
png.c:755:12: note: ‘number_buf’ declared here
  755 |       char number_buf[5]; /* enough for a four-digit year */
      |            ^~~~~~~~~~
In function ‘png_convert_to_rfc1123_buffer’,
    inlined from ‘png_convert_to_rfc1123’ at png.c:796:11:
pngpriv.h:1749:4: warning: ‘number_buf’ may be used uninitialized [-Wmaybe-uninitialized]
 1749 |    png_format_number(buffer, buffer + (sizeof buffer), format, number)
png.c:757:69: note: in definition of macro ‘APPEND_STRING’
  757 | #     define APPEND_STRING(string) pos = png_safecat(out, 29, pos, (string))
      |                                                                     ^~~~~~
png.c:759:24: note: in expansion of macro ‘PNG_FORMAT_NUMBER’
  759 |          APPEND_STRING(PNG_FORMAT_NUMBER(number_buf, format, (value)))
      |                        ^~~~~~~~~~~~~~~~~
png.c:762:7: note: in expansion of macro ‘APPEND_NUMBER’
  762 |       APPEND_NUMBER(PNG_NUMBER_FORMAT_u, (unsigned)ptime->day);
      |       ^~~~~~~~~~~~~
In file included from png.h:335,
                 from pngpriv.h:386,
                 from png.c:14:
png.c: In function ‘png_convert_to_rfc1123’:
pngpriv.h:1744:33: note: by argument 1 of type ‘png_const_charp’ {aka ‘const char *’} to ‘png_format_number’ declared here
 1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
      |                                 ^~~~~~~~~~~~~~~~~
pngconf.h:287:70: note: in definition of macro ‘PNG_FUNCTION’
  287 | #  define PNG_FUNCTION(type, name, args, attributes) attributes type name args
      |                                                                      ^~~~
pngpriv.h:1744:1: note: in expansion of macro ‘PNG_INTERNAL_FUNCTION’
 1744 | PNG_INTERNAL_FUNCTION(png_charp,png_format_number,(png_const_charp start,
      | ^~~~~~~~~~~~~~~~~~~~~
png.c:755:12: note: ‘number_buf’ declared here
  755 |       char number_buf[5]; /* enough for a four-digit year */
      |            ^~~~~~~~~~
Archiving ../lib/libfltk_png.a...
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/png'
=== making src ===
make[1]: Entering directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/src'
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/src'
=== making fluid ===
make[1]: Entering directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/fluid'
Compiling ExternalCodeEditor_WIN32.cxx...
ExternalCodeEditor_WIN32.cxx: In function ‘const char* get_ms_errmsg()’:
ExternalCodeEditor_WIN32.cxx:37:5: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
   37 |     _snprintf(emsg, sizeof(emsg), "Error Code %ld", long(lastErr));
      |     ^~~~~~~~~
      |     vsnprintf
ExternalCodeEditor_WIN32.cxx: In function ‘int terminate_app(DWORD, DWORD)’:
ExternalCodeEditor_WIN32.cxx:116:60: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘DWORD’ {aka ‘unsigned int’} [-Wformat=]
  116 |       printf("WARNING: sent WIN_CLOSE, but timeout after %ld msecs.."
      |                                                          ~~^
      |                                                            |
      |                                                            long int
      |                                                          %d
  117 |              "trying TerminateProcess\n", msecTimeout);
      |                                           ~~~~~~~~~~~
      |                                           |
      |                                           DWORD {aka unsigned int}
ExternalCodeEditor_WIN32.cxx: In static member function ‘static const char* ExternalCodeEditor::tmpdir_name()’:
ExternalCodeEditor_WIN32.cxx:301:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
  301 |   _snprintf(dirname, sizeof(dirname), "%s.fluid-%ld",
      |   ^~~~~~~~~
      |   vsnprintf
ExternalCodeEditor_WIN32.cxx: In member function ‘const char* ExternalCodeEditor::tmp_filename()’:
ExternalCodeEditor_WIN32.cxx:345:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
  345 |   _snprintf(path, sizeof(path), "%s\\%p%s", tmpdir, (void*)this, ext);
      |   ^~~~~~~~~
      |   vsnprintf
ExternalCodeEditor_WIN32.cxx: In member function ‘int ExternalCodeEditor::start_editor(const char*, const char*)’:
ExternalCodeEditor_WIN32.cxx:424:3: error: ‘_snprintf’ was not declared in this scope; did you mean ‘vsnprintf’?
  424 |   _snprintf(cmd, sizeof(cmd), "%s %s", editor_cmd, filename);
      |   ^~~~~~~~~
      |   vsnprintf
make[1]: *** [../makeinclude:164: ExternalCodeEditor_WIN32.o] Error 1
make[1]: Leaving directory '/cygdrive/C/Users/HREHMAAN/cygwin-installer/fltk-1.3.8/fluid'
make: *** [Makefile:22: all] Error 1
by (19.2k points)
This looks like a problem with fltk on cygwin. I don't have experience there.

Maybe the fltk and/or cygwin communities can help.
by (220 points)
Thank you sir
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...