Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Problems compiling 1.74.2 on OS X 10.6.6 solved

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

Post Reply
colinh
Average
Average
Posts: 10
Joined: Fri Jan 14, 2011 1:18 am

Problems compiling 1.74.2 on OS X 10.6.6 solved

Post by colinh »

with Xcode 3.2.5 (64 bit):

I installed libpng (1.5.0) in ~/developer/oolite-dev-source-1.74.2/deps/Cross-platform-deps/libpng

and did the ./configure; make; sudo make install there.

And I installed RBSplitView12 (and did a Build&Run from Xcode. And double-clicked it)

And I installed RBSplitViewFixer and dropped oolite's MainMenu.nib onto the running app's icon (and opened Debug OXP.xcodeproj to drop its Interface Builder Files folder there too).

But I was still getting 12 "errors" along the lines of "passing argument 2 of 'png_destroy_read_struct' from incompatible pointer type".

The expanded view of the error showed that these were "warnings being treated as errors". Due to -Werror. This can be changed in the Build tab of the Info panel for the Oolite target.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Problems compiling 1.74.2 on OS X 10.6.6 solved

Post by JensAyton »

As an alternative, you can get libpng 1.4.5 here.
Post Reply