Please Help Me Compile C++ Project

Please Help Me Copile And Create Binary From This Project With you IDE :
https://github.com/pondruska/JigsawPuzzleSolver
i installed library need this Project :
armadillo
Magick++
pthread
boost_thread
this picture of my error :
http://www.mediafire.com/convkey/a788/m79wysd0g446wwozg.jpg
Please Download This Project And Compile
Based on a cursory perusal of the error diagnostic:

You are directly or indirectly including both the headers <tr1/complex> and <complex>

And you appear to have both these using directives at global namespace scope:
1
2
using namespace std;
using namespace tr1; 


There is an ambiguity between std::complex<double> std::conj( const std::complex<double>& )
and std::complex<double> std::tr1::conj( const std::complex<double>& )

The situation with the call to unqualified pow() is the same.

Using a qualified name would make this particular error go away: sum += u * std::conj(v);.
Another option would to get rid of the using directives and let ADL resolve the call to unqualified conj.

The very idea of trying to simultaneously use identical names from both the namespaces std and std::tr1 is fundamentally unsound.

Strongly consider switching to a version of the compiler/library that is not thoroughly obsolete; in addition to the other obvious benefits, you wouldn't have to use the tr1 namespace at all.
Please Help Me Copile This Project And Get Binary :
Possible Access Remote With AnyDesk And Compile Project For Me.
please .
So, you've completely ignored the help JLBorges has given you, and are just going to spam the same question repeatedly?
Consider posting the complete text of the error message(s) that were emitted.
I Solve All Compile Error
but g++ could not find Magick++ library
I install All package Magick++ Package.
http://www.mediafire.com/convkey/d433/klxtz02c30gz3f3zg.jpg
Read the manual.
% man Magick++-config

Note: error messages are text, and so you should post text, rather than pictures.
Last edited on
Ok Sorry . I use Picture Instead Text To better Explanation .
I Installed All Package in Fedora :
ImageMagick
ImageMagick-deve
Imagemagick-c++
.
in ImageMagick Manual :
1
2
3
./configure [ --prefix=/prefix ]
make
make install

I DO NOT KNOW WHERE DEFAULT LOCATION OF MAGICK++ LIBRARY ...
I Uses Demp.cpp : I Downloaded Magick++.cpp and Compiled Successfully and created Executable File :
https://www.mediafire.com/view/ltkzgvgzg2hqwjv/1.png
https://www.mediafire.com/file/7mtayv63tux5goo/2.png
I Need Use Magick++ Library in g++ Compiler Command :
g++ -O2 -o ./bin/puzzle ./src/Puzzle.cpp -l armadillo -l Magick++ -l pthread -l boost_thread
-l Magick++ : Where Location Library Magick++ ?
Let's try again:
mbozzi wrote:
Read the manual.
% man Magick++-config

The answer you are looking for is in the manual. Read it, by running the command I posted.
Last edited on
Topic archived. No new replies allowed.