VC++ 2008 express (vs2008) – fatal error C1085 … The parameter is incorrect.

Recently while trying to compile wxWidgets for the open source project glest, I kept getting errors in VC++ 2008 express edition related to pre-compiled headers. The errors were:

fatal error C1085 … The parameter is incorrect.

In my case the solution was found here (see Gary Gilbreath’s comment.. especially item #3)

I was compiling on a mapped network drive (in my case using VirtualBox’s shared folders) and VS2008 does NOT like working on pre-compiled headers on network drives. The solution was to change the path of the pre-compiled headers from pointing to my mapped drive (w:) to c:\xx.pch

About the Author

Hello, my name is Mark Vejvoda. I am first and foremost a born again child of God. My life revolves around Jesus Christ, He is the center of my universe. With that said and established, outside of being a Christian, it is necessary to live in a world that is certainly not Christian. Is this diary / blog you see a view on life from the perspective of a Jesus Lover, and perhaps some side effects of that relationship as I interact with the rest of the world. [gallery=1]

Comments are closed.