Stranica: 1/1.

PixelStruct

Postano: 16 srp 2010, 23:07
Postao/la ace_ubuntu
Pozdrav,

Naišla sam na zanimljiv programčić koji me zeza kod instalacije (na distri 10.04, ubuntu)

kao što na topic-u piše, riječ je o alatu PixelStruct http://da.vidr.cc/projects/pixelstruct/

prije nego što pokrenete make u direktoriju alata trebate imati instalirano slijedeće (libqt4-dev libcgal-dev cmake g++), nakon toga pokrenite make u direktoriju alata.....ja to napravim i dobijem dvije greške, dakle od instalacije ništa

Ovaj alat još koristi slijedeći sustav koji se zove Bundler, njega možete skinuti sa slijedeće adrese http://phototour.cs.washington.edu/bundler/ instalacija isto kao i za PixelStruct, no ne treba nikakvih dodataka, barem u manualu nije pisalo....pokrenem make u njegovom direktoriju i opet dobijem dvije greške...

jedan lik ima isti problem, ali mu nitko ne odgovara http://ubuntuforums.org/showthread.php? ... ost9162733

Ima li tko kakvih iskustva s tim alatom?.....Ako imate kakav dobar savjet što još napraviti bila bih vam zahvalna....

Re: PixelStruct

Postano: 17 srp 2010, 06:18
Postao/la drade
Pozdrav,

Bilo bi lakse utvrditi sto je poslo po zlu kada bi uz svoj post prikljucila output make komande.

D.

Re: PixelStruct

Postano: 17 srp 2010, 13:20
Postao/la ace_ubuntu
Evo outputa make komande u direktoriju pixelstruct-0.2

Kod: Označi sve

mkdir -p build
cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ansaj/pixelstruct-0.2/build
make[1]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[2]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
[  7%] Building CXX object src/CMakeFiles/pixelstruct.dir/commonplane.cpp.o
In file included from /home/ansaj/pixelstruct-0.2/src/commonplane.h:27,
                 from /home/ansaj/pixelstruct-0.2/src/commonplane.cpp:16:
/usr/include/CGAL/linear_least_squares_fitting_3.h: In function ‘typename Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, typename Kernel::Point_3&, const Tag&, const Kernel&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Kernel = CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Kernel, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’:
/usr/include/CGAL/linear_least_squares_fitting_3.h:76:   instantiated from ‘typename CGAL::Kernel_traits<Object>::Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’
/usr/include/CGAL/linear_least_squares_fitting_3.h:93:   instantiated from ‘typename CGAL::Kernel_traits<Object>::Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’
/home/ansaj/pixelstruct-0.2/src/commonplane.cpp:68:   instantiated from here
/usr/include/CGAL/linear_least_squares_fitting_3.h:58: error: no matching function for call to ‘linear_least_squares_fitting_3(__gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >&, __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >&, CGAL::Plane_3<CGAL::Cartesian<double> >&, CGAL::Point_3<CGAL::Cartesian<double> >&, CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, typename Kernel::Point_3&, const Tag&, const Kernel&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Kernel = CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Kernel, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Value_type*, const CGAL::Cartesian<double>&, const CGAL::Point_3<CGAL::Cartesian<double> >&)’
make[3]: *** [src/CMakeFiles/pixelstruct.dir/commonplane.cpp.o] Error 1
make[3]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[2]: *** [src/CMakeFiles/pixelstruct.dir/all] Error 2
make[2]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make: *** [all] Error 2
Evo outputa make komande u direktoriju bundler-v0.4-source

Kod: Označi sve

cd lib/5point; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/5point'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/5point'
cd lib/ann_1.1_char; make linux-g++-shared
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char'
cd src ; make linux-g++-shared
make[2]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make targets \
	"ANNLIB = libANN_char.so" \
	"C++ = g++" \
	"CFLAGS = -g2 -fPIC" \
	"MAKELIB = g++ -shared -o " \
	"RANLIB = true"
make[3]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[3]: Nothing to be done for `targets'.
make[3]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[2]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char'
cd lib/imagelib; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/imagelib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/imagelib'
cd lib/matrix; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/matrix'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/matrix'
cd lib/sba-1.5; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/sba-1.5'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/sba-1.5'
cd lib/sfm-driver; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/sfm-driver'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/sfm-driver'
cd lib/minpack; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/minpack'
gcc -O2 -ffast-math  -c -o dpmpar.o dpmpar.f
gcc: error trying to exec 'f951': execvp: No such file or directory
make[1]: *** [dpmpar.o] Error 1
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/minpack'
make: *** [default] Error 2

Re: PixelStruct

Postano: 17 srp 2010, 16:33
Postao/la drade
ace_ubuntu je napisao/la:Evo outputa make komande u direktoriju pixelstruct-0.2

Kod: Označi sve

mkdir -p build
cd build && cmake .. && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ansaj/pixelstruct-0.2/build
make[1]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[2]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[3]: Entering directory `/home/ansaj/pixelstruct-0.2/build'
[  7%] Building CXX object src/CMakeFiles/pixelstruct.dir/commonplane.cpp.o
In file included from /home/ansaj/pixelstruct-0.2/src/commonplane.h:27,
                 from /home/ansaj/pixelstruct-0.2/src/commonplane.cpp:16:
/usr/include/CGAL/linear_least_squares_fitting_3.h: In function ‘typename Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, typename Kernel::Point_3&, const Tag&, const Kernel&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Kernel = CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Kernel, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’:
/usr/include/CGAL/linear_least_squares_fitting_3.h:76:   instantiated from ‘typename CGAL::Kernel_traits<Object>::Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’
/usr/include/CGAL/linear_least_squares_fitting_3.h:93:   instantiated from ‘typename CGAL::Kernel_traits<Object>::Kernel::FT CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]’
/home/ansaj/pixelstruct-0.2/src/commonplane.cpp:68:   instantiated from here
/usr/include/CGAL/linear_least_squares_fitting_3.h:58: error: no matching function for call to ‘linear_least_squares_fitting_3(__gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >&, __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >&, CGAL::Plane_3<CGAL::Cartesian<double> >&, CGAL::Point_3<CGAL::Cartesian<double> >&, CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, typename Kernel::Point_3&, const Tag&, const Kernel&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Kernel = CGAL::linear_least_squares_fitting_3(InputIterator, InputIterator, Object&, Point&, const Tag&) [with InputIterator = __gnu_cxx::__normal_iterator<const CGAL::Point_3<CGAL::Cartesian<double> >*, std::vector<CGAL::Point_3<CGAL::Cartesian<double> >, std::allocator<CGAL::Point_3<CGAL::Cartesian<double> > > > >, Object = CGAL::Plane_3<CGAL::Cartesian<double> >, Point = CGAL::Point_3<CGAL::Cartesian<double> >, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Kernel, Tag = CGAL::Point_3<CGAL::Cartesian<double> >]::Value_type*, const CGAL::Cartesian<double>&, const CGAL::Point_3<CGAL::Cartesian<double> >&)’
make[3]: *** [src/CMakeFiles/pixelstruct.dir/commonplane.cpp.o] Error 1
make[3]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[2]: *** [src/CMakeFiles/pixelstruct.dir/all] Error 2
make[2]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ansaj/pixelstruct-0.2/build'
make: *** [all] Error 2
Evo outputa make komande u direktoriju bundler-v0.4-source

Kod: Označi sve

cd lib/5point; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/5point'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/5point'
cd lib/ann_1.1_char; make linux-g++-shared
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char'
cd src ; make linux-g++-shared
make[2]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make targets \
	"ANNLIB = libANN_char.so" \
	"C++ = g++" \
	"CFLAGS = -g2 -fPIC" \
	"MAKELIB = g++ -shared -o " \
	"RANLIB = true"
make[3]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[3]: Nothing to be done for `targets'.
make[3]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[2]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char/src'
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/ann_1.1_char'
cd lib/imagelib; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/imagelib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/imagelib'
cd lib/matrix; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/matrix'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/matrix'
cd lib/sba-1.5; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/sba-1.5'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/sba-1.5'
cd lib/sfm-driver; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/sfm-driver'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/sfm-driver'
cd lib/minpack; make
make[1]: Entering directory `/home/ansaj/bundler-v0.4-source/lib/minpack'
gcc -O2 -ffast-math  -c -o dpmpar.o dpmpar.f
gcc: error trying to exec 'f951': execvp: No such file or directory
make[1]: *** [dpmpar.o] Error 1
make[1]: Leaving directory `/home/ansaj/bundler-v0.4-source/lib/minpack'
make: *** [default] Error 2
Pokusaj instalirati sljedeci set paketa pa pokusaj pokrenuti make komandu ponovno (ovo je nacelno za Bundler problem):
sudo aptitude install build-essential gfortran
Pretpostavljam da je distribucija Ubuntu ? Mozes li potvrditi tu pretpostavku ili navesti tocno koju distru koristis i trenutnu verziju iste.

D.

Re: PixelStruct

Postano: 18 srp 2010, 13:06
Postao/la ace_ubuntu
Ne mogu to instalirati, ne može autentificirati pakete, i samo mi javlja proxy error....tak da ništa s toga :)
svejedno hvala.....

napisala sam u prvom postu, ubuntu 10.04

makar probat ću na 8.04 na starom kompu sve od početka, možda će tamo primiti...

izgleda da 10.04 još uvijek ima velike probavne smetnje, sve dalje sve gore verzije distre radi Canonical.....8.04 je još najbolji...možda se još poprave, imaju 5 godina :lol:

Re: PixelStruct

Postano: 18 srp 2010, 13:08
Postao/la Suko
9.10 je najbolji. ;)

Re: PixelStruct

Postano: 18 srp 2010, 15:45
Postao/la ace_ubuntu
Suko je napisao/la:9.10 je najbolji. ;)
svi imamo neku verziju koja nam je najdraža, a što ćeš :D....

što se tiče ovog alata, sve mi se nekako čini da je to još u razvoju, pa su zato takve komplikacije, možda se varam....no pročitala sam na službenim stranicama autora ,da je alat u .deb formatu na njegovoj TO DO listi, nadam se da će doći do toga....a i poslala sam mu i poruku, sad, dal' će odgovorit ili ne, tko zna....ako mi odgovori postam ovdje :)

Re: PixelStruct

Postano: 18 srp 2010, 18:03
Postao/la Lutherus
ace_ubuntu je napisao/la:
Suko je napisao/la:9.10 je najbolji. ;)
svi imamo neku verziju koja nam je najdraža, a što ćeš :D....

što se tiče ovog alata, sve mi se nekako čini da je to još u razvoju, pa su zato takve komplikacije, možda se varam....no pročitala sam na službenim stranicama autora ,da je alat u .deb formatu na njegovoj TO DO listi, nadam se da će doći do toga....a i poslala sam mu i poruku, sad, dal' će odgovorit ili ne, tko zna....ako mi odgovori postam ovdje :)
6.10 je bil najbolji -)