compiling errors

  • BLISax
    6th Feb 2011 Member 0 Permalink
    i have read the wiki and when i press the green button it says things and if i scroll up on the report i see
    1>src\main.c(1200): error C2146: syntax error : missing ';' before identifier 'fmt'
    1>src\main.c(1200): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1202): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1202): error C2224: left of '.freq' must have struct/union type
    1>src\main.c(1203): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1203): error C2224: left of '.format' must have struct/union type
    1>src\main.c(1204): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1204): error C2224: left of '.channels' must have struct/union type
    1>src\main.c(1205): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1205): error C2224: left of '.samples' must have struct/union type
    1>src\main.c(1206): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1206): error C2224: left of '.callback' must have struct/union type
    1>src\main.c(1207): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(1207): error C2224: left of '.userdata' must have struct/union type
    1>src\main.c(1209): error C2065: 'fmt' : undeclared identifier
    1>src\main.c(2337): error C2143: syntax error : missing ';' before 'type'
    1>src\main.c(2338): error C2065: 'buff2' : undeclared identifier
    1>src\main.c(2338): error C2065: 'buff2' : undeclared identifier
    1>src\main.c(2339): error C2065: 'buff2' : undeclared identifier
    1>src\main.c(2340): error C2065: 'buff2' : undeclared identifier
    1>src\main.c(2729): error C2143: syntax error : missing ';' before 'type'
    1>src\main.c(2730): error C2143: syntax error : missing ';' before 'type'
    1>src\main.c(2731): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2731): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2732): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2732): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2733): error C2143: syntax error : missing ';' before 'type'
    1>src\main.c(2734): error C2143: syntax error : missing ';' before 'type'
    1>src\main.c(2735): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2736): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2738): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2738): error C2109: subscript requires array or pointer type
    1>src\main.c(2740): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2740): error C2109: subscript requires array or pointer type
    1>src\main.c(2740): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2740): error C2109: subscript requires array or pointer type
    1>src\main.c(2741): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2741): error C2109: subscript requires array or pointer type
    1>src\main.c(2742): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2742): error C2109: subscript requires array or pointer type
    1>src\main.c(2742): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2742): error C2109: subscript requires array or pointer type
    1>src\main.c(2744): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2744): error C2109: subscript requires array or pointer type
    1>src\main.c(2744): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2744): error C2109: subscript requires array or pointer type
    1>src\main.c(2746): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2750): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2750): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2753): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2754): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2761): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2761): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2761): error C2109: subscript requires array or pointer type
    1>src\main.c(2764): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2764): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2764): error C2109: subscript requires array or pointer type
    1>src\main.c(2768): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2768): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2768): error C2109: subscript requires array or pointer type
    1>src\main.c(2771): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2771): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2771): error C2109: subscript requires array or pointer type
    1>src\main.c(2772): error C2065: 'tokensize' : undeclared identifier
    1>src\main.c(2774): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2774): error C2065: 'tokens' : undeclared identifier
    1>src\main.c(2777): error C2065: 'fileread' : undeclared identifier
    1>src\main.c(2777): error C2109: subscript requires array or pointer type
    1>src\main.c(2782): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2785): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2787): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2787): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2789): error C2065: 'pch' : undeclared identifier
    1>src\main.c(2789): error C2065: 'pch' : undeclared identifier
    the wiki says something about linking files could somebody tell me what this all means
  • PizzaPlatypus
    6th Feb 2011 Member 0 Permalink
    DO WHAT THE WIKI SAYS ABOUT LINKING FILES!!!!!!!!!!!!!!!!!!!!!!!!!
  • Dragonfree97
    6th Feb 2011 Member 0 Permalink
    @PizzaPlatypus
    Gawd, don't cry.

    If you're using the newest version of Visi C++, the instructions on the wiki should work fine if you follow them exactly.
  • BLISax
    6th Feb 2011 Member 0 Permalink
    im no sure what that means and how to do it. i attempted to "link" the folder with all the header files and it gave me more errors saying 'elements.h' No such file or directory , sdl, regex.h, defines.h, update.h, md5.h,and bzlib.h???
  • pilojo
    6th Feb 2011 Member 0 Permalink
    @BLISax
    WINDOWS WILL NOT WORK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Pilihp64
    6th Feb 2011 Developer 0 Permalink
    windows will not compile currently, it is being fixed, although it is just initializer problems, you can move them up to the beginning of the function and it should work. If not just wait a bit.
  • whizkid22298
    6th Feb 2011 Member 0 Permalink
    it will work just fine on my windows computer.
  • Neospector
    6th Feb 2011 Member 0 Permalink
    @pilojo
    @PizzaPlatypus
    Clam down.

    PizzaPlatypus:

    DO WHAT THE WIKI SAYS ABOUT LINKING FILES!!!!!!!!!!!!!!!!!!!!!!!!!

    Actually, do do it. The only trouble I receive on windows is the undeclared identifiers in the elements folders, which as I understand is currently unfixable.
  • Pilihp64
    6th Feb 2011 Developer 0 Permalink
    @Neospector
    those were already fixed lol
  • Neospector
    6th Feb 2011 Member 0 Permalink
    @cracker64
    image
    Behind the loop again, time to compile!
    image