Original Post
In linking a project in Dev C++ the number of object files required to link is too large and causes the command required for linking to overflow the max command length.
The command that needs to execute is this:
g++.exe GameEngine.o Common/winexception.o Common/image.o Common/imagecodec.o Common/log.o Common/mmpointer.o Common/object.o Common/ref.o Common/resource.o Common/timer.o Common/window.o Common/dynamicLib.o engine/aabb.o engine/abt.o engine/engine.o engine/entity.o engine/game.o engine/geometrychunk.o engine/input.o engine/mesh.o engine/meshserializer.o engine/renderable.o engine/renderqueue.o engine/scenemanager.o engine/subentity.o engine/submesh.o engine/wireboundingbox.o engine/camera.o Win32/Win32Window.o engine/skyplane.o engine/skydome.o -o "Game.exe" -L"C:/DEV-CPP/lib" -mwindows Maths/Maths.a -l dxguid -l dinput8
But this returns ''Bad Command or filename''. Removing a couple of units from the project allows it to run, but obviously doesn''t finish linking due to unresolved external references. Is there any way around this?