Git Product home page Git Product logo

Comments (8)

ameasure avatar ameasure commented on June 20, 2024

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.

luongtieumy avatar luongtieumy commented on June 20, 2024

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.

ameasure avatar ameasure commented on June 20, 2024

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.

luongtieumy avatar luongtieumy commented on June 20, 2024

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.

ameasure avatar ameasure commented on June 20, 2024

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.

luongtieumy avatar luongtieumy commented on June 20, 2024

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.

osman-mian avatar osman-mian commented on June 20, 2024

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.

chuachilog avatar chuachilog commented on June 20, 2024

Maybe you can try to change '__STRING' to use '__STRINGIFY'

from brown-cluster.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.