weird BIG c++ 2010 error PLEASE HELP

  • some-one
    19th Jan 2013 Member 0 Permalink

    src\PowderToySDL.cpp(616): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(616): error C2228: left of '.version' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(616): error C2227: left of '->major' must point to class/struct/union/generic type

    src\PowderToySDL.cpp(616): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(616): error C2228: left of '.version' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(616): error C2227: left of '->minor' must point to class/struct/union/generic type

    src\PowderToySDL.cpp(616): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(616): error C2228: left of '.version' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(616): error C2227: left of '->patch' must point to class/struct/union/generic type

    src\PowderToySDL.cpp(617): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(618): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(618): error C2228: left of '.info' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(618): error C2228: left of '.x11' must have class/struct/union

    src\PowderToySDL.cpp(618): error C2228: left of '.lock_func' must have class/struct/union

    src\PowderToySDL.cpp(619): error C2065: 'XA_CLIPBOARD' : undeclared identifier

    src\PowderToySDL.cpp(619): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(619): error C2228: left of '.info' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(619): error C2228: left of '.x11' must have class/struct/union

    src\PowderToySDL.cpp(619): error C2228: left of '.display' must have class/struct/union

    src\PowderToySDL.cpp(619): error C3861: 'XInternAtom': identifier not found

    src\PowderToySDL.cpp(620): error C2065: 'XA_TARGETS' : undeclared identifier

    src\PowderToySDL.cpp(620): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(620): error C2228: left of '.info' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(620): error C2228: left of '.x11' must have class/struct/union

    src\PowderToySDL.cpp(620): error C2228: left of '.display' must have class/struct/union

    src\PowderToySDL.cpp(620): error C3861: 'XInternAtom': identifier not found

    src\PowderToySDL.cpp(621): error C2065: 'sdl_wminfo' : undeclared identifier

    src\PowderToySDL.cpp(621): error C2228: left of '.info' must have class/struct/union

    type is ''unknown-type''

    src\PowderToySDL.cpp(621): error C2228: left of '.x11' must have class/struct/union

    src\PowderToySDL.cpp(621): error C2228: left of '.unlock_func' must have class/struct/union

     

     

    i have followed the guide to the letter

     if you could help please do

    thanks

  • Pilihp64
    19th Jan 2013 Developer 0 Permalink

    Looks like jacob1 broke the code for visual studio...  Give him a minute and I'm sure he can fix it (whenever he sees this).

  • jacob1
    19th Jan 2013 Developer 0 Permalink
    ok, I fixed this here. So either download the newer source or just change that manually or something.