MacOSX Binaries

View: New views
7 Messages — Rating Filter:   Alert me  

MacOSX Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Although I haven't drawn attention to it until now, there is a MacOSX
binary available for K-3D 0.7.6.0, and I am building 0.7.7.0 now.  This
is a fairly significant milestone for us - our first release of OSX
binaries.  There are plenty of problems:

* Might only work on PPC machines.  I've tried it on a 64-bit
Intel-based Mac and it failed at startup with X errors, not sure if it's
a 64-bit issue or a PPC-on-Intel issue.  We need an Intel Mac build
machine regardless.
* Doesn't work with Leopard.  There is a startup script that is run to
automatically start X11, but Apple changed the logic for starting X11
with Leopard.

If there are any Mac aficionados out there, now would be the time to
pitch-in and lend a hand.

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by appleGuy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tim,

I'm trying to compile from the latest svn. I have installed all of the required libraries (through macports) specified on the docs.

I have come into some compile problems:

The following warning appears when generating in cmake:

//******************************************************************************************
Make Warning (dev) at k3dsdk/CMakeLists.txt:49 (ADD_LIBRARY):
   Policy CMP0003 should be set before this line.  Add code such as

     if(COMMAND cmake_policy)
       cmake_policy(SET CMP0003 NEW)
     endif(COMMAND cmake_policy)

   as early as possible but after the most recent call to
   cmake_minimum_required or cmake_policy(VERSION).  This warning appears
   because target "k3dsdk" links to some libraries for which the linker must
   search:

     glibmm-2.4, gobject-2.0, sigc-2.0, glib-2.0, intl, iconv, sigc-2.0
     glib-2.0, intl, iconv, expat, z, uuid

   and other libraries with known full path:

     /Users/alexcurtis/k3d/k3dDevel-build/lib/libk3dsdk-glew.dylib
     /usr/X11R6/lib/libGL.dylib

   CMake is adding directories in the second list to the linker search path in
   case they are needed to find libraries from the first list (for backwards
   compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
   or disable this behavior explicitly.  Run "cmake --help-policy CMP0003" for
   more information.
 This warning is for project developers.  Use -Wno-dev to suppress it.
//******************************************************************************************

Then, when I try to compile I get the following linker problem:

Linking CXX shared library ../lib/libk3dsdk.dylib
ld: warning, duplicate dylib /opt/local/lib/libiconv.2.dylib
ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
collect2: ld returned 1 exit status
make[2]: *** [lib/libk3dsdk.dylib] Error 1

Cheers,
-Alex


On Fri, Aug 1, 2008 at 4:32 AM, Timothy M. Shead <tshead@...> wrote:
Although I haven't drawn attention to it until now, there is a MacOSX
binary available for K-3D 0.7.6.0, and I am building 0.7.7.0 now.  This
is a fairly significant milestone for us - our first release of OSX
binaries.  There are plenty of problems:

* Might only work on PPC machines.  I've tried it on a 64-bit
Intel-based Mac and it failed at startup with X errors, not sure if it's
a 64-bit issue or a PPC-on-Intel issue.  We need an Intel Mac build
machine regardless.
* Doesn't work with Leopard.  There is a startup script that is run to
automatically start X11, but Apple changed the logic for starting X11
with Leopard.

If there are any Mac aficionados out there, now would be the time to
pitch-in and lend a hand.

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Curtis wrote:
> I have come into some compile problems:
>
> The following warning appears when generating in cmake:
>
This is harmless, you can ignore it.
> Then, when I try to compile I get the following linker problem:
>
> Linking CXX shared library ../lib/libk3dsdk.dylib
> ld: warning, duplicate dylib /opt/local/lib/libiconv.2.dylib
> ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libk3dsdk.dylib] Error 1

That's a new one on me ... I'll see if I can figure-out what the error
means, on a low-priority thread.

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by appleGuy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tim,

I installed the OS X binary yesterday.

A simple fix for your "not working on leopard at all" problem is simply to execute the following command in the terminal: xterm -e "open /path/to/k3d.app". Since xterm is a X11 app. X11 launches correctly and k3d starts.

As a quick and dirty fix we could include that in a executable shell script.

Cheers
-Alex

On Fri, Aug 8, 2008 at 5:40 AM, Timothy M. Shead <tshead@...> wrote:
Alex Curtis wrote:
> I have come into some compile problems:
>
> The following warning appears when generating in cmake:
>
This is harmless, you can ignore it.
> Then, when I try to compile I get the following linker problem:
>
> Linking CXX shared library ../lib/libk3dsdk.dylib
> ld: warning, duplicate dylib /opt/local/lib/libiconv.2.dylib
> ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libk3dsdk.dylib] Error 1

That's a new one on me ... I'll see if I can figure-out what the error
means, on a low-priority thread.

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I installed the OS X binary yesterday.
>
> A simple fix for your "not working on leopard at all" problem is simply to
> execute the following command in the terminal: xterm -e "open
> /path/to/k3d.app". Since xterm is a X11 app. X11 launches correctly and
> k3d
> starts.
>
> As a quick and dirty fix we could include that in a executable shell
> script.

Actually, I think we can go simpler than this - you might want to take a
look at our current startup script:

k3d/distribution/osx/bundle/k3d-startup

Basically, all we need to do is detect whether we're running on Leopard
and if so, skip the code that tries to start X11.  Could you take a look
at how to detect the OS version from bash?  Probably some uname-foo would
do the trick ...

Cheers,
Tim


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by appleGuy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tim,

I have found the correct mechanism for getting the OS X Version Number. I have added it to the K3D Start-Up script mentioned below. However I'm not sure where the X11 Startup bit ends and because I can't compile it, I can't test it either. So I have put the code that I think is related to X11 startup in the if statement. I'll leave it to you to alter to get the right bit in the checker

Cheers
-Alex

On Fri, Aug 8, 2008 at 7:55 PM, Timothy M. Shead <tshead@...> wrote:
> I installed the OS X binary yesterday.
>
> A simple fix for your "not working on leopard at all" problem is simply to
> execute the following command in the terminal: xterm -e "open
> /path/to/k3d.app". Since xterm is a X11 app. X11 launches correctly and
> k3d
> starts.
>
> As a quick and dirty fix we could include that in a executable shell
> script.

Actually, I think we can go simpler than this - you might want to take a
look at our current startup script:

k3d/distribution/osx/bundle/k3d-startup

Basically, all we need to do is detect whether we're running on Leopard
and if so, skip the code that tries to start X11.  Could you take a look
at how to detect the OS version from bash?  Probably some uname-foo would
do the trick ...

Cheers,
Tim


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: MacOSX Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Curtis wrote:
> Tim,
>
> I have found the correct mechanism for getting the OS X Version
> Number. I have added it to the K3D Start-Up script mentioned below.
> However I'm not sure where the X11 Startup bit ends and because I
> can't compile it, I can't test it either. So I have put the code that
> I think is related to X11 startup in the if statement. I'll leave it
> to you to alter to get the right bit in the checker
Cool!  I'll confirm that it works on OSes prior to Leopard ...

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development
LightInTheBox - Buy quality products at wholesale price!