Hi Charlie,

To overcome it temporarily you could edit one of the locate.sh scripts
(can't remember which one right now) and set in the script the complete path
like /opt/local/bin/msgfmt/

A permanent fix is described below (copied from my own mail from 5 april).

(from a temporary one evening internet connection on holiday)
Harry

Osx has the terrible behavior to use a separate PATH where (bundle)
applications can find their stuff.

In your home directory you will "find" a file in a hidden directory:
~/.MacOSX/environment.plist
 The directory .MacOSX is hidden. The file inside isn't.
This file should contain the following:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">

<dict>
  <key>PATH</key>
  <string>/usr/local/bin:/opt/local/bin:/bin:/sbin:/usr/bin:/usr/sbin</string>
</dict>
</plist>

This will become active after logout/login.
You can find about this at <http://railsbros.blogg.de/eintrag.php?id=4>

2009/7/24 Charlie Reiman <[email protected] <reiman%[email protected]>>

>
> I'm having a go at building the Mac bundle. I've pulled down Ippei's
> SDK bundle and it helps immensely. Right now my big problem is the
> XCode build of the "Stitch Project" can't find "msgfmt". I have msgfmt
> installed as part of Mac Ports and /opt/local/bin is part of my normal
> path. I have no problem running msgfmt from the command line. Any idea
> how to get XCode to see this executable?
>
> I have a minor problem in that the XCode project gives me this warning a
> lot:
>
> Building target “StitchProject” of project “Hugin” with configuration
> “Release” — (39 errors, 1 warning)
>       Checking Dependencies
> Version.xcconfig line 8: Unable to find included file
> "../mac/SVN-rev.xcconfig"
>               Version.xcconfig line 8: Unable to find included file
> "../mac/SVN-rev.xcconfig"
>
> It doesn't seem critical though.
>
> Any suggestions?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to