Giter VIP home page Giter VIP logo

caltech-image-search's People

Watchers

 avatar

caltech-image-search's Issues

Compilation using Visual Studio (Windows)

I have successfully compiled and used the hierarchical k-means clustering and 
the hierarchical nearest neighbor search MATLAB 2010b under Windows XP after 
changing some parts of your source code (on my computer).

1.
Do you plan to fix the few incompatibilities which prevent the C code from 
compiling in Visual Studio (Windows)?


2.
What I did not manage though, was to compile your project in Visual Studio 2008 
with boost 1.46.1 as a static lib in order to use it in my C++ project. I would 
be glad if you could help me resolving the following error:

error C2678: binary '<' : no operator found which takes a left-hand operand of 
type 'const LshBucket' (or there is no acceptable conversion)
c:\programme\microsoft visual studio 9.0\vc\include\xutility @ Line 285

Can you provide a cmake file which I can use in order to create and compile 
your project in Visual Studio 2008?
Perhaps I forgot to add something apart from the boost library during the setup 
of the project in Visual Studio?


3.
Can you also provide some C code for the hierarchical k-means clustering, i.e. 
the creation of the index structure in C++, especially the assignment of the 
data?
e.g. 10 feature vectors of dimension 8 (new float[8 * 10]).

Original issue reported on code.google.com by [email protected] on 3 Aug 2011 at 10:27

Compilation problem in windows

What steps will reproduce the problem?
1. Compile In Matlab

What is the expected output? What do you see instead?
Mex error
mex -g -O -largeArrayDims mxLshCreate.cpp
ccLsh.cpp ccDistance.cpp

What version of the product are you using? On what operating system?
Matlab 2012b and OpenCV 2.4.3

Please provide any additional information below.
Unale to compile in windows platform

Original issue reported on code.google.com by [email protected] on 20 Mar 2014 at 10:41

compilation on matlab 2010a and ubuntu 11.10

What steps will reproduce the problem?
1. Open Matlab
2. type COMPILE


What is the expected output? What do you see instead?
All *.mexa64 compiled files

What version of the product are you using? On what operating system?
matlab 2010a on ubuntu 11.10 x64 and opencv 2.4.0

this is the error:

ccDistance.cpp: In function ‘void knn(Tret*, uint32_t*, uint32_t, Data<T>&, 
Data<T>&, DistanceType)’:
ccDistance.cpp:425:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:425:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:425:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:430:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:430:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:430:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:435:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:435:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:435:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:440:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:440:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:440:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:445:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:445:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:445:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:449:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:449:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:449:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:454:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:454:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:454:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:459:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:459:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:459:7: error: ‘::infinity’ has not been declared
ccDistance.cpp:464:7: error: ‘numeric_limits’ was not declared in this scope
ccDistance.cpp:464:7: error: expected primary-expression before ‘>’ token
ccDistance.cpp:464:7: error: ‘::infinity’ has not been declared

Original issue reported on code.google.com by [email protected] on 3 Oct 2012 at 11:07

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.