|
|
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 |
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 #7778 is a reply to message #7777] |
Mon, 22 January 2007 06:32 |
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 #7850 is a reply to message #7813] |
Fri, 26 January 2007 04:23 |
lundman
Messages: 175 Registered: March 2006 Location: Tokyo
|
Experienced Member |
|
|
Hey! Sorry, I should have been paying attention to this thread 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.
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:55:32 CET 2024
Total time taken to generate the page: 0.04380 seconds
|
|
|