You are not logged in.

#1 2012-05-21 18:14:01

Warper4
Member
Registered: 2009-11-05
Posts: 25

I can't compile photivo [solved]

Hi:
I have problems to compile photivo. I have the error:

../Sources/ptDcRaw.cpp: En la función miembro ‘void ptDcRaw::parse_redcine()’:
../Sources/ptDcRaw.cpp:6320:30: aviso: comparación entre expresiones enteras signed y unsigned [-Wsign-compare]
../Sources/ptDcRaw.cpp: En la función miembro ‘void ptDcRaw::tiff_head(tiff_hdr*)’:
../Sources/ptDcRaw.cpp:8215:21: error: no se puede encontrar un operador literal de cadena ‘operator DCRAW_VERSION’
make[1]: *** [../Objects/ptDcRaw.o] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-rafa/aur-photivo-hg/src/photivo-build/photivoProject'
make: *** [sub-photivoProject-make_default] Error 2

I installed dcraw, but not resolv the problem

Many thank's in advance
Regards
Rafa

Last edited by Warper4 (2012-05-25 17:17:15)

Offline

#2 2012-05-21 19:03:29

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: I can't compile photivo [solved]

Offline

#3 2012-05-21 19:07:40

Warper4
Member
Registered: 2009-11-05
Posts: 25

Re: I can't compile photivo [solved]

Thank you swanson, but libkdcraw is installed

Offline

#4 2012-05-25 17:17:56

Warper4
Member
Registered: 2009-11-05
Posts: 25

Re: I can't compile photivo [solved]

New update in photivo code solved the problem

Offline

#5 2013-04-04 19:40:45

lemondreas
Member
Registered: 2011-05-11
Posts: 32

Re: I can't compile photivo [solved]

i use this thread for further compile errors, ok?

So there is a new issue with photivo. Seems that the errors are somehow related to qt4.

Nevermind. It's a problem with this "pointer"-thing. I really have no idea how to handle this.

Thats what i got:

compiling ../Sources/batch/ptBatchWindow.cpp
In file included from /usr/include/qt4/QtCore/QtCore:53:0,
                 from ../Sources/ptSettings.h:27,
                 from ../Sources/batch/ptBatchWindow.cpp:25:
/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, ReduceFunctor)':
/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs]
     typedef typename Sequence::const_iterator Iterator;
                                               ^
In file included from ../Sources/ptDcRaw.h:125:0,
                 from ../Sources/ptSettings.h:31,
                 from ../Sources/batch/ptBatchWindow.cpp:25:
../Sources/ptDefines.h: At global scope:
../Sources/ptDefines.h:53:1: error: 'unique_ptr' in namespace 'std' does not name a type
 std::unique_ptr<T> make_unique(Args&& ...args) {
 ^
In file included from ../Sources/ptChoice.h:32:0,
                 from ../Sources/ptSettings.h:33,
                 from ../Sources/batch/ptBatchWindow.cpp:25:
../Sources/filters/ptCfgItem.h:113:5: error: 'shared_ptr' in namespace 'std' does not name a type
     std::shared_ptr<ptCurve>  Curve;
     ^
../Sources/filters/ptCfgItem.h:176:3: error: 'shared_ptr' in namespace 'std' does not name a type
   std::shared_ptr<ptCurve> Curve;
   ^
make[1]: *** [ptBatchWindow.o] Error 1
make[1]: Leaving directory `/home/k3nd9ue/Downloads/photivo-hg/src/photivo-build/photivoProject'
make: *** [sub-photivoProject-make_default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

ok, i came so far:
Seems that g++ has to work with "g++ -std=c++0x" but i don't know where to change this. There's so much code wink

Last edited by lemondreas (2013-04-04 20:18:32)

Offline

#6 2013-04-04 20:51:10

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: I can't compile photivo [solved]

Solved thread, old thread, different error..

I suggest a new thread.

Offline

Board footer

Powered by FluxBB