MugenSAS / osc-cpp-qt

OSC (Open Sound Control) for C++ using Qt (Mugen implementation)
MIT License
28 stars 3 forks source link

C1041 cannot open program database #3

Open jberentsson opened 8 years ago

jberentsson commented 8 years ago

I'm using qt 5.5.1 on windows 8 and I get this error when I try to run the project:

\osc-cpp-qt\osc\composer\OscContentComposer.cpp:-1: error: C1041: cannot open program database '\cpp\osc-cpp-qt\bin\debug\osc.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS

These are the files that give this error:

I tried to add QMAKE_CXXFLAGS += /FS to the OSC.pro file but it had no effect.

druidPollux commented 8 years ago

Hello, Are you using QtCreator or VisualStudio to build the project ? I never use VisualStudio directly. I already encountered concurrent access while using the visual compiler through QtCreator. I solved the problem by adding '/J 1' as an argument of the jom.exe command in the project settings.

Let me know...

jberentsson commented 8 years ago

Thanks, adding this flag worked! I'm using QtCreator 3.5.1. Now I only get this error.