Giter Site home page Giter Site logo

Comments (10)

HighTeaFrog avatar HighTeaFrog commented on September 17, 2024 1

It's solved for me, thank you very much!

from inkpot.

SixParQuatre avatar SixParQuatre commented on September 17, 2024

+1 on this, upon restarting a 5.3.0 project after enabling the plugin, a dialog request a recompilation of the plugin:
image
and then it fails:
image
This also happens when trying to open the inkpot demo project from the other repository.

from inkpot.

TCR-Nick avatar TCR-Nick commented on September 17, 2024

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.

TCR-Nick avatar TCR-Nick commented on September 17, 2024

@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.

SixParQuatre avatar SixParQuatre commented on September 17, 2024

@TCR-Nick I tried again by pulling latest and I'm still getting the same errors.
This happens both:

  1. by using Inkpot repo @commit aa445f2 that I copied in my own project
  2. 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.

TCR-Nick avatar TCR-Nick commented on September 17, 2024

@SixParQuatre Yes, 5.3 drops support for older compilers, you will need to install Visual Studio 2022.

from inkpot.

SixParQuatre avatar SixParQuatre commented on September 17, 2024

@TCR-Nick

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.

SixParQuatre avatar SixParQuatre commented on September 17, 2024

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.

TCR-Nick avatar TCR-Nick commented on September 17, 2024

@SixParQuatre

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.

SixParQuatre avatar SixParQuatre commented on September 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.