Nebukam / PCGExtendedToolkit

PCGEx is a free (libre) Unreal 5 plugin that expands PCG capabilities. It offers a variety of high-performance nodes; with an edge for building relational graphs (Freeform, Delaunay, Voronoi, MST etc), advanced pathfinding; and much more.
MIT License
161 stars 19 forks source link

Mac user #36

Closed HatmanAlchemy closed 5 months ago

HatmanAlchemy commented 7 months ago

Bonjour Timothé. I would like to use this on my Mac but Xcode gives a "declaration shadows a field of " error on line 86 of PCGExDataFiler error. Unfortunately I am more a visual artist than coder. I wondered if this is an easy fix ( it runs fine on my Windows machine ) Xcode is very fussy. Thanks Screenshot 2024-03-31 at 11 07 51 am

Nebukam commented 7 months ago

Hey there @HatmanAlchemy ! Thanks for logging the issue; unfortunately I'm on vacation at the moment and don't have access to a computer where I could fix this -- it should definitely be an easy fix. It's just Mac being much more strict than windows with certain patterns for some reason.

You'll have to wait for sometime after April 8th tho 😅

HatmanAlchemy commented 7 months ago

No problem. Enjoy your vacation. Merci.

Nebukam commented 7 months ago

@HatmanAlchemy pushed a fix! It's possible that more error pop up after this fix as I have currently no way to test on macOS; this bug may hide more mac-specific issues. They're usually trivial to fix, so please let met know if you encounter any more errors; otherwise feel free to mark the issue as closed <3

Thanks again for taking the time to report the problem! :D

HatmanAlchemy commented 7 months ago

Still get the same error on the same line 86 Screenshot 2024-04-09 at 4 12 06 PM

Nebukam commented 7 months ago

Yeah I jumped on the gun and fixed a non-issue. The problem was unrelated to the commit -- coming back from vacations heh :D Should be fixed now, at least the above. Let's see if more appear after that!

Nebukam commented 7 months ago

@HatmanAlchemy any news on this?

HatmanAlchemy commented 7 months ago

I get this now Screenshot 2024-04-16 at 8 53 41 AM

HatmanAlchemy commented 7 months ago

Hi TimYep tried this again and mistakenly sent you the old error screenshot which I then deleted and have now sent the new error on Github. I also sent the xcode error report ( a bit long sorry ) in case this has any clues. I can delete this off github if it takes too much spaceThanks for your helpSean On 16 Apr 2024, at 1:19 AM, Tim @.***> wrote: @HatmanAlchemy any news on this?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Nebukam commented 7 months ago

Hey @HatmanAlchemy ! Sorry for the lag -- I've been looking at the error (the relevant part is basically things that come after ------ Building 4 action(s) started ------).

I'm a bit puzzled because the first two issues are FPCGContext and FPCGSettings which are both vanilla PCG stuffs unrelated to PCGEx. Long story short it's as if the native PCG plugin doesn't exist within your project. What version of the engine do you use? Do you compile it yourself?

I think it'd be worth bringing this up in the Unreal Source discord, there is a #pcg-framework channel with people that may be in a better position than me to answer why you get these errors.

Nebukam commented 7 months ago

Hmmm again none of these errors relate to PCGEx, I'm honestly clueless as to why you get these errors :/ Out of curiosity, does this happen with other CPP plugins as well? For example if you try including SUDS then remove it, do you end up with the same oddly unrelated errors?

HatmanAlchemy commented 7 months ago

OK it's probably a Mac and UE 5.3. Yes I have other code plugins that work. Thanks for your time and help. If I make a C++ code project it fails but launcher it runs. I don't know enough about Xcode to figure it out. Sean

Nebukam commented 7 months ago

I'm sorry I couldn't be more helpful >.<

HatmanAlchemy commented 7 months ago

Yes SUDS built and compiled fine Screenshot 2024-04-19 at 4 26 35 PM

Nebukam commented 7 months ago

Any chance you’re running 5.3 and not 5.3.2 ?

Le ven. 19 avr. 2024 à 11:28, HatmanAlchemy @.***> a écrit :

Yes SUDS built and compiled fine Screenshot.2024-04-19.at.4.26.35.PM.png (view on web) https://github.com/Nebukam/PCGExtendedToolkit/assets/21061155/207d51dc-7408-4c1b-a398-ca888a53cc4e

— Reply to this email directly, view it on GitHub https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2066810696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNJCL7HL6GIMUVVOL4PSJTY6EZYHAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWHAYTANRZGY . You are receiving this because you were assigned.Message ID: @.***>

HatmanAlchemy commented 7 months ago

5.3.2 On 19 Apr 2024, at 5:26 PM, Tim @.***> wrote: Any chance you’re running 5.3 and not 5.3.2 ?

Le ven. 19 avr. 2024 à 11:28, HatmanAlchemy @.***> a

écrit :

Yes SUDS built and compiled fine

Screenshot.2024-04-19.at.4.26.35.PM.png (view on web)

https://github.com/Nebukam/PCGExtendedToolkit/assets/21061155/207d51dc-7408-4c1b-a398-ca888a53cc4e

Reply to this email directly, view it on GitHub

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2066810696,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABNJCL7HL6GIMUVVOL4PSJTY6EZYHAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWHAYTANRZGY

.

You are receiving this because you were assigned.Message ID:

@.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Nebukam commented 6 months ago

I've tried to understand what's going on but I'm clueless at the moment; I'd need Apple hardware to do trial and error which sadly I don't have at the moment -- sadly this will be a "won't fix" for the short/mid term.

HatmanAlchemy commented 6 months ago

Hi Tim. It builds a lot further along now in 5.4 main and I get the following failure points which look like normal Xcode being easily spooked

Screenshot 2024-04-24 at 6 46 00 AM

HatmanAlchemy commented 6 months ago

Hi Tim - sent an update

HatmanAlchemy commented 6 months ago

Hi tim I retried building in 5.4 and it builds a lot further so the issue must have been 5.3. I sent an update to github but not sure if you getting these. On 25 Apr 2024, at 6:36 AM, (null) (null) @.> wrote:Hi Tim. It builds a lot further on 5.4. Have left a message on githubOn 19 Apr 2024, at 6:08 PM, (null) (null) @.> wrote:5.3.2 On 19 Apr 2024, at 5:26 PM, Tim @.***> wrote: Any chance you’re running 5.3 and not 5.3.2 ?

Le ven. 19 avr. 2024 à 11:28, HatmanAlchemy @.***> a

écrit :

Yes SUDS built and compiled fine

Screenshot.2024-04-19.at.4.26.35.PM.png (view on web)

https://github.com/Nebukam/PCGExtendedToolkit/assets/21061155/207d51dc-7408-4c1b-a398-ca888a53cc4e

Reply to this email directly, view it on GitHub

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2066810696,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABNJCL7HL6GIMUVVOL4PSJTY6EZYHAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRWHAYTANRZGY

.

You are receiving this because you were assigned.Message ID:

@.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Nebukam commented 6 months ago

Hey @HatmanAlchemy! I'm just finally getting 5.4 vanilla and looking more into this!

Nebukam commented 6 months ago

Pushed an update!

HatmanAlchemy commented 6 months ago

Tried the update on a fresh 5.4 project but no luck. Thanks anyway. Would you like me to close the issue ?

Sean

On 28 Apr 2024, at 4:48 PM, Tim @.***> wrote:

Pushed an update!

— Reply to this email directly, view it on GitHub https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081526294, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAV4I36ODXSAR2C5ZNWUMDY7UK5HAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUZDMMRZGQ. You are receiving this because you were mentioned.

Nebukam commented 6 months ago

Damn this is f’d up; have you removed the PCGEx plugin entierely or just pulled the repo on top of the previous one? If so, try removing the generated folders (intermediate + binaries). Unless the error is a new one, it should be fixed since it’s « just » a missing import issue.

As for closing the issue, it’s still an actual valid issue and I’m really hoping I’ll be able to find what’s wrong at some point so leave it open — some people may be able to contribute more meaningfully than I have!

Le dim. 28 avr. 2024 à 12:23, HatmanAlchemy @.***> a écrit :

Tried the update on a fresh 5.4 project but no luck. Thanks anyway. Would you like me to close the issue ?

Sean

On 28 Apr 2024, at 4:48 PM, Tim @.***> wrote:

Pushed an update!

— Reply to this email directly, view it on GitHub < https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081526294>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AFAV4I36ODXSAR2C5ZNWUMDY7UK5HAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUZDMMRZGQ>.

You are receiving this because you were mentioned.

— Reply to this email directly, view it on GitHub https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081540263, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNJCL4K3RAU3REC3IJ5S4TY7UPB5AVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGU2DAMRWGM . You are receiving this because you were assigned.Message ID: @.***>

HatmanAlchemy commented 6 months ago

Yes tried a brand new 5.4 C++ project and a fresh unzipped plugin from your update. It builds a few GB of stuff ( more than it did in 5.3 )I have even tried it with Jetbrains Rider free trial copy to see if that would give more help/ clues but nothing I can make sense ofSeanOn 28 Apr 2024, at 5:28 PM, Tim @.***> wrote: Damn this is f’d up; have you removed the PCGEx plugin entierely or just

pulled the repo on top of the previous one? If so, try removing the

generated folders (intermediate + binaries). Unless the error is a new one,

it should be fixed since it’s « just » a missing import issue.

As for closing the issue, it’s still an actual valid issue and I’m really

hoping I’ll be able to find what’s wrong at some point so leave it open —

some people may be able to contribute more meaningfully than I have!

Le dim. 28 avr. 2024 à 12:23, HatmanAlchemy @.***> a

écrit :

Tried the update on a fresh 5.4 project but no luck. Thanks anyway. Would

you like me to close the issue ?

Sean

On 28 Apr 2024, at 4:48 PM, Tim @.***> wrote:

Pushed an update!

Reply to this email directly, view it on GitHub <

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081526294>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFAV4I36ODXSAR2C5ZNWUMDY7UK5HAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUZDMMRZGQ>.

You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081540263,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABNJCL4K3RAU3REC3IJ5S4TY7UPB5AVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGU2DAMRWGM

.

You are receiving this because you were assigned.Message ID:

@.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

HatmanAlchemy commented 6 months ago

Is it anything you can raise with the PCG team on my behalf ? There might be a mac user ( longshot ) It might be a PCG issue ?On 28 Apr 2024, at 8:42 PM, (null) (null) @.> wrote:Yes tried a brand new 5.4 C++ project and a fresh unzipped plugin from your update. It builds a few GB of stuff ( more than it did in 5.3 )I have even tried it with Jetbrains Rider free trial copy to see if that would give more help/ clues but nothing I can make sense ofSeanOn 28 Apr 2024, at 5:28 PM, Tim @.> wrote: Damn this is f’d up; have you removed the PCGEx plugin entierely or just

pulled the repo on top of the previous one? If so, try removing the

generated folders (intermediate + binaries). Unless the error is a new one,

it should be fixed since it’s « just » a missing import issue.

As for closing the issue, it’s still an actual valid issue and I’m really

hoping I’ll be able to find what’s wrong at some point so leave it open —

some people may be able to contribute more meaningfully than I have!

Le dim. 28 avr. 2024 à 12:23, HatmanAlchemy @.***> a

écrit :

Tried the update on a fresh 5.4 project but no luck. Thanks anyway. Would

you like me to close the issue ?

Sean

On 28 Apr 2024, at 4:48 PM, Tim @.***> wrote:

Pushed an update!

Reply to this email directly, view it on GitHub <

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081526294>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AFAV4I36ODXSAR2C5ZNWUMDY7UK5HAVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUZDMMRZGQ>.

You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub

https://github.com/Nebukam/PCGExtendedToolkit/issues/36#issuecomment-2081540263,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABNJCL4K3RAU3REC3IJ5S4TY7UPB5AVCNFSM6AAAAABFQJPNDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGU2DAMRWGM

.

You are receiving this because you were assigned.Message ID:

@.***>

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Nebukam commented 6 months ago

@HatmanAlchemy I realized I missed one error that showed in XCode, if you get the latest do you still see these 3 errors? image

If it's still failing but with new warnings it means we're progressing! :D

HatmanAlchemy commented 6 months ago

I get the first one

Screenshot 2024-04-28 at 9 00 10 PM

Nebukam commented 6 months ago

Yeah this one I just submitted a fix for a few minutes ago it should be gone 👀

HatmanAlchemy commented 6 months ago

Sorry I get this now Which I can sometimes fix with a system reboot - it sometimes is a stray process running in the background Rebooting again... Screenshot 2024-04-28 at 9 24 18 PM

HatmanAlchemy commented 6 months ago

nope still get that clang - will try again tomorrow

HatmanAlchemy commented 6 months ago

Hi Tim - I hope you don't mind I have asked a friend Maxime Dupart whose Shader World Marketplace Asset I use a lot. He is a compatriot of yours and an excellent coder. He has a Mac and has kindly agreed to have a look at this for me as he can test it on his Mac and maybe find the issue for us Mac users.

Nebukam commented 6 months ago

Hi Sean! I would be more than happy to have someone look at this; please ask your friend to do a PR on the repo if you end up solving the problem ❤️

HatmanAlchemy commented 6 months ago

Maximes fork now builds and works on my Mac Screenshot 2024-05-04 at 10 39 07 AM

Nebukam commented 6 months ago

This is great to hear and see! I just merged the PR :) Thank a lot to you both! ❤️

HatmanAlchemy commented 5 months ago

Hi Tim

Finally got around to using the PCG Extended Toolkit ( on my Mac )

I needed it to path trace from a start to end point and use the points to spawn Brushes on a Shader World ( Maxime Dupart marketplace asset ).

The brushes deform the landscape so I can build rivers. I can also use it to build roads.

All at runtime

I thought you might like to see.

Like this

Thanks for a great tool

Sean

HatmanAlchemy commented 5 months ago

Screenshot 2024-06-16 at 11 59 45 AM