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

Getting No such module 'DeltaCore' and 'Harmony'. #13

Closed
TylerJaacks opened this issue Sep 29, 2019 · 12 comments
Closed

Getting No such module 'DeltaCore' and 'Harmony'. #13

TylerJaacks opened this issue Sep 29, 2019 · 12 comments

Comments

@TylerJaacks
Copy link

When I try to build I get No such module 'DeltaCore' and 'Harmony' through out various files in the project. I ran the git submodules and the code is there and Harmony and DeltaCore build fine by themselves.

@ianclawson
Copy link

I ran into this as well. I was able to get around it by replacing the contents of the base level .gitmodules from:

[submodule "Cores/DeltaCore"]
	path = Cores/DeltaCore
	url = git@github.com:rileytestut/DeltaCore.git
[submodule "Cores/SNESDeltaCore"]
	path = Cores/SNESDeltaCore
	url = git@github.com:rileytestut/SNESDeltaCore.git
[submodule "External/Roxas"]
	path = External/Roxas
	url = git@github.com:rileytestut/Roxas.git
[submodule "Cores/GBADeltaCore"]
	path = Cores/GBADeltaCore
	url = git@github.com:rileytestut/GBADeltaCore.git
[submodule "Cores/GBCDeltaCore"]
	path = Cores/GBCDeltaCore
	url = git@github.com:rileytestut/GBCDeltaCore.git
[submodule "External/Harmony"]
	path = External/Harmony
	url = https://github.com/rileytestut/Harmony.git
[submodule "Cores/NESDeltaCore"]
	path = Cores/NESDeltaCore
	url = git@github.com:rileytestut/NESDeltaCore.git
[submodule "Cores/N64DeltaCore"]
	path = Cores/N64DeltaCore
	url = git@github.com:rileytestut/N64DeltaCore.git
[submodule "Cores/DSDeltaCore"]
	path = Cores/DSDeltaCore
	url = https://github.com/rileytestut/DSDeltaCore.git

to this:

[submodule "Cores/DeltaCore"]
	path = Cores/DeltaCore
	url = https://github.com/rileytestut/DeltaCore.git
[submodule "Cores/SNESDeltaCore"]
	path = Cores/SNESDeltaCore
	url = https://github.com/rileytestut/SNESDeltaCore.git
[submodule "External/Roxas"]
	path = External/Roxas
	url = https://github.com/rileytestut/Roxas.git
[submodule "Cores/GBADeltaCore"]
	path = Cores/GBADeltaCore
	url = https://github.com/rileytestut/GBADeltaCore.git
[submodule "Cores/GBCDeltaCore"]
	path = Cores/GBCDeltaCore
	url = https://github.com/rileytestut/GBCDeltaCore.git
[submodule "External/Harmony"]
	path = External/Harmony
	url = https://github.com/rileytestut/Harmony.git
[submodule "Cores/NESDeltaCore"]
	path = Cores/NESDeltaCore
	url = https://github.com/rileytestut/NESDeltaCore.git
[submodule "Cores/N64DeltaCore"]
	path = Cores/N64DeltaCore
	url = https://github.com/rileytestut/N64DeltaCore.git
[submodule "Cores/DSDeltaCore"]
	path = Cores/DSDeltaCore
	url = https://github.com/rileytestut/DSDeltaCore.git

Hopefully that works for you! However even after that clears, I'm still seeing the issue referenced here: #9

@TylerJaacks
Copy link
Author

Did not fix anything for me.

@ianclawson
Copy link

Oh forgot to say, you’ll need to run git submodule sync after updating the file, and then run git submodule update --init --recursive

Hopefully that works for you but I can’t say for sure that it will 🤷‍♂️

@TylerJaacks
Copy link
Author

Did that and still get this error: Server does not allow request for unadvertised object 4d7ba40073c8fed53fa92f7db07d75b4b8929a41
Fetched in submodule path 'External/Harmony', but it did not contain 4d7ba40073c8fed53fa92f7db07d75b4b8929a41. Direct fetching of that commit failed.

@septfoil
Copy link

Did that and still get this error: Server does not allow request for unadvertised object 4d7ba40073c8fed53fa92f7db07d75b4b8929a41
Fetched in submodule path 'External/Harmony', but it did not contain 4d7ba40073c8fed53fa92f7db07d75b4b8929a41. Direct fetching of that commit failed.

Same here

@ianclawson
Copy link

That would be the issue referenced in #9

Be sure to follow that for updates, it looks like (if I understand it right) that Riley still needs to push up a few of his local commits to those repos

@TylerJaacks
Copy link
Author

@ianclawson so there is currently nothing I can do right now?

@vhqtvn
Copy link

vhqtvn commented Oct 2, 2019

I got it to clone all by cd to each error submodule and do git checkout master, only for External/Harmony you'll need to run git submodule update --init --recursive again inside it.

After that when building you'll get undefined error for ConflictResolution, just change all of them to SyncCoordinator.ConflictResolution and the corresponding return enum value from .newest to .local and then it will compile.

Just a temporary workaround until @rileytestut push his updates to Harmony repo.

@TylerJaacks
Copy link
Author

TylerJaacks commented Oct 4, 2019

I still get the "No such module DeltaCore found" error. The code is there but the project does not seem to pick up the code anywhere.

@vhqtvn
Copy link

vhqtvn commented Oct 7, 2019

Try cleaning project and rebuild all from XCode.

@RG1BB5
Copy link

RG1BB5 commented Nov 9, 2019

Are you opening the Delta.xcodeproj file as this can cause the same issue you are having instead open the Delta.xcworkspace file

@ericlewis
Copy link
Collaborator

This seems resolved, closing for now.

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

No branches or pull requests

6 participants