fatal error C1041: cannot open program database with msvc 2015 update 3

120 views
Skip to first unread message

Daniel Moodie

unread,
Oct 14, 2016, 11:37:18 PM10/14/16
to Runtime-Compiled C++
Hi,

Recently updated to VS2015 and have noticed that my unit tests fail much more frequently with C1041 if my debugger is attached while running the test.
I've noticed that the first test usually passes successfully and then any subsequent tests will fail to compile.  
The test can be found here:

I was wondering if anyone else has run into a similar issue, I have not found /FS to be useful in this situation.

Daniel Moodie

unread,
Oct 15, 2016, 1:13:11 AM10/15/16
to Runtime-Compiled C++
It would appear that this is due to recompiling CUDA code, so not so much a bug report as the start of a discussion on what could be done.  I'll report back with anything that I find.

Doug Binks

unread,
Oct 15, 2016, 5:44:33 AM10/15/16
to Runtime-Compiled C++
I've been using VS 2015 since it came out, and so far haven't seen this issue. If I can think of anything I'll let you know.

Daniel Moodie

unread,
Apr 8, 2017, 2:23:34 PM4/8/17
to Runtime-Compiled C++
Just checking, do you often use it while the debugger is attached?

Doug Binks

unread,
Apr 9, 2017, 10:16:45 AM4/9/17
to Runtime-Compiled C++
I pretty much always have the debugger attached, and have never had a problem.

Doug Binks

unread,
May 9, 2017, 4:59:04 AM5/9/17
to Runtime-Compiled C++
Adding a note here that this issue has been resolved: https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus/issues/91
Reply all
Reply to author
Forward
0 new messages