Skip to Content.
Sympa Menu

illinois-ml-nlp-users - [Illinois-ml-nlp-users] Solved: SNoW compile errors

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

[Illinois-ml-nlp-users] Solved: SNoW compile errors


Chronological Thread 
  • From: Steven Corman <steve.corman AT asu.edu>
  • To: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: [Illinois-ml-nlp-users] Solved: SNoW compile errors
  • Date: Tue, 10 May 2011 16:41:40 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

I was able to get a successful compile of SNoW.  Here are the changes I made.  This is for Fedora Core 14; on other distros your mileage may vary. 

 

·         Make sure you have the “C++ support libraries for GCC” (gcc-c++) installed

·         Networks.cpp: Add #include <string.h>

·         GlobalParams.h: add #include <limits.h>

·         TargetIdSet.h: add #include <ostream> (at the top of the includes to avoid the conditional)

·         SnowParam.cpp: add #include <string.h>

 

You do not need to run gmake test or gmake install.  Once gmake runs normally you should have a working executable.

 

Note to devs:  I got a lot of warnings about “deprecated conversion from string constant to char*” and “deprecated or antiquated header” during the compile.

 

Cheers,

 

Steve

 

____________________________________________________________

Steven R. (Steve) Corman

Herberger Professor, Hugh Downs School of Human Communication

Director, Consortium for Strategic Communication

Arizona State University

http://comops.org

http://www.public.asu.edu/~corman

 




Archive powered by MHonArc 2.6.16.

Top of Page