Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Measurement Studio 2010 has caused error PRJ00003 errors in VC Projects

After installing MS 2010, I tried opening and even creating a basic project from existing code and when compiling, I am now getting the following error:

 

error PRJ00003: Error spawning 'rc.exe'

which seems related to not being able to find kernel32.lib

 

Anyone know any insight about this?  I've found lots of other people having this issue and it seems some path or something got messed up.  Just wanted to check to see if anyone else had this happen.

 

Some system info

C:\Program Files\Microsoft SDKs\Windows has v5.0 folder with Include and Lib\IA64 folders (kernel32.lib is in there) and a v6.0A folder which has an empty bin folder and Bootstrapper with bunches of stuff

 

And my MVS folder is such: C:\Program Files\Microsoft Visual Studio 9.0

And regedit sdk key has CurrentIA64Folder and Version as the two keys pointing to v5.0

 

0 Kudos
Message 1 of 4
(5,917 Views)

Hi ngay588,

 

I have a couple of questions about what you are experiencing:

 

1. Is this happening  with all projects or do projects not using Measurement Studio functions compile successfully?

2. I'm assuming you are building Visual C++ projects, but have you tried compiling other projects in Visual Studio?

3. What version of Visual Studio are you using?

 

Also, some things to check:

1.  Some people who have ahd this problem found that their virus scanner thought rc.exe was an infected file and was isolating it.

2. Check to see if rc.exe is located in the following:

    C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
    C:\Program Files\Microsoft Visual Studio\VB98\Wizards
    C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin
    C:\Program Files\Microsoft Visual Studio 8\VC\bin 

 

 

Regards,

Hassan Atassi
Senior Group Manager, Digital Support
0 Kudos
Message 2 of 4
(5,888 Views)

1. The project that is not working is not Measurement Studio related and is not using any functions.

2. Other projects have compiled correctly in VC++, I'm just not sure why some are and some aren't.  A VB project of mine has compiled correctly though.

3. VS 2008 and i have .NET 2003

 

rc.exe is located in teh following areas in Program Files:

 

...\Microsoft Visual Studio .NET 2003\Vc7\bin\rc.exe

...\Microsoft Visual Studio .NET 2003\Common7\Tools\Bin\RC.Exe

...\National Instruments\CVI2009\sdk\bin\RC.Exe

...\National Instruments\CVI2010\sdk\bin\RC.Exe

 

So it doesn't look like it is located in the correct location for VS 2008.  Would reinstalling Visual Studio fix this, or do I just need to copy it somewhere?

 

 

0 Kudos
Message 3 of 4
(5,881 Views)

Hi ngay 528,

 

Doing a bit of internet research it seems the reinstalling Visual Studio did fix the problem for some, so you might want to give that a try. 

Regards,

Hassan Atassi
Senior Group Manager, Digital Support
0 Kudos
Message 4 of 4
(5,859 Views)