AlfredoCubitos / qosmic

Automatically exported from code.google.com/p/qosmic
0 stars 1 forks source link

build errors #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 475  apt-cache search qosmic
  476  cd Documents/
  477  cd qosmic/
  478  ls
  479  less README
  480  apt-get install Qt
  481  sudo apt-get install Qt
  482  sudo apt-cache search Qt
  483  ls
  484  less Re
  485  less README
  486  sudo apt-cache search Qt4
  487  sudo apt-cache info qt4-dev-tools
  488  sudo apt-cache show qt4-dev-tools
  489  less README
  490  sudo apt-get install qt4-dev-tools
  491  less README
  492  sudo apt-get install lua-dev
  493  sudo apt-cache search lua
  494  sudo apt-get install liblua5.1-0-dev
  495  less README
  496  sudo apt-cache search flam3
  497  sudo apt-cache search flame
  498  sudo apt-cache search flam
  499  less README
  500  sudo apt-cache search libxml2
  501  sudo apt-get install libxml2
  502  less README
  503  sudo apt-get install libjpeg
  504  sudo apt-cache search libjpeg
  505  less README
  506  sudo apt-get install libjpeg62
  507  wget http://flam3.com/flam3-2.7.18.tar.gz
  508  ls
  509  mkdir flam3
  510  mv flam3-2.7.18.tar.gz flam3
  511  cd flam3/
  512  ls
  513  tar -xf flam3-2.7.18.tar.gz 
  514  ls
  515  mv flam3-2.7.18 ../
  516  cd ../flam3-2.7.18/
  517  ls
  518  less README.txt 
  519  configure
  520  ./configure
  521  sudo apt-get install zlib
  522  sudo apt-cache search zlib
  523  sudo apt-get install zlibc
  524  ./configure
  525  sudo apt-cache search zlib
  526  sudo apt-get install zlib-bin
  527  ./configure
  528  sudo apt-cache search zlib
  529  sudo apt-get install zlib1g
  530  sudo apt-get install zlib1g-dev
  531  ./configure
  532  sudo apt-cache search png
  533  sudo apt-get install libpng
  534  sudo apt-get install libpng12-0
  535  sudo apt-get install libpng12-dev
  536  ./configure
  537  sudo apt-get install libxml2-dev
  538  ./configure
  539  sudo apt-get install libjpeg62-dev
  540  ls
  541  ./configure
  542  make
  543  sudo make install
  544  cd ..
  545  ls
  546  less README
  547  ./build.sh 
  548  qmake
  549  sudo apt-get install libqt4-dev
  550  qmake
  551  less README
  552  sudo apt-get install liblua-dev
  553  sudo apt-get search liblua
  554  sudo apt-cache search liblua
  555  sudo apt-get install liblua5.1-0-dev
  556  less READMEls
  557  ls
  558  vi qosmic.pro 
  559  cd /usr/include/
  560  find -name lua.h
  561  cd 
  562  cd Documents/qosmic/
  563  vi qosmic.
  564  vi qosmic.pro 
  565  cd /
  566  find -name liblua.so*
  567  cd usr
  568  find -name liblua.so*
  569  cd lib
  570  ls
  571  cd 
  572  cd Documents/
  573  cd qosmic/
  574  vi qosmic.
  575  vi qosmic.pro 
  576  cd /usr/lib/
  577  ls
  578  ls liblua*
  579  cd 
  580  cd Documents/
  581  cd qosmic/
  582  qmake
  583  ./configure
  584  ls
  585  ./build
  586  ./build.sh
  587  g++
  588  sudo apt-get install g++
  589  ./build.sh

What is the expected output? What do you see instead?
a build with no errors

What version of the product are you using? On what operating system?
version. 1.4.4 source Ubuntu linux 8.04

Please provide any additional information below.
./build.sh
Building Qosmic
Project MESSAGE: Generating Makefile for Qosmic version 1.4.4
Project MESSAGE: Qt version : 4.3.4
Project MESSAGE: Default number of rendering threads : 2
Project MESSAGE: Location of flam3-palettes.xml : /usr/local/share/flam3
g++ -c -pipe -fpermissive -O2 -D_REENTRANT -w -DPNG_NO_MMX_CODE
-I/usr/local/include -I/usr/include/libpng12 -I/usr/include/libxml2
-DQT_SHARED -DNTHREADS=2 -DNAMEVER='"version 1.4.4"'
-DFLAM3DIR='"/usr/local/share/flam3"' -DSHAREDIR='"/usr/share"'
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++
-I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4
-I/usr/include/lua5.1 -Isrc -I.moc -I.ui -o .obj/mainviewer.o
src/mainviewer.cpp
src/mainviewer.cpp: In constructor ‘MainViewer::MainViewer(QWidget*)’:
src/mainviewer.cpp:107: error: ‘class QGraphicsRectItem’ has no member
named ‘setOpacity’
make: *** [.obj/mainviewer.o] Error 1
error while building qosmic

Original issue reported on code.google.com by deefacto...@gmail.com on 8 Apr 2009 at 6:09

GoogleCodeExporter commented 8 years ago
The setOpacity method was added in Qt 4.5.  If you don't want to upgrade Qt, 
then
deleting line 107 in src/mainviewer.cpp should allow it to compile.  I should 
have
checked this before making a release since it's obviously not compatible with 
Qt 4.3.

Original comment by bit...@gmail.com on 13 Apr 2009 at 11:02

GoogleCodeExporter commented 8 years ago
after commenting out line 107 I get this error message. 

./build.sh
Building Qosmic
Project MESSAGE: Generating Makefile for Qosmic version 1.4.4
Project MESSAGE: Qt version : 4.3.4
Project MESSAGE: Default number of rendering threads : 2
Project MESSAGE: Location of flam3-palettes.xml : /usr/local/share/flam3
g++ -c -pipe -fpermissive -O2 -D_REENTRANT -w -DPNG_NO_MMX_CODE 
-I/usr/local/include
-I/usr/include/libpng12 -I/usr/include/libxml2 -DQT_SHARED -DNTHREADS=2
-DNAMEVER='"version 1.4.4"' -DFLAM3DIR='"/usr/local/share/flam3"'
-DSHAREDIR='"/usr/share"' -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui
-I/usr/include/qt4 -I/usr/include/lua5.1 -Isrc -I.moc -I.ui -o
.obj/doublevalueeditor.o src/doublevalueeditor.cpp
src/doublevalueeditor.cpp: In member function ‘virtual void
DoubleValueEditor::mousePressEvent(QMouseEvent*)’:
src/doublevalueeditor.cpp:84: error: ‘class QMouseEvent’ has no member 
named ‘posF’
src/doublevalueeditor.cpp: In member function ‘virtual void
DoubleValueEditor::mouseMoveEvent(QMouseEvent*)’:
src/doublevalueeditor.cpp:95: error: ‘class QMouseEvent’ has no member 
named ‘posF’
make: *** [.obj/doublevalueeditor.o] Error 1
error while building qosmic

Original comment by deefacto...@gmail.com on 14 Apr 2009 at 5:45

GoogleCodeExporter commented 8 years ago
This one was introduced in Qt 4.4, but using pos() instead of posF() seems to 
work
fine.  I've attached a patch if you want to try once more.  Thank you for 
helping me
find the actual dependency version of Qt.

Original comment by bit...@gmail.com on 14 Apr 2009 at 10:55

Attachments:

GoogleCodeExporter commented 8 years ago
I've installed the Qt. 4.5 by building the source
http://www.qtsoftware.com/downloads/linux-x11-cpp (it took 5 hours to compile). 
After
that it continued to compile qosmic but ran into this error attached. 

Original comment by deefacto...@gmail.com on 15 Apr 2009 at 4:42

Attachments:

GoogleCodeExporter commented 8 years ago
On the line that starts with g++ in your error message there should be an 
option -llua
added to that command, but it's not there.  You can edit the qosmic.pro file to 
try
and resolve this, or you can cut and paste that line from your error message 
and add
the -llua option to the end yourself.

If you want to adjust the qosmic.pro file then remove lua from the PKGCONFIG 
variable,
and adjust the LIBS and INCLUDEPATH according to your setup so it will find 
liblua.

Original comment by bit...@gmail.com on 15 Apr 2009 at 10:14

GoogleCodeExporter commented 8 years ago
It compiled with -llua5.1 added to the LIBS var in qosmic.pro

Thanks for the support.

Original comment by deefacto...@gmail.com on 15 Apr 2009 at 11:30

GoogleCodeExporter commented 8 years ago
I have two words for the coders out there;
"INSTALL BUTTON"

Original comment by harlequi...@yahoo.com on 31 May 2009 at 10:34

GoogleCodeExporter commented 8 years ago
here is a clipped version of my build return.

Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable

and

Package lua was not found in the pkg-config search path.
Perhaps you should add the directory containing `lua.pc'
to the PKG_CONFIG_PATH environment variable

I have no idea where to put these paths in the qosmic.pro file.

Help please.

Original comment by harlequi...@yahoo.com on 31 May 2009 at 10:42

GoogleCodeExporter commented 8 years ago
It would be nice to have some help with this.

Original comment by harlequi...@yahoo.com on 31 May 2009 at 11:02

GoogleCodeExporter commented 8 years ago
since there is no email notification option here, maybe someone could email me 
when
you get around to helping me out on this.
harlequingraphics@yahoo.com

Original comment by harlequi...@yahoo.com on 31 May 2009 at 11:19

GoogleCodeExporter commented 8 years ago
Does the last item in the FAQ section of the BuildAndInstall wiki page not 
help?  It
looks like you are having the same problem.  I'm assuming that you were able to
install flam3 correctly?

BTW, there is an email notification for items in the issues section.  I can 
appreciate
your frustration, but some of the comments you've left haven't encouraged me to 
reply. 
I know it's a pain, but your are trying to make the "Install Button" for your 
system
since the people who created your distribution haven't yet made one.

You can also file a bug with your distribution asking them to include a package 
for
Qosmic.  You won't have to compile, but it may take some time for them to 
respond.

Original comment by bit...@gmail.com on 1 Jun 2009 at 12:10

GoogleCodeExporter commented 8 years ago
the FAQ section didn't help. I have flam3 installed correctly now but I don't 
know 
how to edit the qosmic.pro file. I most likely will have the same problem when 
it 
comes to LUA.

Original comment by harlequi...@yahoo.com on 1 Jun 2009 at 12:36

GoogleCodeExporter commented 8 years ago
Any help on this at all?

Original comment by harlequi...@yahoo.com on 1 Jun 2009 at 1:59

GoogleCodeExporter commented 8 years ago
WOW, this is pretty damn lame.

Original comment by harlequi...@yahoo.com on 1 Jun 2009 at 4:50

GoogleCodeExporter commented 8 years ago
What version of flam3 do you have installed ? and what version of qosmic are you
installing? 

Original comment by deefacto...@gmail.com on 1 Jun 2009 at 5:34

GoogleCodeExporter commented 8 years ago
I installed the latest version of both.

Original comment by harlequi...@yahoo.com on 2 Jun 2009 at 1:55

GoogleCodeExporter commented 8 years ago
do you have Qt. 4.5 ?

Original comment by deefacto...@gmail.com on 2 Jun 2009 at 3:22

GoogleCodeExporter commented 8 years ago
sudo apt-get install liblua5.1-0-dev zlib1g-dev libpng12-dev libxml2-dev 
libjpeg62-dev

build qt 4.5 from source if you cannot find the package. (sudo apt-cache show
qt5-dev-tools)
http://www.qtsoftware.com/downloads/linux-x11-cpp

Original comment by deefacto...@gmail.com on 2 Jun 2009 at 3:34

GoogleCodeExporter commented 8 years ago
and installing those files will edit qosmic.pro for me?

Original comment by harlequi...@yahoo.com on 2 Jun 2009 at 5:39

GoogleCodeExporter commented 8 years ago
I have qt

Original comment by harlequi...@yahoo.com on 2 Jun 2009 at 5:51

GoogleCodeExporter commented 8 years ago
This is really lame. Way to go. Thanks for the help.

Original comment by harlequi...@yahoo.com on 3 Jun 2009 at 9:54

GoogleCodeExporter commented 8 years ago

Original comment by bit...@gmail.com on 4 Jun 2009 at 1:02