Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

undefined reference to `NSCalibratedRGBColorSpace'

4 views
Skip to first unread message

Michael Silva

unread,
Oct 10, 2012, 10:30:56 AM10/10/12
to discuss...@gnu.org
when linking a gnustep app on linux (Ubuntu 11.10) I get this error:

undefined reference to `NSCalibratedRGBColorSpace'

This is defined in AppKit/NSGraphics.h as an export, but the actual declaration seems to be missing. Is there a way to fix it?

Thanks.



Statement of Confidentiality

The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683.2500 and delete this message and its attachments, if any.


Wolfgang Lux

unread,
Oct 10, 2012, 12:31:34 PM10/10/12
to Michael Silva, discuss...@gnu.org
Michael Silva wrote:

> when linking a gnustep app on linux (Ubuntu 11.10) I get this error:
>
> undefined reference to `NSCalibratedRGBColorSpace'
>
> This is defined in AppKit/NSGraphics.h as an export, but the actual declaration seems to be missing. Is there a way to fix it?

Yes. Make sure you link against gnustep-gui.
If you do already, complain to the Ubuntu maintainers.
NSCalibratedRGBColorSpace does have a definition in externs.m (and it's there for almost ever), so you shouldn't be getting a link error for it.

Wolfgang


0 new messages