unresolved external, unreal project inoperable
Hello I was doing the following steps:
Everthing works fine, project is OK. If I delete Binaries and Intermediate stuff, The UEditor is able to recover everthing from the myproject.uproject file. I am using git for source controll only the significant files.
But if I turn the code into how DrawRect is implemented internally in canvas.cpp (to make use of rotation):
After a long coding session ... I was always using "DebugGame" configuration, everthing works fine...
But back in UEditor, suddenly I am facing a bunch of build problems. UEditor says, it cannot compile. The Unreal Project looks to be completly ruined, all my work for the trash? It took me hours to figure out whats the particular matter.
The causing issue is an unresolved external of GWhiteTexture if I compile with "DebugGame Editor":
I didn't realize that "DebugGame" and "DebugGame Editor", somehow, has different dependencies. Is this a bug?
Does someone has an idea how to fix this glitch ?
asked Jul 20 '15 at 05:14 AM in C++ Programming
I wouldn't expect the editor and game to have the same set of dependencies however what you're saying seems the opposite to what I'd expect (the standalone game to include less).
Personally I've put textures for general C++ access in a singleton texture manager. They are the accessible from different parts of code.
The textures themselves are embedded in game actors (for instance my derived from AGameMode class). Code is attached - you are welcome to use it but use at your own risk.
In class MyGameMode : public AGameMode....
In the CPP (MyGameMode::InitGame)
And access (excuse the const_cast) by CollectionName:TextureName
Probably not very helpful, but here if you want it.
answered Jul 22 '15 at 08:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here