Open jberentsson opened 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...
Thanks, adding this flag worked! I'm using QtCreator 3.5.1. Now I only get this error.
\osc\composer\OscContentComposer.cpp:27: error: C2491: 'OscContentComposer::mHeaderBufferSize' : definition of dllimport static data member not allowed
\osc\composer\OscContentComposer.cpp:28: error: C2491: 'OscContentComposer::mBlank' : definition of dllimport static data member not allowed
\osc\composer\OscMessageComposer.cpp:31: error: C2491: 'OscMessageComposer::mDataBufferSize' : definition of dllimport static data member not allowed
\osc\composer\OscMessageComposer.cpp:31: error: C2491: 'OscMessageComposer::mDataBufferSize' : definition of dllimport static data member not allowed
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.