Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » 701-dev1 / 2007.1beta on Mac OSX
701-dev1 / 2007.1beta on Mac OSX [message #7770] Sun, 21 January 2007 19:03 Go to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
I have been trying for a bit to get Upp up and running on OS X 10.4.8. I have noticed a few reports of people 'just compiling and running,' and I am curious if they have additional libraries installed.

My setup:
MacBook Pro: 2.16Ghz Core 2 Duo, 2Gb Ram, OS X 10.4.8
XCode / MacOSX10.4u SDK / X11 Extension (from DVD).
Self compiled
- Expat2.0.0,
- FreeType2.3.0,
- FontConfig2.4.2
all compiled cleanly and installed to /usr/lib

I have downloaded the 701-dev1 and 2007.1beta versions of UPP. I am using the Makefile located in the 'uppsrc/ide' directory in both cases. I can not get the 612-dev3 binary version of upp for Mac OSX to run... so all edits are done using vim.

The primary changes to the Makefile:
Set include paths to find fontconfig / freetype.
Adjust the link command (remove the --start-group / --end-group tags).
Added a couple libraries to the link list. (I think they were freetype/fontconfig/Xft/expat/Xrender)

I am down to one error:
/usr/bin/ld: Undefined symbols:
vtable for Upp::BMPEncoder

I have tried adding a destructor... no help.

Does anyone have any thoughts? How about the people who have it running on OSX, what did you have to do?

Robert
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7771 is a reply to message #7770] Sun, 21 January 2007 20:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The simple and fast way now, thanks to Lundman, is to fetch .dmg files with working TheIDE and compile the new version with it.

http://www.ultimatepp.org/forum/index.php?t=msg&th=1794& amp;prevloaded=1&&start=40

[Updated on: Sun, 21 January 2007 20:11]

Report message to a moderator

Re: 701-dev1 / 2007.1beta on Mac OSX [message #7772 is a reply to message #7771] Sun, 21 January 2007 20:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
...in the process, starting TheIDE will reveal missing libraries...
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7777 is a reply to message #7772] Mon, 22 January 2007 01:06 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
I re-downloaded the dmg mentioned in the post you reference. After a bit of tinkering theide opened. However, it seems no matter where I stick the upp folder it was not finding it. (I tried: my home directory, the root directory, right beside the ide.app folder, and a hand full of other misc spots).

Where should I place the upp folder?

I can not really do more on it right now as I am reinstalling OS X. However, once it is back up and running I will start working on it more.

Robert
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7778 is a reply to message #7777] Mon, 22 January 2007 06:32 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
Well, I have OS X and most of my software reinstalled. I think I figured out what trashed the system. I may have hit the "Clean output directory" by mistake. Apparently it was pointing at the root(/), or /Applications directory and wiped a number of programs out. Hopefully that won't happen again.

After some tinkering I still can not get theide to find the upp directory. I recall this issue on a Linux system once, but can not recall how I solved it. Any help or suggestions would be appreciated.

Robert

[Updated on: Mon, 22 January 2007 06:44]

Report message to a moderator

Re: 701-dev1 / 2007.1beta on Mac OSX [message #7779 is a reply to message #7778] Mon, 22 January 2007 11:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ah, sorry about that. This is really just the very first entry to MacOS X world, there is no automatic install yet.

You have to setup your assemblies manually - right click in the "Assembly" pane of initial dialog, then setup assemblies.

For recompiling TheIDE, you need to setup "uppsrc" only.

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7780 is a reply to message #7779] Mon, 22 January 2007 14:43 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
Got theide loaded, and running. Loaded uppsrc and exported the ide's Makefile. Now I am stopped at a libcrt0 link error. Making progress, slowly but surely.

I have to head to my office now, but will try more when I get there.

Robert

[Updated on: Mon, 22 January 2007 14:44]

Report message to a moderator

Re: 701-dev1 / 2007.1beta on Mac OSX [message #7781 is a reply to message #7780] Mon, 22 January 2007 14:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kcabobert wrote on Mon, 22 January 2007 08:43

Got theide loaded, and running. Loaded uppsrc and exported the ide's Makefile.



Why?! If you have TheIDE, setup build method and compile. Makefiles are useful only if you do not have any other choice.

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7783 is a reply to message #7781] Mon, 22 January 2007 16:07 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
Well, in hind-sight I should have. When I was trying to compile I was getting errors related to fontconfig / freetype. So I recompiled those and now I can not get theide to run due to more fontconfig errors.

Fontconfig warning: line 32: unknown element "cachedir"
Fontconfig warning: line 33: unknown element "cachedir"
Fontconfig error: "conf.d", line 1: no element found

These are unrelated to theide, something (possibly permissions) are wrong. Hopefully I can get this fixed soon though, I would like to recompile my app for Mac soon.

As an aside, we are running the application on Windows and Linux in our field offices. Once we get the Mac OS version running we can get it installed at our HQ. Excellent work!!

Robert
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7784 is a reply to message #7783] Mon, 22 January 2007 17:17 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
Got the ide to compile and link cleanly. When I try to run it I get "Bus Error." Any ideas?

Robert

[Updated on: Mon, 22 January 2007 17:30]

Report message to a moderator

Re: 701-dev1 / 2007.1beta on Mac OSX [message #7785 is a reply to message #7784] Mon, 22 January 2007 17:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Possible configuration problem.

Maybe activate Setup/Verbose mode copy&paste the console output of building the first package.

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7786 is a reply to message #7785] Mon, 22 January 2007 17:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Now thinking about it, copy most likely will not work now Smile

If it does not, screenshot.

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7791 is a reply to message #7786] Tue, 23 January 2007 00:52 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
The problem is that the "ide" compiles fine inside the ide. Then when I try to run the newly created "ide" all I get is "Bus Error."
$ ./ide 
Bus error


Here is the full output when I recompile (in verbose mode) the ide:

Quote:

----- ide\Common ( GUI GCC32 DEBUG SHARED DEBUG_FULL BLITZ OSX11 ) (1 / 26)
cd /Users/bobert/upp/uppsrc/ide/Common
BLITZ: Common.cpp Hdepend.cpp Package.cpp Workspace.cpp usc.cpp ComDlg.cpp
c++ -c -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHARED -DflagDEBUG_FULL -DflagBLITZ -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=50 -DbmSECOND=16 -m32 -ggdb -g2 -fexceptions -D_DEBUG -O0 " /Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Shar ed/$blitz.cpp " -o " /Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Shar ed/$blitz.o "
ide\Common: 6 file(s) built in (0:03.01), 501 msecs / file, duration = 3024 msecs
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7792 is a reply to message #7791] Tue, 23 January 2007 00:57 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
Here is the dump w/o BLITZ:

----- ide\Common ( GUI GCC32 DEBUG SHARED DEBUG_FULL OSX11 ) (1 / 26)
cd /Users/bobert/upp/uppsrc/ide/Common
Common.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Common.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Common.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.o"
compiled in (0:02.08)
Hdepend.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Hdepend.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Hdepend.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Hdepend.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Hdepend.o"
compiled in (0:02.00)
Package.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Package.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Package.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Package.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Package.o"
compiled in (0:02.00)
Workspace.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Workspace.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Workspace.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/Workspace.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Workspace.o"
compiled in (0:02.01)
usc.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/usc.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/usc.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/usc.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/usc.o"
compiled in (0:01.84)
ComDlg.cpp
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/ComDlg.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/ComDlg.o"
c++ -c  -I"/Users/bobert/upp/uppsrc" -I"/Users/bobert/Downloads/upp-src-2007/uppsrc" -I"/usr/include/freetype2" -DflagGUI -DflagGCC32 -DflagDEBUG -DflagSHA
	RED -DflagDEBUG_FULL -DflagOSX11 -DbmYEAR=2007 -DbmMONTH=1 -DbmDAY=22 -DbmHOUR=17 -DbmMINUTE=53 -DbmSECOND=37 -m32 -ggdb -g2  -fexceptions  -D_DEBUG -O
	0 -x c++ "/Users/bobert/upp/uppsrc/ide/Common/ComDlg.cpp" -o "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/ComDlg.o"
compiled in (0:01.78)
Creating library...
ide\Common: 6 file(s) built in (0:11.66), 1944 msecs / file, duration = 11788 msecs
ar -sr "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.a" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.S
	hared/Common.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Hdepend.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full
	.Gui.Noblitz.Shared/Package.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Workspace.o" "/Users/bobert/upp07b1/out/ide/Comm
	on/GCC.Debug_full.Gui.Noblitz.Shared/usc.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/ComDlg.o"
ar: creating archive /Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.a
ar -sr "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.a" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.S
	hared/Common.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Hdepend.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full
	.Gui.Noblitz.Shared/Package.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Workspace.o" "/Users/bobert/upp07b1/out/ide/Comm
	on/GCC.Debug_full.Gui.Noblitz.Shared/usc.o" "/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/ComDlg.o"
Exitcode: 0
/Users/bobert/upp07b1/out/ide/Common/GCC.Debug_full.Gui.Noblitz.Shared/Common.a (2070932 B) created in (0:00.27)
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7793 is a reply to message #7792] Tue, 23 January 2007 01:15 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
OK, I tried running theide in gdb.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x00be79d3 in XftCharExists ()


So maybe the Xft library is causing my issue?
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7794 is a reply to message #7793] Tue, 23 January 2007 02:26 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
It seems that in some forum I saw that this error may be related to the version of GCC used. Currently I am using gcc-4.0.1, should I be using 3.3?
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7796 is a reply to message #7793] Tue, 23 January 2007 08:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kcabobert wrote on Mon, 22 January 2007 19:15

OK, I tried running theide in gdb.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
0x00be79d3 in XftCharExists ()


So maybe the Xft library is causing my issue?


Well, likely, but it is very strange that binary TheIDE works... (uses Xft too).

AFAIK there was no change in Xft related code.

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7797 is a reply to message #7794] Tue, 23 January 2007 08:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kcabobert wrote on Mon, 22 January 2007 20:26

It seems that in some forum I saw that this error may be related to the version of GCC used. Currently I am using gcc-4.0.1, should I be using 3.3?


Could be. But we are using 4.x.x versions in Ubuntu without problems...

But I guess it is worth trying. Also you might want to compile the exact same sources in linux to test whether it is some deviation in Xft...

Mirek
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7813 is a reply to message #7797] Wed, 24 January 2007 05:42 Go to previous messageGo to next message
kcabobert is currently offline  kcabobert
Messages: 51
Registered: January 2007
Location: USA
Member
I tried to compile the ide version I have running on the Mac, 612.r43. I get the same "Bus Error." It will be a few days before I get back to my linux machine to try compiling.

I can not get a clean compile with GCC 3.3.

Has anyone else tried compiling under OSX 10.4.8?

I am wondering if my issues are resulting from the fact that I compiled versions of expat / freetype and fontconfig. Does anyone have thoughts on that?

Robert
Re: 701-dev1 / 2007.1beta on Mac OSX [message #7850 is a reply to message #7813] Fri, 26 January 2007 04:23 Go to previous messageGo to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member
Hey! Sorry, I should have been paying attention to this thread Smile I can probably help with the OsX version. The Xft crash is because Xft could not find any fonts. Make sure you have X11 installed on your OS, which should include the Xft/fontconfig fonts.

I'm on a fresh OsX (intel) now, and after installing "Optional Packages, X11" of the install CD, plus MacPorts of things like "libpng", it works again.

As mentioned, you have to create the Assembly, and point it to your uppsrc/ directory, as well as any other directories you want.

In my build environment I set:


INCLUDE Directories:
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/freetype2/
/usr/X11R6/include
/opt/local/include


LIBRARY Directories:
/usr/X11R6/lib
/opt/local/lib


I also set different compile flags to do Universal, but that is not needed to compile natively. Let me know if you want to know more.

Compile as "Shared Libs". Static is not work.


I have found you can bundle the shared libs in the application bundle, but figured that would be something to do once the carbon version is done. Or solve why static compiles don't work.



Previous Topic: MacOS X woes
Next Topic: MacOS ide make problem
Goto Forum:
  


Current Time: Thu Mar 28 09:14:55 CET 2024

Total time taken to generate the page: 0.01453 seconds