Opened 4 years ago

Closed 4 months ago

#1126 closed Bug Report (fixed)

Building serd on Windows with --debug flag fails

Reported by: madscientist Owned by: David Robillard
Priority: major Component: Serd
Keywords: Cc:

Description

I don't know enough about waf or Visual Studio to know how to fix this, but if I attempt to build serd on Windows with the --debug flag, then the build fails:

C:\tmp> python waf configure --debug --static --no-shared "--msvc_version=msvc 14.0" --msvc_target=x86
  ...
Global Configuration
 * Debuggable build               : True
 * Build documentation            : False

C:\tmp> python waf build
  ...
c:\tmp\src\node.c: fatal error C1041: cannot open program database 'vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS

If I build without the --debug flag then it works fine.

Change History (1)

comment:1 Changed 4 months ago by David Robillard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.