Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 5.4 on Mac #141

Open
Ratamorph opened this issue May 15, 2024 · 5 comments
Open

Support for 5.4 on Mac #141

Ratamorph opened this issue May 15, 2024 · 5 comments
Assignees
Milestone

Comments

@Ratamorph
Copy link

I tried building it myself and it had a few simple compiler errors on some conditional code for Mac which I fixed, however the plugin doesn't seem to work well, it lets me connect but then when I try to do anything it tells me it's not connected and then I try to reconnect and it keeps going on that loop.

@SRombautsU
Copy link
Collaborator

SRombautsU commented May 15, 2024

Yep, it's a well known issue #1 OSX Build? and Mac support missing current working folder #88
I intend to try to fix it in the coming weeks!

Would you be able to provide the little compilation fixes
And perhaps the logs you got as well to help me start faster on the subject?

Many thanks
Sébastien

@SRombautsU SRombautsU self-assigned this May 15, 2024
@Ratamorph
Copy link
Author

That sounds great, here's the correct lines:

#elif PLATFORM_MAC
const char* PlasticExe = "/Applications/PlasticSCM.app/Contents/MacOS/macplasticx";
const char* GluonExe = "/Applications/Gluon.app/Contents/MacOS/macgluonx";
DesktopAppPath = FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe;

My compiler (Rider) was complaining about the variable definitions and suggested the change to const char*
There was also an extra closing parenthesis before de semicolon on the DesktopAppPath line.

I'll share logs next time I boot it up

@Ratamorph
Copy link
Author

Ratamorph commented May 15, 2024

Here's some errors I get on the log

LogSourceControl: Error: RunCommand: 'checkconnection --server=OUR_SERVER' 'cm shell' stopped after 0.035s output (87 chars):
Error: The process cannot access the file because it is being used by another process.
SourceControl: Error: Command: UpdateStatus, Error: Error: The process cannot access the file because it is being used by another process.
LogSourceControl: UpdateStatus of 6603 items processed in 7.727s
LogSourceControl: Error: Command 'UpdateStatus' Failed!

SRombauts pushed a commit that referenced this issue May 16, 2024
@SRombautsU
Copy link
Collaborator

Thanks!
I think that the correct compilation fix is the commit 3bee755 that I have just pushed on https://github.com/SRombauts/UEPlasticPlugin/tree/fix-macos-compilation
In any case, the second issue will still need to be addressed, I'll work on it ASAP

@SRombauts SRombauts added this to the 1.11.0 milestone May 28, 2024
SRombautsU added a commit to PlasticSCM/UEPlasticPlugin that referenced this issue May 31, 2024
@SRombauts SRombauts reopened this Jun 28, 2024
@SRombauts
Copy link
Owner

Sorry, I didn't mean to close the issue, as I actually only fixed the compilation but I couldn't understand what is the issue with the underlying CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants