# Compiling On Mac

**URL:** <https://forums.unrealengine.com/t/compiling-on-mac/369571>\
**Category:** Platform & Builds\
**Tags:** build, MAC, unreal-engine, CPP, question\
**Created:** [September 6, 2016, 2:47pm UTC](https://forums.unrealengine.com/t/compiling-on-mac/369571 "2016-09-06T14:47:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b49ea4ba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b49ea4ba](https://forums.unrealengine.com/u/anonymous_user_b49ea4ba)\
**Post date:** [September 6, 2016, 2:47pm UTC](https://forums.unrealengine.com/t/compiling-on-mac/369571/1 "2016-09-06T14:47:52Z")

</div>

Hi,

I am trying to get to grips with a basic hello world BlueprintFunctionLibrary for a plugin. When I try to build the plugin in xcode. I get the following errors. When I simplify the class to inherit from uObject I still get the same errors. the Errors on disappear when I remove the UFUNCTION macro.

Any help would be greatly appreciated.

below is the header file code

```
#pragma once

#include "Kismet/BlueprintFunctionLibrary.h"
#include "helloInterfaceBP.generated.h"

UCLASS()
class UHelloInterfaceBP : public UBlueprintFunctionLibrary
{
    GENERATED_BODY()

public:
    UFUNCTION(BlueprintCallable, meta=(DisplayName = "test"), Category = "HelloMessage")
    static void helloMessage();
};

```
