I am trying to compile the VIC source files for the the Alpha 2.2 release of the Access Grid Toolkit - I was hoping that someone could help me out. Using the Visual Studio .Net 2003 (VC7) projects, I get syntax errors on compilation of the tcl2c generated C files...(note: TCL/TK 8.0 binaries are already installed on my system)
For example, in the TCLLIB and TKLIB projects the following errors are generated on compilation: ......\ag-media\tcl-8.0\win\lib_word.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_safe.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_parray.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_optparse.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_ldAout.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_init.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_http.c(3): error C2059: syntax error : '}' ......\ag-media\tcl-8.0\win\lib_history.c(3): error C2059: syntax error : '}' ......\ag-media\tk-8.0\win\lib_xmfbox.c(3): error C2059: syntax error : '}' ......\ag-media\tk-8.0\win\lib_tkfbox.c(3): error C2059: syntax error : '}' ......\ag-media\tk-8.0\win\lib_tk.c(3): error C2059: syntax error : '}' ......\ag-media\tk-8.0\win\lib_text.c(3): error C2059: syntax error : '}' ... If I modify any of these files and enter a character place holder in between the curly braces and recompile, the files compile fine; for example: ORIGINAL LIB_HISTORY.C (gives syntax errors) char lib_history[] = {}; MODIFIED LIB_HISTORY.C (compiles fine) char lib_history[] = {'\0'}; Because the TCL/TK 8.0 binaries are already installed on my system, I have tried to bypass the compilation of TCLLIB & TKLIB; however this results in a "[mkcube] usage error at the custom build step" of the compilation process. (Note: I have managed to get a previous version of VIC to compile (libraries and all) with VC6 -> VC7 gives the same problems as above with the previous version) How would I go about fixing these errors and compiling the VIC code? Any help you can give, would be appreciated. Thanks! Siraj