I have compiled lx-viewer
Here is the output of compiling.
I run it and work ok. But with some files there is an error "Error Opening File. Error Number Out of Range". What Version of DWG crated with CAD applications can lx-viewer open?
The versions of DWG that can be opened are described in the first paragraph of the website which is linked on the sourceforge "homepage" tab and leads to: http://lx-viewer.sourceforge.net/
Specifically the text you want says
"Files can be saved to DWG or DXF formats from AutoCAD version 2.5 to 2002, also as BMP, SVG and PNG formats."
Note that types of file that can be opened are, as far as I'm aware, dictated by the OpenDWG libs. The versions used in lx-viewer are no longer developed, hence why there's been (almost) no activity for 2 years.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have compiled lx-viewer
Here is the output of compiling.
I run it and work ok. But with some files there is an error "Error Opening File. Error Number Out of Range". What Version of DWG crated with CAD applications can lx-viewer open?
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
qmake lxv.pro
linuxsolutions:/home/reiser/Desktop/lx-viewer/lx_viewer# make
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/3Dview.o 3Dview.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/colorfunctions.o colorfunctions.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/commandproc.o commandproc.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/drawingboard.o drawingboard.cpp
drawingboard.cpp:461: warning: unused parameter ‘o’
drawingboard.cpp:1305: warning: unused parameter ‘p1’
drawingboard.cpp:1305: warning: unused parameter ‘p2’
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/drawingenvironment.o drawingenvironment.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/errorhandlers.o errorhandlers.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/fileio.o fileio.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/helpabout.o helpabout.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/infomessage.o infomessage.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/layermanager.o layermanager.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/main.o main.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/OD_interface.o OD_interface.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/plotter.o plotter.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/report.o report.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/serialport.o serialport.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/splashapp.o splashapp.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/svgexport.o svgexport.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/utilities.o utilities.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/vectorize.o vectorize.cpp
/usr/share/qt3/bin/moc 3Dview.h -o moc_files/moc_3Dview.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_3Dview.o moc_files/moc_3Dview.cpp
/usr/share/qt3/bin/moc colorfunctions.h -o moc_files/moc_colorfunctions.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_colorfunctions.o moc_files/moc_colorfunctions.cpp
/usr/share/qt3/bin/moc commandproc.h -o moc_files/moc_commandproc.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_commandproc.o moc_files/moc_commandproc.cpp
/usr/share/qt3/bin/moc drawingboard.h -o moc_files/moc_drawingboard.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_drawingboard.o moc_files/moc_drawingboard.cpp/usr/share/qt3/bin/moc drawingenvironment.h -o moc_files/moc_drawingenvironment.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_drawingenvironment.o moc_files/moc_drawingenvironment.cpp
/usr/share/qt3/bin/moc fileio.h -o moc_files/moc_fileio.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_fileio.o moc_files/moc_fileio.cpp
/usr/share/qt3/bin/moc helpabout.h -o moc_files/moc_helpabout.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_helpabout.o moc_files/moc_helpabout.cpp
/usr/share/qt3/bin/moc layermanager.h -o moc_files/moc_layermanager.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_layermanager.o moc_files/moc_layermanager.cpp/usr/share/qt3/bin/moc plotter.h -o moc_files/moc_plotter.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_plotter.o moc_files/moc_plotter.cpp
/usr/share/qt3/bin/moc report.h -o moc_files/moc_report.cpp
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -Imoc_files/ -o object_files/moc_report.o moc_files/moc_report.cpp
test -d /usr/local/lx-viewer/ || mkdir -p /usr/local/lx-viewer/
g++ -o /usr/local/lx-viewer/lxv object_files/3Dview.o object_files/colorfunctions.o object_files/commandproc.o object_files/drawingboard.o object_files/drawingenvironment.o object_files/errorhandlers.o object_files/fileio.o object_files/helpabout.o object_files/infomessage.o object_files/layermanager.o object_files/main.o object_files/OD_interface.o object_files/plotter.o object_files/report.o object_files/serialport.o object_files/splashapp.o object_files/svgexport.o object_files/utilities.o object_files/vectorize.o OpenDWG/ad2.a OpenDWG/ad3.a object_files/moc_3Dview.o object_files/moc_colorfunctions.o object_files/moc_commandproc.o object_files/moc_drawingboard.o object_files/moc_drawingenvironment.o object_files/moc_fileio.o object_files/moc_helpabout.o object_files/moc_layermanager.o object_files/moc_plotter.o object_files/moc_report.o -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
linuxsolutions:/home/reiser/Desktop/lx-viewer/lx_viewer# make install
cp -f "docs/en/index-1.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-10.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-11.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-12.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-13.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-2.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-3.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-4.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-5.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-6.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-7.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-8.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index-9.html" "/usr/local/lx-viewer/docs/"
cp -f "docs/en/index.html" "/usr/local/lx-viewer/docs/"
cp -f "OpenDWG/adinit.dat" "/usr/local/lx-viewer/opendwg/"
cp ./graphics/*.* /usr/local/lx-viewer/graphics/
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
The versions of DWG that can be opened are described in the first paragraph of the website which is linked on the sourceforge "homepage" tab and leads to:
http://lx-viewer.sourceforge.net/
Specifically the text you want says
"Files can be saved to DWG or DXF formats from AutoCAD version 2.5 to 2002, also as BMP, SVG and PNG formats."
Note that types of file that can be opened are, as far as I'm aware, dictated by the OpenDWG libs. The versions used in lx-viewer are no longer developed, hence why there's been (almost) no activity for 2 years.