Logo by Trifox - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit us on facebook
 
*
Welcome, Guest. Please login or register. April 20, 2024, 10:33:33 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: problems compiling on linux  (Read 2054 times)
0 Members and 1 Guest are viewing this topic.
TruthSerum
Guest
« on: June 03, 2015, 03:02:04 PM »

I think perhaps I lack some special OpenGL package? I installed all packages in the documentation though.

Quote
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -IFragmentarium/GUI -ISyntopiaCore/Logging -ISyntopiaCore/Math -IFragmentarium/Parser -ISyntopiaCore/Exceptions -ISyntopiaCore/Misc -IThirdPartyCode -IThirdPartyCode/MersenneTwister -I/usr/X11R6/include -I. -o DisplayWidget.o Fragmentarium/GUI/DisplayWidget.cpp
Fragmentarium/GUI/DisplayWidget.cpp: In function ‘QStringList Fragmentarium::GUI::{anonymous}::GetOpenGLFlags()’:
Fragmentarium/GUI/DisplayWidget.cpp:38:25: error: ‘OpenGL_Version_4_1’ is not a member of ‘QGLFormat’
                 if (f & QGLFormat::OpenGL_Version_4_1) s.append("OpenGL4.1");
                         ^
Fragmentarium/GUI/DisplayWidget.cpp:39:25: error: ‘OpenGL_Version_4_2’ is not a member of ‘QGLFormat’
                 if (f & QGLFormat::OpenGL_Version_4_2) s.append("OpenGL4.2");
                         ^
Fragmentarium/GUI/DisplayWidget.cpp:40:25: error: ‘OpenGL_Version_4_3’ is not a member of ‘QGLFormat’
                 if (f & QGLFormat::OpenGL_Version_4_3) s.append("OpenGL4.3");
                         ^
Fragmentarium/GUI/DisplayWidget.cpp: In member function ‘int Fragmentarium::GUI::DisplayWidget::pixelWidth()’:
Fragmentarium/GUI/DisplayWidget.cpp:908:47: error: ‘devicePixelRatio’ was not declared in this scope
             return width() * devicePixelRatio();
                                               ^
Fragmentarium/GUI/DisplayWidget.cpp: In member function ‘int Fragmentarium::GUI::DisplayWidget::pixelHeight()’:
Fragmentarium/GUI/DisplayWidget.cpp:912:48: error: ‘devicePixelRatio’ was not declared in this scope
             return height() * devicePixelRatio();
                                                ^
Fragmentarium/GUI/DisplayWidget.cpp: In member function ‘int Fragmentarium::GUI::DisplayWidget::pixelWidth()’:
Fragmentarium/GUI/DisplayWidget.cpp:909:9: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
Fragmentarium/GUI/DisplayWidget.cpp: In member function ‘int Fragmentarium::GUI::DisplayWidget::pixelHeight()’:
Fragmentarium/GUI/DisplayWidget.cpp:913:9: warning: control reaches end of non-void function [-Wreturn-type]
         }
         ^
Makefile:399: recipe for target 'DisplayWidget.o' failed
make: *** [DisplayWidget.o] Error 1
cp: cannot stat ‘../Fragmentarium-Source’: No such file or directory
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #1 on: June 03, 2015, 03:22:28 PM »

the first 3 errs

Fragmentarium/GUI/DisplayWidget.cpp: Line 38 39 & 40

are RE: Qt5 you are compiling against Qt4

                                install Qt5 + dev pkgs

which linix dist do you use?

edit: the other errs are related to Qt5 too wink
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
claude
Fractal Bachius
*
Posts: 563



WWW
« Reply #2 on: June 03, 2015, 06:03:16 PM »

I ran into this issue on Debian Wheezy (where installing Qt5 would be a nightmare), I have a pending pull request on github which fixes it https://github.com/Syntopia/Fragmentarium/pull/23
Logged
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #3 on: June 03, 2015, 08:32:53 PM »

Sorry about that, Claude. It had escaped my attention, but should be merged now. However, 3dickulus's branch is where the new development is taking place now.
Logged
TruthSerum
Guest
« Reply #4 on: June 03, 2015, 09:34:17 PM »

Thanks, claudes patch fixes the problem.

However, I had to change the version minimum version number to 4.8.6 first.

@Syntopia Do you plan to merge much of the changes from the 3dickulus branch that you speak of?
Logged
3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #5 on: June 04, 2015, 04:13:45 AM »

3dickulus's branch is where the new development is taking place now.

?!?!? uh oh, is that official? maybe I'd better fork it again, I had one but lost it while mucking around with the github features in my IDE... just checked, my name isn't in the list of forks, having my own dedicated web server and network also makes hosting anywhere else seem redundant and I don't really "get" github, total nube on that. I asked for some headsup on here with github but got 0 response.

@Syntopia It is not my intention or desire to take over, just presenting some ideas that I hoped might catch on and make it to the official release coded by someone with better skills and technical aptitude, my version has bugs and flakes (bad coding practices) and I'm not so good at higher math. I have implemented some things requested by FF users but I'm not sure if I did the coding right, if it seems to work I move on to something else (attention span of a gnatt) I'm not sure how "compatible" some of my changes might be with github fork, like no more OS specific build folders, just two files, one CMakeLists.txt for my prefered IDE and one qtcreator.pro file, these two files should be able to handle building for any OS, I also don't want to support Qt4 as the #ifndefs would be cluttering up my view (I feel the same about Win + OSX)

I will continue to hack at and impliment user feature requests like [spacebar] for animation start/stop and infinite looping, just because I find it enjoyable.

on Debian Wheezy (where installing Qt5 would be a nightmare)
you should be able to just install the dev pkgs and libs as they are designed to coexist, Qt4 should still be used by the desktop while Qt5 apps will find what they need, I thought the same thing about SuSE but it's not an issue to have both installed, this should hold true for any *nix based OS

Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Compiling on VS2010 C++ Express Mandelbulber ker2x 6 6053 Last post May 17, 2010, 09:44:59 AM
by ker2x
Compiling Animation? Mandelbulber atemporal 6 3816 Last post October 11, 2012, 03:37:30 AM
by JohnVV
compiling Kalles Fraktaler 2.7.3 on Linux with mingw Kalles Fraktaler « 1 2 » claude 24 14754 Last post December 31, 2014, 12:42:33 PM
by Kalles Fraktaler
compiling Kalles Fraktaler with GCC Kalles Fraktaler 3dickulus 0 5396 Last post January 03, 2015, 09:13:24 PM
by 3dickulus
Error when compiling mandelbulber2-2.10 on debian jessie Mandelbulber freakiebeat 3 4557 Last post April 13, 2017, 12:40:20 PM
by freakiebeat

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.179 seconds with 29 queries. (Pretty URLs adds 0.016s, 2q)