Welcome to TalkGraphics.com
Results 1 to 10 of 39

Hybrid View

  1. #1

    Default Re: Compiling XaraLx on MacosX

    No doubt that installing wx-widget is the easier way.
    So master, on wich way shall i go on ?

    The double click application should be a way to make XaraLx as a stand alone application wich could be downloaded by other mac 's users.

    but i'm going to chose the 1st way because you said it was a good idea

    I will try the other way in few days when i will have more time.
    So any advice for the 1st solution ? Or should i just do a make install as root ?

    thank you very much Ben

    ps : I'm going to report the Xara's folk about this heavy executable
    IP

  2. #2

    Default Re: Compiling XaraLx on MacosX

    Quote Originally Posted by Pekele
    No doubt that installing wx-widget is the easier way.
    By default the wxWidgets has the prefix path /usr/local/lib, and this gets embedded into the product which you can confirm with
    Code:
    otool -L /Users/Pekele/wxMac-2.6.3/build-unicode-debug/lib/libwx_macud-2.6.0.dylib
    . This path is then copied into the executable as the place to look for this library. At some point in the future, Xara may decide to link everything statically, in which case this problem will go away, but I think that using dynamically linking is the correct course for the moment (and may be under all circumstances, we shall have to see).

    Clearly, if you put the library in that place then everything is sweet. So go to your wxWidgets directory and issue the command
    Code:
    sudo make install
    . Then return to your Xara directory and issue the command
    Code:
    ./XaraLX
    . It will now run. Use
    Code:
    gdb XaraLX
    if you want to use the debugger.

    You may get some run time errors.

    (Now I am giving these commands from memory, and I haven't checked them today on a Mac, so kindly let us know at once if any errors have crept in, which is quite possible).

    Also note that this technique cannot be used to deliver XaraLX as we cannot expect end users to install libraries in a place of our choosing - and I would be circumspect about expecting developers to do so, as well - but in this case, everyone knows that if you want to hack on XaraLX, you need wxWidgets, and the additional effort in putting libraries into /usr/local is not going to be off-putting, I would venture.

    Good Luck.
    IP

  3. #3

    Default Re: Compiling XaraLx on MacosX

    ok i installed wx-widget. XaraLX is now launching. But the interface is frozen. I can select nothing in the toolbars. I can't move or resize the window

    All this work for nothing
    IP

  4. #4

    Default Re: Compiling XaraLx on MacosX

    You can probably do 'New' and 'Open' from the top toolbar.

    Do you have any menus?

    You have a working Xara LX as good as anyone's I think. Certainly as good as mine.
    IP

  5. #5

    Default Re: Compiling XaraLx on MacosX

    i don't have any menu
    and the new and open icon don't execute

    I compiled the svn version. It took half an hour on my iMAC G5.
    I have the same result as the tarball compilation. It does not work.
    Here the log file :
    http://loupekele.free.fr/vrac/XaraLXlog.txt

    Something is going wrong but i don't know exactly what.

    I don't think it comes from wx-widget as the demos run well.

    any ideas ?
    Last edited by Pekele; 28 March 2006 at 06:55 AM.
    IP

  6. #6

    Default Re: Compiling XaraLx on MacosX

    I posted to this forum a few minutes ago, but it hasn't shown up. Some of my other posts have needed to be sent twice in the past:

    I think that you are seeing the same as everyone else.

    Are you getting no menus at all: No 'XaraLX', no 'Help'?

    Are you sure that the 'New' and 'Open' icons do not work?

    Ben
    IP

  7. #7

    Default Re: Compiling XaraLx on MacosX

    the only menu i have is the menu of the terminal. the terminal where i type ./XaraLX keep in front of the screen always. Even by switching windows with F9. So i only have the menu of the terminal ( file-> new shell ..... ).

    All the icon are no sensitive. They are visible for most of them with no grey color. Here is the screenshot :
    http://loupekele.free.fr/vrac/screenshot1.jpeg
    IP

  8. #8
    Join Date
    Jun 2004
    Location
    North Tawton, UK
    Posts
    1,152

    Default Re: Compiling XaraLx on MacosX

    Pekele,

    Your time has not been wasted - you are very nearly there! (But please don't expect too much from Xara LX at the moment - it's not fully working yet and the interface on Mac OS X is still a bit clunky.)

    You just need to make a "bundle" to put your executable in. Do this on the command line:
    cd to the XaraLX folder
    mkdir -p XaraLX.app/Contents/MacOS
    cp XaraLX XaraLX.app/Contents/MacOS

    Then to run the program:
    open XaraLX.app

    Phil
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •