Nebukam/PCGExtendedToolkit

Mac user

HatmanAlchemy opened this issue · 36 comments

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

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 😅

No problem. Enjoy your vacation. Merci.

@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

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

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!

@HatmanAlchemy any news on this?

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

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.

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?

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

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

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

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.

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

Hi Tim - sent an update

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

Pushed an update!

@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

I get the first one

Screenshot 2024-04-28 at 9 00 10 PM

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

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

nope still get that clang - will try again tomorrow

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.

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 ❤️

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

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