Subject:
|
Re: LDView 3.1 on Mac OS X!
|
Newsgroups:
|
lugnet.cad.dev.mac
|
Date:
|
Mon, 19 Feb 2007 16:14:00 GMT
|
Viewed:
|
12274 times
|
| |
| |
In lugnet.cad.dev.mac, Travis Cobbs wrote:
|
Thanks for doing that, Jim. Just as a note, the latest development code
compiles and runs on Mac OS X without modification, and LDView 3.2 will have
an official Mac Universal Binary version (although it might labeled as Beta).
|
Wow! Thats great news. Indeed, I wasnt aware that an up-to-date Mac version
was in the works.
|
(Getting the Universal Binary part to work for the QT and Boost libraries
took some work.) The development code has some menu cleanup (including
standard Open Recent sub-menu in the File menu and removal of the (empty)
Edit menu). In order to make it as easy as possible for end-users, the
official version will statically link against both Boost and QT. That means
that the binary will be relatively large (13MB uncompressed), but it also
means that it will run on any Mac with OS X 10.4 without any other
dependencies.
|
Making it universal with no dependencies is great - that will make it easily
accessible to a lot more people than if prerequisites like Boost had to be
installed as well. I appreciate the work youre putting into this.
|
I hadnt made any official announcements about it before now because I dont
really have any estimate on what the release date will be. If youre
interested in the latest dev code, just follow the instructions here to get
it via anonymous cvs:
http://ldview.sourceforge.net/Downloads.html#SourceCode
If you have Boost and QT compiled, you should be able to compile the code
without any modifications.
|
Boy, I should have just tried the development code from the start! However, I
tried it out this morning and I do encounter a problem when running makeall.
It boils down to this:
TCLocalStrings.cpp: In member function 'void TCLocalStrings::mbstowstring(std::wstring&, const char*, int)':
TCLocalStrings.cpp:1180: error: invalid cast from type 'QChar' to type 'wchar_t'
lipo: can't figure out the architecture type of: /var/tmp//cc960xuw.out
|
|
Looks like a string conversion issue, but Im not sure if the architecture
reference implies something else. Im not familiar with the QT APIs or many C++
classes, so I havent really tried to figure it out.
|
It appears that we compiled with different versions of QT; Jims border
around the graphics area is different, as is the toolbar area. I didnt
mention it in my previous post, but my compile is with QT 3.3.7. Jim, are you
using QT 3.3 or QT 4.x? If youre using 4.x, there might be some problems.
(Peter found some QT 4 bugs when building with QT 4 in Linux.) Peter tracked
down a version of QT 3.3 for Mac that was back-ported from QT 4 GPL for Mac.
|
Yes, I built my version with QT 4.2.2, which was simply the current version
being distributed by Trolltech. What problems, specifically, should I be looking for with QT 4? Ive
found ftp//ftp.trolltech.com/qt/source/qt-mac-free-3.3.7.tar.gz, but unlike QT
4, its not building successfully on the first try. Nevertheless, could the
casting error noted above be related to which version of QT Im using? At any
rate, the border does look nicer - more compact - in the screenshot you posted.
Anyway, as for my LDView 3.1 first impressions:
- Cutaway mode is cool.
- POV-Ray camera info export is going to be really handy.
- Automatic download of missing parts is also cool and very handy. I tested it with the example 8464.mpd model, and I was particularly pleased to find that Bricksmith can access the Unofficial parts too.
- The variety of display options are fun.
- Snapshots are nice.
On the down side,
- The clunkier border and toolbar area you noticed with my QT version remain visible in full screen mode. (The strip between the toolbar and display is really part of the display border, as it remains visible when the toolbar is hidden.)
- I cant seem to invoke Fly Through mode - the menu item becomes checked appropriately, but the status bar continues to read Examine and none of the fly through controls seem to be active. (In other words, except for the menu indicator, it remains in Examine mode.)
- Very minor - modifier key/mouse controls noted in help text are somewhat different on Mac OS X. Command instead of control, etc.
Its exciting to have a new tool in the Mac LDraw arsenal. Please let me know of
any way I can help bring 3.2 to fruition, from testing to simply sharing more
specific information about the problems Ive noted. Also, given the presumed
Boost/QT dependency of the version Ive built, and the fact that you are
incorporating more Mac OS X support in the next official release, Im thinking
it might not be worthwhile to post the version I compiled (as users will still
have to install Boost/QT - something I hadnt thought of last night). What do
you think?
Jim
|
|
Message has 2 Replies: | | Re: LDView 3.1 on Mac OS X!
|
| (...) I have to wonder what QChar is defined as in QT4. In QT3, it's just an integer type, as far as I can tell. The wchar_t type is just an integer type (4-byte integer in Linux, 2-byte integer in Windows, not sure about OSX). I suspect this error (...) (18 years ago, 20-Feb-07, to lugnet.cad.dev.mac, FTX)
| | | Re: LDView 3.1 on Mac OS X!
|
| (...) Yeah, they have been working on it for some time, almost 3 years. I'm very eager to get rid of the old version on my website! I don't believe it works with 10.4. I'm very glad to see more Mac LDraw apps! James (18 years ago, 21-Feb-07, to lugnet.cad.dev.mac)
|
Message is in Reply To:
| | Re: LDView 3.1 on Mac OS X!
|
| Thanks for doing that, Jim. Just as a note, the latest development code compiles and runs on Mac OS X without modification, and LDView 3.2 will have an official Mac Universal Binary version (although it might labeled as Beta). (Getting the Universal (...) (18 years ago, 19-Feb-07, to lugnet.cad.dev.mac, FTX)
|
39 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|