"Sub Module" Pointers, what they are.

All discussions of compiling from source should go here.
Post Reply
User avatar
OpenXTalkPaul
Posts: 1875
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

"Sub Module" Pointers, what they are.

Post by OpenXTalkPaul »

Something that might not be obvious to new users of GitHub, or graphically oriented users like myself who use the web interface or GUI client apps with Git, is something called "sub-module pointers". Basically these are the source-code equivalent to "Alias"(macOS)/Shortcuts(Windows)/Symbolic Links (*nux platforms), they point to another source repository that needs to be included in order to compile the project that points to it. If you download a repo in a certain way, such as via github's web interface, the download may not include the additional "sub-module" source code, which would likely prevent the main project from successfully compiling.

They look like an at symbol @ and a number. To fix this you would simply download the additional sub module repo source separately and extract it to the main project's source code folder, making sure it's named the same as the pointer (without the @+number in the name)

The OpenXTalk engine repo has inherited a couple of these submodule pointers. Here "ide" points to the separate LC IDE repo which is archived, but I'm substituting the modified "Toolset" folder from the OXT IDE repo.

Screen Shot 2021-10-18 at 4.12.14 PM.png
Screen Shot 2021-10-18 at 4.12.14 PM.png (258.66 KiB) Viewed 8395 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests