@aoi wrote:
I'm working on the PC port of my app and I've run into the error: LINK : fatal error LNK1140: too many modules for program database; link with /PDB:NONE
The PC port was working just fine before, but when I added a new .cpp file or .lib to the solution I've suddenly run into this error. Searching online has brought nothing and it's been a few days.
Although I could turn the PDB:NONE flag on, it would mean that I couldn't debug on PC anymore.
From the output I've seen from the linker, libcocos2d is included a lot, so I'm thinking that might be the issue? The number of .obj files I have (modules) for my app is around 100. The maximum number is 4095. So the other 4k must be coming from somewhere.
The PDB file is also ridiculously huge (347MB) but I'm not sure if that's because of libcocos2d.
Any suggestions are welcome.
EDIT:: I'm using Cocos2dx 3.8 w/ Visual Studio 2013.
Posts: 2
Participants: 1