Meaningless Drivel is fun!*
The moose likes C / C++ and the fly likes Unable to run Minipar Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark "Unable to run Minipar Parser" Watch "Unable to run Minipar Parser" New topic
Author

Unable to run Minipar Parser

Ayan Biswas
Ranch Hand

Joined: Jul 10, 2010
Posts: 104
I am tyring to use the Minipar parser.I downloadd it from the following link.MiniparThen I extracted the files and set the environment variable"Minipath" as was directed in the readme file.But when I tried to run "pdemo.cpp"(from dev c++,Windows 7 pc) i get numerous errors as "ptree.h missing" etc.Does anybody know how to solve this?

AyanBiswas
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Well, first of all, I'd be very careful using a library like that available only in binary form from a single non-commercial source; who knows what sort of trojan it might be.

But if you want to proceed, the file pdemo.cpp appears to be a demo program that shows how to use the library. The headers that it uses are all in the "include' directory. When you compile the source file, you have to put that "include" directory in the include path for the project, and you have to link in the library as well.


[Jess in Action][AskingGoodQuestions]
Ayan Biswas
Ranch Hand

Joined: Jul 10, 2010
Posts: 104

Well, first of all, I'd be very careful using a library like that available only in binary form from a single non-commercial source; who knows what sort of trojan it might be.

But if you want to proceed, the file pdemo.cpp appears to be a demo program that shows how to use the library. The headers that it uses are all in the "include' directory. When you compile the source file, you have to put that "include" directory in the include path for the project, and you have to link in the library as well.

@Ernest Friedman-Hill I have linked the library but how yo include the header file in the path of the source file.
and how will i add the library in Ecllipse C/C++ IDE(Hellios) I tried googling it but I could not find it.
Ayan Biswas
Ranch Hand

Joined: Jul 10, 2010
Posts: 104
okay,I have solved the problem by using stanford parser.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run Minipar Parser
 
Similar Threads
Logging as root and using the android emulator's terminal
web service may connect without local server?
Help Downloading the javax.sql
Running PMD coding standards checker on Maven Built code
what are the Threads runs when a java program running?