Thread: Unable to run Minipar Parser

  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    5

    Unable to run Minipar Parser

    I am trying to run the minipar parser from a windows pc using dev-c++.the link is MINIPAR Home Page.I created the environment variable "MINIPATH" as was said in the documentation and linked the library but when I tried to run the pdemo.cpp file I get a huge list of errors .
    a portion of the compiler log is::




    F:/minipar/pdemo/pdemo.cpp:20:19: ptree.h: No such file or directory
    F:/minipar/pdemo/pdemo.cpp:33: error: expected `,' or `...' before '*' token


    F:/minipar/pdemo/pdemo.cpp:34: error: ISO C++ forbids declaration of `ParseNode' with no type
    F:/minipar/pdemo/pdemo.cpp: In function `void print_triples(int)':
    WHAT TO DO?PLEASE HELP

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    In something like project->settings->compiler you need to locate where you can add pre-processor search paths.

    When you do find it, add
    ../include

    to the list of paths to be searched.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    5
    okay I could not find how to add pre-processor search paths in DEV c++

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. XML parser in C
    By slash_axl in forum C Programming
    Replies: 2
    Last Post: 09-14-2010, 09:21 PM
  2. SAX XML Parser
    By magic.mike in forum C++ Programming
    Replies: 1
    Last Post: 12-24-2008, 09:52 AM
  3. C++ Parser
    By LordBronz in forum C++ Programming
    Replies: 6
    Last Post: 09-24-2006, 12:10 PM
  4. Parser Help
    By Barnzey in forum C++ Programming
    Replies: 10
    Last Post: 10-26-2005, 12:10 PM
  5. which parser to use?
    By Ruchikar in forum Windows Programming
    Replies: 0
    Last Post: 07-25-2002, 02:02 AM