Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report for Dev release #4

Closed
GoogleCodeExporter opened this issue Jun 11, 2015 · 3 comments
Closed

Report for Dev release #4

GoogleCodeExporter opened this issue Jun 11, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

In OpenSuse 12.3, I tried to run this dev series while I got following error 
which may help you to fix the development issues.
Best,
Abhijit

make
cd lib; g++  -O3 -I/usr/X11R6/include  -DGLVIS_USE_LIBPNG -DGLVIS_USE_FREETYPE 
-I/usr/X11R6/include/freetype2 -I/usr/include/freetype2 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem -c aux_gl.cpp
cd lib; g++  -O3 -I/usr/X11R6/include  -DGLVIS_USE_LIBPNG -DGLVIS_USE_FREETYPE 
-I/usr/X11R6/include/freetype2 -I/usr/include/freetype2 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem -c aux_vis.cpp
cd lib; gcc  -O3 -I/usr/X11R6/include -I../../mfem -c gl2ps.c
cd lib; g++  -O3 -I/usr/X11R6/include  -DGLVIS_USE_LIBPNG -DGLVIS_USE_FREETYPE 
-I/usr/X11R6/include/freetype2 -I/usr/include/freetype2 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem -c material.cpp
cd lib; g++  -O3 -I/usr/X11R6/include  -DGLVIS_USE_LIBPNG -DGLVIS_USE_FREETYPE 
-I/usr/X11R6/include/freetype2 -I/usr/include/freetype2 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem -c openglvis.cpp
cd lib; g++  -O3 -I/usr/X11R6/include  -DGLVIS_USE_LIBPNG -DGLVIS_USE_FREETYPE 
-I/usr/X11R6/include/freetype2 -I/usr/include/freetype2 -DGLVIS_MULTISAMPLE=4 
-DGLVIS_MS_LINEWIDTH=1.4 -I../../mfem -c threads.cpp
threads.cpp: In static member function ‘static void* 
communication_thread::execute(void*)’:
threads.cpp:560:73: error: invalid user-defined conversion from 
‘std::basic_istream<char>’ to ‘int’ [-fpermissive]
In file included from /usr/include/c++/4.7/ios:45:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from ../../mfem/fem/../general/array.hpp:15,
                 from ../../mfem/fem/fem.hpp:15,
                 from ../../mfem/mfem.hpp:13,
                 from vsdata.hpp:16,
                 from visual.hpp:20,
                 from threads.cpp:16:
/usr/include/c++/4.7/bits/basic_ios.h:113:7: note: candidate is: 
std::basic_ios<_CharT, _Traits>::operator void*() const [with _CharT = char; 
_Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.7/bits/basic_ios.h:113:7: note:   no known conversion for 
implicit ‘this’ parameter from ‘void*’ to ‘int’
threads.cpp:580:72: error: invalid user-defined conversion from ‘std::istream 
{aka std::basic_istream<char>}’ to ‘int’ [-fpermissive]
In file included from /usr/include/c++/4.7/ios:45:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from ../../mfem/fem/../general/array.hpp:15,
                 from ../../mfem/fem/fem.hpp:15,
                 from ../../mfem/mfem.hpp:13,
                 from vsdata.hpp:16,
                 from visual.hpp:20,
                 from threads.cpp:16:
/usr/include/c++/4.7/bits/basic_ios.h:113:7: note: candidate is: 
std::basic_ios<_CharT, _Traits>::operator void*() const [with _CharT = char; 
_Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.7/bits/basic_ios.h:113:7: note:   no known conversion for 
implicit ‘this’ parameter from ‘void*’ to ‘int’
make: *** [lib/threads.o] Error 1

Original issue reported on code.google.com by sonali.r...@gmail.com on 24 Jul 2013 at 4:22

@GoogleCodeExporter
Copy link
Author

Make sure that you are compiling the glvis development version 
(glvis-d15634d151.tgz)
using the mfem development version (mfem-68e941f8fe.tgz). I get errors similar 
to
what you posted when I try to compile the glvis development version
(glvis-d15634d151.tgz) with version 2.0 of mfem (mfem-2.0.tgz).

Original comment by veselin@gmail.com on 24 Jul 2013 at 6:59

@GoogleCodeExporter
Copy link
Author

You are right! I compiled glvis-dev with mfem-2.0. Thanks for your important 
point.

Original comment by abhih...@gmail.com on 25 Jul 2013 at 11:45

@GoogleCodeExporter
Copy link
Author

Original comment by tzanio on 31 Jul 2013 at 1:17

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants