How to read DWG files?

Asked by Uqbar

I'd like to view/print DWG files (http://en.wikipedia.org/wiki/.dwg).
Pythoncad proved to be useless for this purpose.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Uqbar
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You could use irfanview in wine (maybe)

or natively:
http://lx-viewer.sourceforge.net/

Revision history for this message
Uqbar (uqbar) said :
#2

I am interested into Ubuntu based solutions. lx-viewer requires hand compilation for opendwg library as well as lx-viewer itself.
I'll try to see whether irfanview with its plugin wil work in Wine. Any experience with it?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3
Revision history for this message
Uqbar (uqbar) said :
#4

Thanks actionparsnip, that solved my question.

Revision history for this message
Uqbar (uqbar) said :
#5

 ./iview427_setup.exe
err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\home\\auser\\Desktop\\Files\\iview427_setup.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\auser\\Desktop\\Files\\iview427_setup.exe" failed, status c0000135

Not working without that DLL!

Revision history for this message
Uqbar (uqbar) said :
#6

The vry same problem is also here (unanswered):
https://answers.launchpad.net/ubuntu/+question/19965

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

find the dll online and put it in the folder ~/.wine/drive_c/windows

you can use http://www.dll-files.com

They are free and clean

Revision history for this message
Uqbar (uqbar) said :
#8

Done. Nothing happens.
From command line I just do:

 ./iview427_setup.exe

something seems to be loaded from the disk then nothing more.

Revision history for this message
Uqbar (uqbar) said :
#9

My system is 64 bits, maybe this matters.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

It won't as wine handles all that stuff.

Revision history for this message
marcus aurelius (adbiz) said :
#11

If you have windows installed, you can copy the file over from the windows\system32 directory. If not, you have to download the .exe file from support.microsoft.com. It's quite a tedious process, as you have to run it to unbundle a slew of other files. It probably won't run under Wine anyways. So, the next step is to get the file from a friend who has windoze.

I tried Irfanview under Wine. I wasn't impressed with it at all. It runs better on Windows.

Revision history for this message
Uqbar (uqbar) said :
#12

There's no way. You need Windows and its stupid tools.