Comments (8)
I figured it out, it doesn't seem to work with newer versions of g++. It compiles fine with g++ 4.4.
from brown-cluster.
I got the same problem. But when I installed MinGW with g++ 4.4.0, it can't compile and I get same errors:
C:\Users\luongtieumy2000\brown-cluster-master>make
g++ -Wall -g -o wcluster.o -c wcluster.cc
wcluster.cc: In function 'void repcheck()':
wcluster.cc:431: error: 'STRING' was not declared in this scope
wcluster.cc:432: error: 'STRING' was not declared in this scope
wcluster.cc: In function 'int main(int, char*)':
wcluster.cc:1072: error: '__STRING' was not declared in this scope
make: ** [wcluster.o] Error 1
Would you please show me how I can fix these error?
from brown-cluster.
Did you change g++ 4.4.0 to be your default compiler? Type g++ --version on the command line, which version does it say it is?
from brown-cluster.
Dear Alexander Measure,
I got this:
C:\Users\luongtieumy2000>g++ --version
g++ (GCC) 4.4.0
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please give me how to fix error.
Thank you very much!
On Thursday, October 10, 2013 10:34 PM, Alexander Measure [email protected] wrote:
Did you change g++ 4.4.0 to be your default compiler? Type g++ --version on the command line, which version does it say it is?
—
Reply to this email directly or view it on GitHub.
from brown-cluster.
I'm not sure why it isn't working for you. The only thing I can think of is that I might have done this in Ubuntu instead of on Windows.
from brown-cluster.
Thanks. If you can think out about this problem, please tell me.
Best regards,
On Monday, October 14, 2013 2:41 AM, Alexander Measure [email protected] wrote:
I'm not sure why it isn't working for you. The only thing I can think of is that I might have done this in Ubuntu instead of on Windows.
—
Reply to this email directly or view it on GitHub.
from brown-cluster.
I am trying to compile this on Windows7 and getting the same errors
'__STRING' was not declared in this scope
[Note] in expansion of macro 'define_str '
Please help!
from brown-cluster.
Maybe you can try to change '__STRING' to use '__STRINGIFY'
from brown-cluster.
Related Issues (15)
- A library for brown clustering? HOT 1
- Broken link to thesis HOT 2
- When size of data is large (over 100 MB), Brown-cluster program will be killed. How can I fix this error? HOT 2
- what are these results? HOT 1
- Is there any limit for the vocab size (#types)? HOT 5
- Is it possible to cluster new documents without relearning everything? HOT 2
- Running The code HOT 2
- what happened if length of text is bigger than INT_MAX ?
- Clustering perplexity measure
- basic/prob-utils.cc:8:37: error: ‘M_PI’ was not declared in this scope HOT 1
- How to choose optimized number of cluster for specific input corpus ?
- Question
- how Paths2map is used
- Speed up with compiler optimization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brown-cluster.