Broken compiler (i think)

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
Blutti
Posts: 4
Joined: January 28th, 2013, 5:28 pm

Broken compiler (i think)

Post by Blutti » January 28th, 2013, 7:19 pm

Hi,

I've been watching chili's tutorials for c++ for a little while now and followed along. All was fine until lesson number 9. I made new fresh workplace/program directory or w/e by dragging all the files from "Chili DirectX Framework.zip" into a new folder. Then i tried writing some code to make the big square/cube. Then turned Microsoft Visuals off to play some CS:GO.

When i got back from CS:GO however, and wanted to try the actual code. The compiler gave me a shit load of weird errors. I tried to make a new fresh workplace thingy again and again (without even putting any code into it, like Chili showed in Lesson 1). But the errors keep popping up.

But the really strange thing (in my eyes at least) is that:
when i try to compile and run my old Poop program it works just fine, i can even run the eat poop game. But even when i copy all of my Poop program into a new folder it gives me these errors. Anyone have an idea what im doing horribly wrong? I have no clue whats going on.

I tried to reboot Chili DirectX Framework.sln
And I tired to reboot my whole pc, didnt make a difference.

In any case something is broken/wrong im not sure what it is, if you have an idea please let me know.

Thanks in advance.


Im running windows 7 x64 on a pc btw.

Working Poop compile message

Code: Select all

1>------ Build started: Project: Chili DirectX Framework, Configuration: Release Win32 ------
1>  Chili DirectX Framework.vcxproj -> D:\Program Files (x86)\C++ stuff\Chili DirectX Framework poo\Release\Chili DirectX Framework.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
And works just fine



Broken "clean" compile message
I removed like half of the error message cause it was going over the "The maximum number of allowed characters"
The whole message is in the .txt file attached to this post (told you it was a shit load).

Code: Select all

1>------ Build started: Project: Chili DirectX Framework, Configuration: Release Win32 ------
1>  D3DGraphics.cpp
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C2146: syntax error : missing ';' before identifier 'hreftype'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C2146: syntax error : missing ';' before identifier 'memidConstructor'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C2146: syntax error : missing ';' before identifier 'memidDestructor'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C2146: syntax error : missing ';' before identifier 'typekind'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C2146: syntax error : missing ';' before identifier 'memid'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C2146: syntax error : missing ';' before identifier 'memid'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(915): error C2071: '_wireVARIANT::IOleAutomationTypes_v1_0_c_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(916): error C2071: '_wireVARIANT::IOleAutomationTypes_v1_0_s_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(928): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(928): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(955): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(963): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1275): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1275): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1287): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1294): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1707): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1707): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1718): error C2061: syntax error : identifier 'TYPEKIND'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1890): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1890): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2115): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2115): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2136): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2139): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2241): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2274): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(928): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(955): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(963): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1275): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1275): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1287): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1294): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1707): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1707): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1718): error C2061: syntax error : identifier 'TYPEKIND'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1890): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(1890): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2115): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2115): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2136): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2139): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2241): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2274): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2274): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2420): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2420): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2565): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2565): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2588): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2595): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2605): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2609): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2617): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2624): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2631): error C2061: syntax error : identifier 'HREFTYPE'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2635): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2645): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2918): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2955): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(2972): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3070): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3070): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3079): error C2061: syntax error : identifier 'TYPEKIND'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3085): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3090): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3119): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3489): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3545): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3545): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3561): error C2061: syntax error : identifier 'TYPEKIND'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3591): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3793): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3829): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(3829): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4079): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4079): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4184): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4184): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4305): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4305): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4426): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4426): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4505): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4505): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4588): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4588): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4723): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4723): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4980): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(4980): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5063): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5063): error C2238: unexpected token(s) preceding ';'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5179): error C2071: '_wireVARIANT::__MIDL_itf_oaidl_0000_0021_v0_0_c_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5180): error C2071: '_wireVARIANT::__MIDL_itf_oaidl_0000_0021_v0_0_s_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5216): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5228): error C2061: syntax error : identifier 'DISPID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5327): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5335): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5345): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5354): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5367): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5376): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5385): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5394): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5403): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5460): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5469): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5533): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(5542): error C2061: syntax error : identifier 'MEMBERID'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\msxml.h(287): error C2059: syntax error : 'string'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\msxml.h(287): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\urlmon.h(358): error C2059: syntax error : 'string'
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\urlmon.h(358): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\propidl.h(80): error C2059: syntax error : 'string'
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\propidl.h(80): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\objbase.h(1014): error C2059: syntax error : 'string'
1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\objbase.h(1014): fatal error C1003: error count exceeds 100; stopping compilation
1>  Windows.cpp
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C2146: syntax error : missing ';' before identifier 'hreftype'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(606): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C2146: syntax error : missing ';' before identifier 'memidConstructor'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(695): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C2146: syntax error : missing ';' before identifier 'memidDestructor'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(696): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C2146: syntax error : missing ';' before identifier 'typekind'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(699): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C2143: syntax error : missing ';' before '*'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(717): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C2146: syntax error : missing ';' before identifier 'memid'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(789): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C2146: syntax error : missing ';' before identifier 'memid'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(823): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(915): error C2071: '_wireVARIANT::IOleAutomationTypes_v1_0_c_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(916): error C2071: '_wireVARIANT::IOleAutomationTypes_v1_0_s_ifspec' : illegal storage class
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\oaidl.h(928): error C2059: syntax error : 'string'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Attachments
Broken compiler.txt
(60.37 KiB) Downloaded 224 times

Musi
Posts: 106
Joined: November 25th, 2012, 1:06 am

Re: Broken compiler (i think)

Post by Musi » January 29th, 2013, 6:38 am

Did you copy the main folder with all the files in it or did you just copy its contents like Assets and the solution file etc. ? I know the compiler doesn't like it when you move the files outside the parent folder, whether that's your problem i'm not sure.
Musi

There are 10 types of people that understand binary.
Those that do, and those that don't.

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: Broken compiler (i think)

Post by LuX » January 29th, 2013, 12:41 pm

Maybe the game installed directX again? Probably not.
Maybe try to re include the stuff.
ʕ •ᴥ•ʔ

Blutti
Posts: 4
Joined: January 28th, 2013, 5:28 pm

Re: Broken compiler (i think)

Post by Blutti » January 29th, 2013, 3:27 pm

Musi wrote:Did you copy the main folder with all the files in it or did you just copy its contents like Assets and the solution file etc. ? I know the compiler doesn't like it when you move the files outside the parent folder, whether that's your problem i'm not sure.
I just unzipped everything from "Chili DirectX Framework.zip (which i re-downloaded like 5x already)", left it as it is -> runned "Chili DirectX Framework.sln" in there -> didnt change anything, just wait a little for everything to load properly -> start debugging/build solution -> get all of those errors

And i tried to copy my whole "Chili DirectX Framework poo" folder, which includes all of the following:
(folders)
Assets
Chili DirectX Framework
Debug
ipch
Licence
Release

(programs)
Chili DirectX Framework.sdf
Chili DirectX Framework.sln
Chili DirectX Framework.suo

Put the copy on my desktop and tried to run the "Chili DirectX Framework.sln" -> and i get all of the errors again.

and the original still just works fine.

Blutti
Posts: 4
Joined: January 28th, 2013, 5:28 pm

Re: Broken compiler (i think)

Post by Blutti » January 29th, 2013, 3:34 pm

And with compiler i meant the debugging options (Debug --> Startdebugging/F5 and Debug --> buildSolution/F7) which then gives me all that crap in the output window in the bottom, not sure if thats actually compiling.

Blutti
Posts: 4
Joined: January 28th, 2013, 5:28 pm

Re: Broken compiler (i think)

Post by Blutti » January 29th, 2013, 5:02 pm

I re-downloaded and re-installed all the programs mentioned in lesson 1 for about the 3rd time now, BUT it seems to have fixed it self. However if anyone knows what broke it in the first place, please let me know so i can avoid fucking it up again (re-download/installing it all the time is a pain).

Back to the lessons it is i guess.

Thank you anyway :D

Post Reply