Comments (10)
It's solved for me, thank you very much!
from inkpot.
+1 on this, upon restarting a 5.3.0 project after enabling the plugin, a dialog request a recompilation of the plugin:
and then it fails:
This also happens when trying to open the inkpot demo project from the other repository.
from inkpot.
This is now fixed.
Cpp20 is a little more strict on string concatenation in macros, this turned out to be a missing space.
from inkpot.
@SixParQuatre, I think you need to compile the source.
No binaries are provided by default, you will need to compile them.
& now this fix is in you will be able to compile.
from inkpot.
@TCR-Nick I tried again by pulling latest and I'm still getting the same errors.
This happens both:
- by using Inkpot repo @commit aa445f2 that I copied in my own project
- by opening InkPotDemo project @commit a28ff9c (with Inkpot submodule pointing at commit 871403f)
The log mentions:
Microsoft platform targets must be compiled with Visual Studio 2022 17.4 (MSVC 14.34.x) or later for the installed engine. Please update Visual Studio 2022 and ensure no configuration is forcing WindowsTargetRules.Compiler to VisualStudio2019. The current compiler version was detected as: 14.29.30147
LogInit: Warning: Still incompatible or missing module: InkpotDemo
I've installed the VCRedist mentioned in the Readme; but I don't have Visual Studio 2022 installed (I'm still on 2019); is that needed?
from inkpot.
@SixParQuatre Yes, 5.3 drops support for older compilers, you will need to install Visual Studio 2022.
from inkpot.
Ok, cool after getting all the necessary bits from Visual Studio 2022; I got some good and bad news :)
Good news: I managed to run the Inkpot Demo project and rebuilding worked perfectly, and I've run the test scene successfully.
I think you should amend the Requirements and since I just went through the steps; I thought I'd write the blurb
Download Visual Studio 2022 and run it. You will need 3+Gb of free space for this.
During installation, in the Individual Components tab, search for "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" and tick it.
I would also add a section on how to use the plugin for peeps who are more used to the marketplace like me :P); it's probably a good idea to have them either unzip or make a repo under UEInstallFolder\Engine\Plugins\Markeplace\Inkpot
so that the plugin can be found through the Plugin window in any project.
As a note, it feels a bit at odds with accessibility that one would need to have to install 3+Gb of coding tools to use a plugin that aims at not having to interact with C++; any plan on bundling the binaries soon?
Bad News: when using the latest commit of Inkpot (aa445f2); and putting it in my own project, it fails to build; after using the command line to try and build it, it returns the following errors (I used the subfolder UE3_5 for the -package argument):
[...]\Inkpot\UE5_3\HostProject\Plugins\Inkpot\Source\Inkpot\Public\Inkpot\InkpotChoice.h(31): Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
[...]\Inkpot\UE5_3\HostProject\Plugins\Inkpot\Source\Inkpot\Public\Inkpot\InkpotChoice.h(34): Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
[...]\Inkpot\UE5_3\HostProject\Plugins\Inkpot\Source\Inkpot\Public\Asset\InkpotStoryAsset.h(32): Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
[...]Inkpot\UE5_3\HostProject\Plugins\Inkpot\Source\Inkpot\Public\Asset\InkpotStoryAsset.h(35): Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
[...]Inkpot\UE5_3\HostProject\Plugins\Inkpot\Source\Inkpot\Public\Inkpot\InkpotWatch.h(34): Error: An explicit Category specifier is required for any property exposed to the editor or Blueprints in an Engine module.
The submodule of Inkpot inside the InkpotDemo repo seems to be a few commits behind origin/HEAD (871403f).
I hope all these feedbacks are OK and thanks for the work so far!
from inkpot.
Oh and one other quick things, since you're not providing binaries, you should add the Binaries, Saved and Intermediate subfolders to gitignore.
from inkpot.
Thanks for the feedback :)
I'll look into distributing the binaries, but for the moment it will be source only. Binary distribution will most likely be via the marketplace so that it can be truly plug and play.
Adding Visual Studio as a requirement is on the list of things to do, so expect this to come shortly.
Finally thanks for reporting the errors when using as an engine plugin.
This has been written as an application plugin, so it's likely there will be a few things to sort if people want to use as an engine plugin.
The changes to the submodule won't affect the demo project, but I will update the demo to have the latest in the next day or so,
from inkpot.
Finally thanks for reporting the errors when using as an engine plugin. This has been written as an application plugin, so it's likely there will be a few things to sort if people want to use as an engine plugin.
Right, in that case, it would be good to add a section in the documentation on how to add the plugin to an existing project without it being an 'engine plugin' ; because I followed the first direction found on google that made me just copy/paste the hierarchy under a Plugins/Inkpot subfolder and that failed to recompile on start with the latest commit.
from inkpot.
Related Issues (20)
- Any way to handle external functions from ink story? HOT 2
- Unable to package 'Shipping' game or InkpotDemo HOT 3
- TempInkFile.ink could not be opened HOT 4
- Save/Load Alternative to JSON Serialisation? HOT 8
- Unable to import Inkpot files to Unreal Project when project path uses spaces. HOT 3
- Unable to import ink files that INCLUDE other files HOT 1
- Unable to compile due to lack of header files? HOT 1
- Story asset BP accessibility HOT 2
- External Functions HOT 2
- BUILD FAILED when rebuilding HOT 4
- Inkpot Plugin not appearing in packaged builds? HOT 3
- Inkpot, InkPlusPlus, and InkpotEditor not building HOT 1
- Issue with importing files and Inklecate HOT 2
- [Improvement] Import the plugin by using submodule HOT 2
- Build issues
- Cannot import ink files HOT 1
- Template error with new project in UE 5.4.2 HOT 2
- Inkpot fails to compile on UE 5.4.2 HOT 8
- error C2974: “Ink::TValue”:“T”的 模板 参数无效,应为类型 HOT 4
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 inkpot.