Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compiling error
#1
Hi guys. Look, whenever I try to release a plugin I get this error, on Visual C++ Express Edition:

1>.\SPU2ghz.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

Can anyone give me some light into this matter? Am I doing something wrong?

This just happens to plugins, I can compile the Pcsx2.exe just fine. I already installed DirectX SDK...

Thanks in advance for taking your time and reading this.
[Image: pibjimh9rqzvk1yz5kl.jpg]

Reply

Sponsored links

#2
(02-09-2009, 12:20 AM)Gentleman Wrote: Hi guys. Look, whenever I try to release a plugin I get this error, on Visual C++ Express Edition:

1>.\SPU2ghz.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'.

Can anyone give me some light into this matter? Am I doing something wrong?

This just happens to plugins, I can compile the Pcsx2.exe just fine. I already installed DirectX SDK...

Thanks in advance for taking your time and reading this.

Visual Studio express intentionally blocks MFC class libraries and headers (afxres.h) from working. Use something else that supports afxres.h (Visual Studio Pro, MinGW, a VS-solution compatible IDE with support with MSVC 2003 toolkit (Code::Blocks), etc.)

It's a bit much to expect from people to have Visual Studio Pro, since it is so expensive, so I included a few other items that will generally work with the sources. The MinGW option is probably not well tested, and is not suggested unless you know how to convert the DirectX SDK from Visual Studio format to MinGW format.
In a life without walls, who needs Windows?
Reply
#3
VS team suite has a 90day free trial, you can use that.
http://www.microsoft.com/downloads/detai...laylang=en
Reply




Users browsing this thread: 1 Guest(s)