Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I'm currently using hash_map, applying what I found here:
http://zitronensaft.blogspot.com/2008/02/using-hashmap-on-gcc.html

perhaps I think sparsehash is an interesting alternative

Original comment by [email protected] on 18 Dec 2008 at 8:24

from sparsehash.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
I don't know very much about windows -- I didn't even know it was possible to 
use gcc
on windows with .sln files.  I guess Code::Blocks is some magic program that 
lets you
do that?

I'm not sure what your build environment is, but if you're using gcc on 
windows, the
best solution is to run ./configure && make, just like in unix environments.  
You'll
need cygwin or msys or some other unix-like environment to do that though.

If that's not practical, you'll need to modify the source code to change some 
of the
_WIN32 stuff to look for _MSC_VER instead.  I'll take a look at that when I get 
a
chance, but I don't have a good environment for testing it.

Original comment by [email protected] on 3 Jan 2009 at 1:41

  • Changed state: Accepted

from sparsehash.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 3 Jan 2009 at 4:29

  • Added labels: OpSys-Windows, Priority-Low, Type-Defect

from sparsehash.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
It looks like all the WIN32 code in in src/windows/port.h, which is 
appropriate. 
That file is used by the .sln file, so presumably Code::Blocks is picking it up 
from
there.  You will need to hack src/windows/sparseconfig.h, as well as the other 
files
in that directory, to be appropriate for windows.  (Though if possible, you'd be
better off using './configure && make' and bypassing the src/windows directory
altogether.)

I haven't thought much about how to compile in a windows environment using a 
non-msvc
compiler.  If you'd like to make patches to make that work -- probably changes 
to
windows/port.h and port.cc -- feel free to post them here!  But I'm going to 
close
the bug WontFix for now.

Original comment by [email protected] on 5 Jan 2009 at 9:22

  • Changed state: WontFix

from sparsehash.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Thank you for the answers.
I'm currently busy with other things, but maybe I try it sometime.

Original comment by [email protected] on 6 Jan 2009 at 1:48

from sparsehash.

Related Issues (20)

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.