Has anybody tried compiling under XCode 4?
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Has anybody tried compiling under XCode 4?
I'm getting errors since I upgraded to XCode. Apparently vorbis.h cannot be found. I don't *think* I've changed anything else that would affect the developer tools.
Re: Has anybody tried compiling under XCode 4?
Are you using macports or did you build ogg vorbis yourself?
Copy paste your .profile file and the commands you use to compile exult.
Exult builds fine for me with xcode4, the current snapshot has been built by a mixture of Xcode 3.2.x and 4 (mixture because some stuff xcode 3.26 stuff is needed for making a threeway universal binary).
Copy paste your .profile file and the commands you use to compile exult.
Exult builds fine for me with xcode4, the current snapshot has been built by a mixture of Xcode 3.2.x and 4 (mixture because some stuff xcode 3.26 stuff is needed for making a threeway universal binary).
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Has anybody tried compiling under XCode 4?
I'm using MacPorts for ogg.
I manually set
export CFLAGS=-I/opt/local/include
export CXXFLAGS=$CFLAGS
Before compiling and follow the instructions in the readme to compile. I don't try to link to static libraries.
Here's my .profile:
#Define aliases
alias ls='ls -G'
alias ll='ls -lG'
alias la='ls -lGa'
# 'pman' bit - this will create a PDF file of a UNIX man page.
pman()
{
man -t "${1}" | open -f -a /Applications/Preview.app/
}
# MacPorts Installer addition on 2010-02-15_at_19:47:34: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
The weird thing was I compiled right before updating to XCode 4 and it was fine. Afterwards, no such luck.
I manually set
export CFLAGS=-I/opt/local/include
export CXXFLAGS=$CFLAGS
Before compiling and follow the instructions in the readme to compile. I don't try to link to static libraries.
Here's my .profile:
#Define aliases
alias ls='ls -G'
alias ll='ls -lG'
alias la='ls -lGa'
# 'pman' bit - this will create a PDF file of a UNIX man page.
pman()
{
man -t "${1}" | open -f -a /Applications/Preview.app/
}
# MacPorts Installer addition on 2010-02-15_at_19:47:34: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
The weird thing was I compiled right before updating to XCode 4 and it was fine. Afterwards, no such luck.
Re: Has anybody tried compiling under XCode 4?
I'm setting these, maybe one of those is really needed:
export CFLAGS=-I/opt/local/include
export LDFLAGS=-L/opt/local/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /opt/local/share/aclocal"
export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
export CFLAGS=-I/opt/local/include
export LDFLAGS=-L/opt/local/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /opt/local/share/aclocal"
export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Re: Has anybody tried compiling under XCode 4?
That seems to have worked! Thanks.
Did anything change between XCode version (or SVN revisions) that could have caused it to stop compiling? Previously I never had to se CPPFLAGS, ACLOCAL_FLAGS, or PKG_CONFIG_PATH.
Did anything change between XCode version (or SVN revisions) that could have caused it to stop compiling? Previously I never had to se CPPFLAGS, ACLOCAL_FLAGS, or PKG_CONFIG_PATH.
Re: Has anybody tried compiling under XCode 4?
I think I had problems before, but never bothered finding out which line fixed it.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!