Comments (13)
Hey Sean! Sorry, I think you may have gotten an older version of the plugin. I've updated the README with instructions and have tested on Windows and OSX. I will also send you a link to a sample project as soon as I get a chance. Currently still in training.
from watson-unreal-sdk-plugin.
@TerryTsai thanks for the update. Just tested the latest build.
I saw the following error with the new build on OS X:
---- START ----
Running Mono...
Setting up Mono
/Users/Shared/Epic Games/UE_4.17/Engine /Users/Shared/Epic Games/UE_4.17/Engine/Binaries/Mac
Compiling game modules for hot reload
Parsing headers for TestCPP2Editor
Running UnrealHeaderTool "/Users/seanbarclay/Documents/Unreal Projects/TestCPP2/TestCPP2.uproject" "/Users/seanbarclay/Documents/Unreal Projects/TestCPP2/Intermediate/Build/Mac/TestCPP2Editor/Development/TestCPP2Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for TestCPP2Editor in 13.6654574 seconds
Performing 4 actions (8 in parallel)
[2/4] Compile MyActor.cpp
[1/4] Compile MyActor.gen.cpp
[3/4] Compile TestCPP2.init.gen.cpp
In file included from /Users/seanbarclay/Documents/Unreal Projects/TestCPP2/Intermediate/Build/Mac/UE4Editor/Inc/TestCPP2/MyActor.gen.cpp:8:
In file included from ../../../../../seanbarclay/Documents/Unreal Projects/TestCPP2/Source/TestCPP2/MyActor.h:4:
In file included from ../Plugins/watson-unreal-sdk-plugin/Source/WatsonSdk/Public/Watson.h:4:
../Plugins/watson-unreal-sdk-plugin/Source/WatsonSdk/Public/Common/Authentication.h:4:10: fatal error: 'Authentication.generated.h' file not found
#include "Authentication.generated.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/seanbarclay/Documents/Unreal Projects/TestCPP2/Source/TestCPP2/MyActor.cpp:4:
In file included from ../../../../../seanbarclay/Documents/Unreal Projects/TestCPP2/Source/TestCPP2/MyActor.h:4:
In file included from ../Plugins/watson-unreal-sdk-plugin/Source/WatsonSdk/Public/Watson.h:4:
../Plugins/watson-unreal-sdk-plugin/Source/WatsonSdk/Public/Common/Authentication.h:4:10: fatal error: 'Authentication.generated.h' file not found
#include "Authentication.generated.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ERROR: UBT ERROR: Failed to produce item: /Users/seanbarclay/Documents/Unreal Projects/TestCPP2/Binaries/Mac/UE4Editor-TestCPP2-4375.dylib
Total build time: 33.22 seconds (Local executor: 0.00 seconds)
---- END ----
from watson-unreal-sdk-plugin.
Also, I got an error saying that the module was looking for "WatsonSDK".
I modified this:
PrivateDependencyModuleNames.AddRange(new string[] {
"WatsonSDK",
"Voice"
});
to this:
PrivateDependencyModuleNames.AddRange(new string[] {
"WatsonSdk",
"Voice"
});
I was then able to compile till I saw the error above. Hope this helps and thanks for cranking on this.
from watson-unreal-sdk-plugin.
seeing this when working with 4.18
Running Mono...
Setting up Mono
/Users/Shared/Epic Games/UE_4.18/Engine /Users/Shared/Epic Games/UE_4.18/Engine/Binaries/Mac
Compiling game modules for hot reload
ERROR: Expecting to find a type to be declared in a module rules named 'WatsonSDK' in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
from watson-unreal-sdk-plugin.
steps to repeat:
- created a C++ project w/ 4.18
- set to
Blank
+No starter content
- in content area >
add new
>New C++ Class
. Set toActor
- compiled the project then quit.
- pulled GH repo to this directory
/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/watson-unreal-sdk-plugin
- replaced MyActor.h and MyActor.cpp located in the project
/Users/seanbarclay/Documents/Unreal Projects/MyProject/Source/MyProject/
with your code in the GH README.MD - Ran
MyProject.uproject
- Hit
Compile
in the UE Project UI - Error message will display in bottom right corner.
from watson-unreal-sdk-plugin.
Hey Sean, I apologize for all these issues you're running into. I'm updating my unreal version and testing a fresh project now.
from watson-unreal-sdk-plugin.
Thanks @TerryTsai!
from watson-unreal-sdk-plugin.
@TerryTsai @WhoLsJohnGalt I resolved some issues with WatsonSdk vs. WatsonSDK. Now, I'm getting the following error, which appears to be related to authentication:
Running Mono...
Setting up Mono
/Users/Shared/Epic Games/UE_4.18/Engine /Users/Shared/Epic Games/UE_4.18/Engine/Binaries/Mac
Compiling game modules for hot reload
Performing 3 actions (8 in parallel)
[2/3] Compile MyActor.cpp
[1/3] Compile MyActor.gen.cpp
In file included from /Users/seanbarclay/Documents/Unreal Projects/MyProject5/Intermediate/Build/Mac/UE4Editor/Inc/MyProject5/MyActor.gen.cpp:8:
In file included from ../../../../../seanbarclay/Documents/Unreal Projects/MyProject5/Source/MyProject5/MyActor.h:4:
In file included from ../Plugins/watson-unreal-sdk-plugin/Source/WatsonSDK/Public/Watson.h:4:
../Plugins/watson-unreal-sdk-plugin/Source/WatsonSDK/Public/Common/Authentication.h:4:10: fatal error: 'Authentication.generated.h' file not found
#include "Authentication.generated.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/seanbarclay/Documents/Unreal Projects/MyProject5/Source/MyProject5/MyActor.cpp:4:
In file included from ../../../../../seanbarclay/Documents/Unreal Projects/MyProject5/Source/MyProject5/MyActor.h:4:
In file included from ../Plugins/watson-unreal-sdk-plugin/Source/WatsonSDK/Public/Watson.h:4:
../Plugins/watson-unreal-sdk-plugin/Source/WatsonSDK/Public/Common/Authentication.h:4:10: fatal error: 'Authentication.generated.h' file not found
#include "Authentication.generated.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ERROR: UBT ERROR: Failed to produce item: /Users/seanbarclay/Documents/Unreal Projects/MyProject5/Binaries/Mac/UE4Editor-MyProject5-5729.dylib
Total build time: 20.35 seconds (Local executor: 0.00 seconds)
from watson-unreal-sdk-plugin.
Hey Sean,
I tested a fresh project on both osx and windows, but was not having any issues. I've been putting it in the project specific Plugins folder: /Users/seanbarclay/Documents/Unreal Projects/MyProject5/Plugins/watson-unreal-sdk-plugin. Is that where you have it as well?
from watson-unreal-sdk-plugin.
Thanks @TerryTsai. I'm getting build errors now.
@WhoLsJohnGalt can you test and see if there's a step that I'm missing? Thanks!
from watson-unreal-sdk-plugin.
Hey @TerryTsai & @seanbarclay I'm having the same issue here.
@TerryTsai maybe in tomorrow's meeting you walk us through how you set it up? Seems we're missing something.
from watson-unreal-sdk-plugin.
That sounds good. I think the issue might actually be from copying my MyActor.h sample header. I think the step I neglected to mention was that in the class definition, you'll want to replace the WATSONSDKTESTBED_API macro with your project specific macro. It should just be your project name in all caps (MYPROJECT5_API). I'm guessing that's what is preventing the UHT tool from auto-generating those files.
from watson-unreal-sdk-plugin.
Closing. Error occurred due to project name not being replaced. Instructions have been updated.
from watson-unreal-sdk-plugin.
Related Issues (12)
- Implement speech-to-text recognize audio api using websockets HOT 1
- Status Update on UE Plugin for Watson HOT 2
- Plugin Causes Blank Project To Crash On Load HOT 1
- Cannot Compile Sample Pawn Code HOT 4
- Portable Build To 4.21.2 Engine Sucefull > More Error When Save Asset File
- Build for 4.21.2
- Implement text-to-speech synthesize audio api using websockets
- Update README.md HOT 2
- Project Not Saving with Pawn intact HOT 2
- Build crashing if microphone doesn't pick up anything on key press HOT 1
- Rephrasing step 6 of setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watson-unreal-sdk-plugin.