Skip to content

"Out-of-line definition" error on Xcode 5 #4

@hideyukisaito

Description

@hideyukisaito

Hi,

The following lines in ofxTextInputField.cpp cause build error on Xcode 5 with 0.8.0.

  • at line 344
void ofxTextInputField::setClipboard(string clippy) { ...
  • at line 349
string ofxTextInputField::getClipboard() { ...

Following might be cause probably.

#ifdef OF_VERSION_MINOR
#if OF_VERSION_MINOR>=8 || OF_VERSION_MAJOR>0
#define USE_GLFW_CLIPBOARD

#endif
#endif

It went well when I moved the lines above into header file.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions