I have been burned by this a bunch and it wastes a lot of time.
Say I wrote some code in my Gameplay Module named GM, and unknowingly, used some code that lives in Other Module OM.
OM is currently not listed as a dependency of GM, so when I try to build GM, I get a linker error. Linker errors are hard to read, and in general as a C++ programmer I've learned to troubleshoot them in a certain way specific to typical C++ build chains. But now in Unreal Build Tool land, there is a whole new source for these errors, so I also have to remember that linker errors can be due to improper dependencies...
SO!! Please, if you could make the error message for a linker fail related to missing module dependency better, something like
"Perhaps you need to add module X as a dependency of module Y"
to at least remind me to check for this situation, that would be AWESOME.
Thanks <3
Ben
Say I wrote some code in my Gameplay Module named GM, and unknowingly, used some code that lives in Other Module OM.
OM is currently not listed as a dependency of GM, so when I try to build GM, I get a linker error. Linker errors are hard to read, and in general as a C++ programmer I've learned to troubleshoot them in a certain way specific to typical C++ build chains. But now in Unreal Build Tool land, there is a whole new source for these errors, so I also have to remember that linker errors can be due to improper dependencies...
SO!! Please, if you could make the error message for a linker fail related to missing module dependency better, something like
"Perhaps you need to add module X as a dependency of module Y"
to at least remind me to check for this situation, that would be AWESOME.
Thanks <3
Ben
Comment