Page 1 of 1

Problems compiling 1.74.2 on OS X 10.6.6 solved

Posted: Sun Jan 16, 2011 7:10 pm
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.

Re: Problems compiling 1.74.2 on OS X 10.6.6 solved

Posted: Sun Jan 16, 2011 7:30 pm
by JensAyton
As an alternative, you can get libpng 1.4.5 here.