PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Nathan Durland on December 26, 2013, 10:31:32 AM

Title: I'm stuck on resource compile
Post by: Nathan Durland on December 26, 2013, 10:31:32 AM
I'm sure I'm somehow missing the forest for the trees, but...

I can't compile any of my FF projects.  When I do, the "Generating WinMain Source Code" dialog stays displayed for a very long time, then the compile fails with a resource file error.  I dug into it a bit and determined that the creation of the .RES file is failing (the file is 0 bytes).  I tried compiling the .RES file by hand with this:

c:\pbwin10\bin\rc /i c:\pbwin10\winapi codegen_mrputil_resource.rc

And it generated the .RES file OK.  I could then load the 'main' code into the PB environment and compile it.

My (un)educated guess is that when RC is being invoked by FF, it is losing the "/i" switch, and can't find "resource.h".  I've double checked the environment settings for FF, but everything looks normal.

Any help or insight would be appreciated.
Title: Re: I'm stuck on resource compile
Post by: Paul Squires on December 26, 2013, 10:41:30 AM
That's strange. Your Environment setting for "RC Include Path" reads "c:\pbwin10\winapi", right?
Try manually deleting all of the CODEGEN*.* files, restart FireFly, and compile. Sometimes that works when strange compile things happen.
Title: Re: I'm stuck on resource compile
Post by: Nathan Durland on December 26, 2013, 12:02:21 PM
Oh, I feel so dopey.   The number one rule of trouble shooting a new problem: "What did you change last"?

All our projects are stored on the server, which got a new AV program (GFI Vipre) over the holiday.  When I set the AV to ignore our projects folder, the problem went away.