AutoCAD and Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
James McKenzie

AutoCAD and Wine

Post by James McKenzie »

EF wrote:
Hi
I was able to install AutoCAD 2008 with no patches successfully but I cannot get it to rum :?


Code:
fixme:heap:HeapSetInformation 0x1c30000 0 0x32f99c 4
err:rpc:I_RpcGetBuffer no binding
fixme:advapi:RegisterEventSourceA ((null),"Autodesk SC"): stub
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc368ef
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc368ef


This is not all that you got on the terminal. Please create an issue
and paste in the complete log. This appears to be a different issue
than #421 as this involves the Mac. You might want to look at the issue
and add your log to the existing issue if you are of the opinion that
the issue is the same as your problem
I am running darwine 1.1.8 from http://www.kronenberg.org/darwine/ on OS X Leopard 10.5.5
dotnet 2.0 mshtml3 corefonts gdiplus are installed
I don't think this is all that is needed to run AutoCad.
Xquartz is installed to replace Apple's X11


Which version? If you are not using XQuartz 2.3.1, please install it.
That is what Mike uses for his builds.

Also, is there a downloadable test version of AutoCad 2008 (I doubt it,
but it never hurts to ask.)

James McKenzie

Kazade
Level 1
Level 1
Posts: 8
Joined: Sat Feb 23, 2008 6:11 am

Re: AutoCAD and Wine

Post by Kazade »

James McKenzie wrote:EF wrote:


Also, is there a downloadable test version of AutoCad 2008 (I doubt it,
but it never hurts to ask.)

James McKenzie
I found one here: http://files.brothersoft.com/graphics_d ... 8Trial.exe
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: clean wineprefix

Post by DanKegel »

JMS wrote:Hey again... I did a clean installation and everything is fine for me:

Code: Select all

sh winetricks corefonts allfonts gecko msxml3 dotnet20 gdiplus firefox3 flash
I did pretty much the same thing, and for me, with today's wine from git, it hangs at

fixme:win:RegisterRawInputDevices (pRawInputDevices=0x32f1e0, uiNumDevices=1, cbSize=12) stub!
JMS
Level 2
Level 2
Posts: 12
Joined: Sat Jul 05, 2008 3:10 pm

Post by JMS »

I did pretty much the same thing, and for me, with today's wine from git, it hangs at

fixme:win:RegisterRawInputDevices (pRawInputDevices=0x32f1e0, uiNumDevices=1, cbSize=12) stub!
It should be loading the drawing screen when this pops up. Have you tried with /nohardware?
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

dib engine

Post by ruelle »

http://www.winehq.org/pipermail/wine-de ... 71165.html
does anybody have news about dib engine (or AutoCAD)??
thanks
miciomax
Level 3
Level 3
Posts: 57
Joined: Sat Jun 07, 2008 11:56 am

Re: dib engine

Post by miciomax »

ruelle wrote:http://www.winehq.org/pipermail/wine-de ... 71165.html
does anybody have news about dib engine (or AutoCAD)??
thanks
Well, yes ( :D ) there is a patch of current GIT tree (today 24/01/2009) with an updated testing dib engine on wine-devel mailing list.
Just fetch git tree, patch it with

Code: Select all

patch -p1 < DIBENGINE.patch
rebuild wine and enjoy it.
BEWARE, DIB Engine is disabled by default, you can enable it by environment variable (export WINEDIB=ON) or by registry (HKCU/Software/Wine/DIB Engine/Enable set to 'Y', use regedit to create the key and set the value)
Still much to do, but impressive improvement on truetype font display.
BTW, some almost unnoticeable slow down of other graphics, due to absolutely unoptimized code, and some ugly results on icons (see layer command) due to missing ROP operations in blitting.

Tested ONLY on AutoCAD 2005, NOT 2008; btw it works also with most other apps.

Ciao

Max
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Post by ruelle »

oh good news!!!
and now.. and what about the patch: when will be included in wine tree???
thanks!!
miciomax
Level 3
Level 3
Posts: 57
Joined: Sat Jun 07, 2008 11:56 am

Post by miciomax »

ruelle wrote:oh good news!!!
and now.. and what about the patch: when will be included in wine tree???
thanks!!
No idea, not even IF it'll be included :wink:

Ciao

Max
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Post by ruelle »

I found this
http://www.winehq.org/pipermail/wine-de ... 72689.html

Keep us up to date...
thank you for your fast reply!!
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Script AutoCAD

Post by ruelle »

You can install your AutoCAD version using this scripr for PlayOnLinux:
http://www.playonlinux.com/en/topic-2459.html
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

good news

Post by ruelle »

a good news about autoCAD:
http://forum.winehq.org/viewtopic.php?p=23584

thank you Max!!

when the patch will be accepted in official wine-git?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

AutoCAD and Wine

Post by austin987 »

On Fri, May 1, 2009 at 10:14 AM, ruelle <[email protected]> wrote:
a good news about autoCAD:
http://forum.winehq.org/viewtopic.php?p=23584

thank you Max!!

when the patch will be accepted in official wine-git?
The DIB engine? Or the richedit patch?

DIB engine, who knows. That's been a bug for years, and very hard to
fix properly.

The richedit bug is fixed in git.

--
-Austin
miciomax
Level 3
Level 3
Posts: 57
Joined: Sat Jun 07, 2008 11:56 am

Re: good news

Post by miciomax »

ruelle wrote:a good news about autoCAD:
http://forum.winehq.org/viewtopic.php?p=23584

thank you Max!!

when the patch will be accepted in official wine-git?
Hi ruelle,

As Austin said, MText crash (point 1 of post you linked) is fixed in git.

Point 2, aka the DIB engine, won't very probably never be accepted on wine (at least, my solution), so the only way by now is to patch wine.
I'm thinking to upload somewhere the gdi32.dll.so and winedib.drv.dll.so
precompiled files for people who want to test without rebuild wine....

Point 3, if you need it, hasn't be accepted too.... some time ago.
I've no time nor fun to make it "acceptable" by now, so if you've also problems with printer format (which is most probably if you use Autocad not just to draw your kitchen furniture.....), just grab the patch on bug page and apply it :-)

I'm also thinking on making a debian pre-built patched wine package, for AutoCAD users.... if I've time to do it, I'll post news here.

Ciao

Max
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

AutoCAD and Wine

Post by austin987 »

On Fri, May 1, 2009 at 11:22 AM, miciomax <[email protected]> wrote:
ruelle wrote:
a good news about autoCAD:
http://forum.winehq.org/viewtopic.php?p=23584

thank you Max!!

when the patch will be accepted in official wine-git?
Point 2, aka the DIB engine, won't very probably never be accepted on wine (at least, my solution), so the only way by now is to patch wine.
I'm thinking to upload somewhere the gdi32.dll.so and winedib.drv.dll.so
precompiled files for people who want to test without rebuild wine....
That's pretty hacky, and can break across different
distributions/versions of libc/etc.
I'm also thinking on making a debian pre-built patched wine package, for AutoCAD users.... if I've time to do it, I'll post news here.
To be honest, I think making a Autocad version of wine would be great.

Make a repository, keep it up to date with regular wine + DIB engine +
a few hacks for autocad.

Just be sure to make it clear it's not 'vanilla' wine, so bugs
shouldn't be filed against it without first verifying them in vanilla
wine.

Scott can probably help you with this. If not, let me know.

--
-Austin
miciomax
Level 3
Level 3
Posts: 57
Joined: Sat Jun 07, 2008 11:56 am

Re: AutoCAD and Wine

Post by miciomax »

austin987 wrote:On Fri, May 1, 2009 at 11:22 AM, miciomax <[email protected]> wrote:
ruelle wrote:
a good news about autoCAD:
http://forum.winehq.org/viewtopic.php?p=23584

thank you Max!!

when the patch will be accepted in official wine-git?
Point 2, aka the DIB engine, won't very probably never be accepted on wine (at least, my solution), so the only way by now is to patch wine.
I'm thinking to upload somewhere the gdi32.dll.so and winedib.drv.dll.so
precompiled files for people who want to test without rebuild wine....
That's pretty hacky, and can break across different
distributions/versions of libc/etc.
I'm afraid that you're right.... well, OTOH Ubuntu/debian now is the most widespread distro, and another build should be for Mac Osx.
I'm also thinking on making a debian pre-built patched wine package, for AutoCAD users.... if I've time to do it, I'll post news here.
To be honest, I think making a Autocad version of wine would be great.

Make a repository, keep it up to date with regular wine + DIB engine +
a few hacks for autocad.

Just be sure to make it clear it's not 'vanilla' wine, so bugs
shouldn't be filed against it without first verifying them in vanilla
wine.

Scott can probably help you with this. If not, let me know.

--
-Austin
Thanx, I'm thinking too that it could help for many people to migrato to linux or to use autocad on Mac OSx... many people is asking for it.
I'll give it a try when my dib engine will have the last quirks solved... I think it'll be a question of a couple of months maximum.

Ciao and thanx for feedbak

Max
James McKenzie

AutoCAD and Wine

Post by James McKenzie »

miciomax wrote:
austin987 wrote:
On Fri, May 1, 2009 at 11:22 AM, miciomax <[email protected]> wrote:

ruelle wrote:

Point 2, aka the DIB engine, won't very probably never be accepted on wine (at least, my solution), so the only way by now is to patch wine.
I'm thinking to upload somewhere the gdi32.dll.so and winedib.drv.dll.so
precompiled files for people who want to test without rebuild wine....

That's pretty hacky, and can break across different
distributions/versions of libc/etc.


I'm afraid that you're right.... well, OTOH Ubuntu/debian now is the most widespread distro, and another build should be for Mac Osx.


I'm also thinking on making a debian pre-built patched wine package, for AutoCAD users.... if I've time to do it, I'll post news here.

To be honest, I think making a Autocad version of wine would be great.

Make a repository, keep it up to date with regular wine + DIB engine +
a few hacks for autocad.

Just be sure to make it clear it's not 'vanilla' wine, so bugs
shouldn't be filed against it without first verifying them in vanilla
wine.

Scott can probably help you with this. If not, let me know.

--
-Austin
Thanx, I'm thinking too that it could help for many people to migrato to linux or to use autocad on Mac OSx...
:) Thank you for all of your work on the DIB engine. You are doing
well with some of the fixes. It will be hard to clean them up so that
they can be incorporated into Wine.

James McKenzie
Kibitka
Newbie
Newbie
Posts: 1
Joined: Fri May 15, 2009 3:26 pm

Wine mod for autocad

Post by Kibitka »

Hey guys don't give up!
There's a lot of people out here waiting for that magical "autocad version of wine" ...

And a lot of people ready to jump on linux-ubuntu the very moment I will be able to show them autocad running outside windows.
miciomax
Level 3
Level 3
Posts: 57
Joined: Sat Jun 07, 2008 11:56 am

Re: Wine mod for autocad

Post by miciomax »

Kibitka wrote:Hey guys don't give up!
There's a lot of people out here waiting for that magical "autocad version of wine" ...

And a lot of people ready to jump on linux-ubuntu the very moment I will be able to show them autocad running outside windows.
Eh, I did the jump 2 years ago, and I'm very happy about :-)
It costed me some effort, indeed, to adapt wine to Autocad real work....

Max
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Post by ruelle »

Where is the survey for a linux version of AutoCAD?

http://myfeedback.autodesk.com/surveyne ... ID=l21M672

or Autodesk can officially/unofficially improve a Wine version for AutoCAD..
what do you think??
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Post by ruelle »

http://www.winehq.org/pipermail/wine-pa ... 74701.html
and AutoCAD 2009 require .net 3.0..
any news about this??
NSLW
Level 2
Level 2
Posts: 11
Joined: Fri Feb 20, 2009 9:17 am

Post by NSLW »

ruelle wrote:http://www.winehq.org/pipermail/wine-pa ... 74701.html
and AutoCAD 2009 require .net 3.0..
any news about this??
Yeah AutoCAD 2009 installs but is unusable because of bug #18640 You may want to vote for it.
Dotan Cohen

AutoCAD and Wine

Post by Dotan Cohen »

http://www.winehq.org/pipermail/wine-pa ... 74701.html
and AutoCAD 2009 require .net 3.0..
any news about this??
Yeah AutoCAD 2009 installs but is unusable because of
 bug #18640 (http://bugs.winehq.org/show_bug.cgi?id=18640) You
may want to vote for it.
You might also want to contact Autodesk and let them know that there
is interest in runnng AutoCAD in Wine on Linux:
http://usa.autodesk.com/adsk/servlet/in ... id=1073074

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Post by ruelle »

This is a survey for insert whatever app in the repository of Ubuntu

Please let them know that we need autocad!!

more info here:
http://ubuntuforums.org/showthread.php?t=1381221

the survey:
http://www.surveymonkey.com/s/GFVQP62
Locked