# Compiler error when using RadialSlider Widgets in UUserWidget

**URL:** <https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925>\
**Category:** C++\
**Tags:** unreal-engine, Widget, question\
**Created:** [March 20, 2023, 3:29pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925 "2023-03-20T15:29:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yungcheeto99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yungcheeto99](https://forums.unrealengine.com/u/yungcheeto99)\
**Post date:** [March 20, 2023, 3:29pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925/1 "2023-03-20T15:29:24Z")

</div>

Hi, I have a problem with implementing RadialSlider pointers in my UUserWidget header file. I have tried using includes from unreal engine documentation (cannot open those source files), and I have tried adding the VirtualCamera module that the RadialSlider class belongs to. Other Widgets work perfectly fine. Rebuilding did not help. Why is this Widget different, and how do I fix what I’m trying to do here?

code:  
UPROPERTY(EditAnywhere, meta = (BindWidget))  
class URadialSlider\* DurabilityBar;

error:  
Nightfall\_HUD.gen.cpp(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int  
Nightfall\_HUD.gen.cpp(12): error C2146: syntax error: missing ‘;’ before identifier ‘UClass’  
Nightfall\_HUD.gen.cpp(114): error C2065: ‘Z\_Construct\_UClass\_URadialSlider\_NoRegister’: undeclared identifier

---

<div class="post-metadata">

**Author:** ![yungcheeto99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yungcheeto99](https://forums.unrealengine.com/u/yungcheeto99)\
**Post date:** [March 21, 2023, 4:18pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925/2 "2023-03-21T16:18:42Z")

</div>

This has now been solved. The module “AdvancedWidgets” should be used instead of the one provided in the Unreal Documentation.

---

<div class="post-metadata">

**Author:** ![DartDaven](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DartDaven](https://forums.unrealengine.com/u/DartDaven)\
**Post date:** [December 19, 2023, 5:19pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925/3 "2023-12-19T17:19:42Z")

</div>

How do I use this module? I am a newbie, can you please provide me with step-by-step instructions for this?

UPD: To use this module you need to add “AdvancedWidgets” to your `.Target.cs`, `.Build.cs`, and `.uproject` files and then generate new Visual Studio project files by right-clicking on your .uproject in the Explorer.  
 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/5/42577189b0f2e65b7f9a3d3fae9c74cc769950be.png)

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/c/5ac18a3b66d6fc80e85ba8a5b348e4c6dabd500c.png)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/2/d422443a579018bc79084e8ed8a8ed0f610eecdf.png)  
 ![4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/e/8ee494b5c97579a88d648f55a9f194ba283de438.png)

---

<div class="post-metadata">

**Author:** ![Termitosss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/termitosss/32/88716_2.png) [@Termitosss](https://forums.unrealengine.com/u/Termitosss)\
**Post date:** [July 25, 2024, 2:10pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925/4 "2024-07-25T14:10:12Z")

</div>

Thanks, this was pretty helpful also for me 🙂
