-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error C2873: 'u8_t' : symbol cannot be used in a using-declaration #15
Comments
SIFT is using C++11/C++14 features which apparently aren't supported from your current IDE. I recommend Clion. A cmake file is already there: https://github.com/snowiow/SIFT/blob/master/CMakeLists.txt |
Hi Dgame, As per your recommendation, i have install Clion 2017.1, And created new project with c++14. After that build and Run SIFT library, but not got success to run. Output after Build: Output after RUN, go to "Run->Run sift": |
I am getting following error while run sift in Clion. please help me, I am not able to solve. If you need more detail regarding this issue, then please tell me.
|
It seems that you don't have all needed lib-files. @snowiow Are those lib files public? |
Which lib-files? i don't understand |
we will be always thankful for you, if you create pre-build binary of SIFT-master for windows and linux |
there all library already installed, but not able to build, I am getting same error as like above |
I don't have windows installed, so I can't provide you an exe. But somehow your mingw environment is missing the libjpeg.lib. You should have a look, if the lib is in place. If it is, your build procedure misses to link the library. Add this to your argument list: |
how can i find libjpeg.lib? is this file of separate package? If missing how can i get from and install? how can i add -1jpeg in argument list. please suggest me as beginner. i am a new in cmake project. i have only basic knowledge of c++. my goal is not to create any new project in c++. actually i am PHP developer and want to run SIFT-master(sift.exe) by command line in my PHP project. Currently, In my system i have installed following require components.
I have try some solution from this link. but getting error |
I think the mingw distro needs it's own packages, because it's a distro on it's own. If you've installed the libraries for windows it could be the case that the make utility inside of mingw doesn't know about those libraries. (Just an assumption). A bit of background about this project: It was made in a very short period of time, during an university project. We kept the code online, so other people, who intend to implement it, get a glimpse on how they could do it. That said, this implementation is just experimental. I wouldn't suggest running this program in any kind of productive environment, because it's performance is far from perfect. It already needs way above 10 minutes for calculating the features on only medium sized pictures. Have a look at this small benchmark. On wallpaper sized images, this algorithm could run for days. If this isn't important to you, I can try to provide an exe by setting up a windows VM. Otherwise I suggest, you will have a look for more production ready implementations of this algorithm. |
No problem with time, because all my image size is less than 200px. I am facing so many problem to create exe, because i am new in CMake, all my problem will be fix if you create exe for window and linux. thank you |
I've created a windows machine and downloaded mingw etc. I'm getting the same error as you now. It seems to be a problem with vigra. The missing lib is in the |
I forgot to mention. The path looks like it is a virtual environment for anaconda ( which is a python distribution). The vigra site says something about this:
But normally we don't need those python bindings, because we are using the c++ version. |
Just tried to satisfy that location. Create the path |
Hello snowiow, thank you for great support, As per your suggestion, i have created that missing directory and copied all files from vigra to that directory, after that i got success to fix that 'libjpeg.lib' missing error. but now i am getting new following error. please suggest me. |
Ive provided an executable under |
Hello snowiow, |
Hi, I am PHP developer. i have only basic knowledge about c++ language. I want to use command line SIFT algoritham in PHP. But i am getting following error while compiling in visual studio 2012. please suggest me
compile-error.txt
The text was updated successfully, but these errors were encountered: