Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 OpenSuSe 11.3 x64 build failed

open
nobody
None
5
2011-11-01
2011-11-01
Anonymous
No

Hi. I have several problems with Structure Synth.

1st, There is no such file like qmake-qt4. There is only qmake and qmake for qt3 (for support of legacy code) qmqke-qt4 is something Ubuntu\Debian spicific
2nd, I can't get - from which point in file system do I have to run build.sh? If I run it from trunk/Build/Linux it gets error when it tries to create directory Structure Synth
3rd When I have finally built the executable I got segmentation fault on start, with following backtrace:

#1 0x0000000000464f82 in SyntopiaCore::GLEngine::EngineWidget::updatePerspective() ()
#2 0x0000000000466bf7 in SyntopiaCore::GLEngine::EngineWidget::EngineWidget(QMainWindow*, QWidget*) ()
#3 0x00000000004290f7 in StructureSynth::GUI::MainWindow::init() ()
#4 0x0000000000429e16 in StructureSynth::GUI::MainWindow::MainWindow() ()
#5 0x0000000000415449 in main ()

=\

Could you provide some fixes at least for segmentation fault?

Discussion

  • Hi, the scripts are made for Ubuntu - I don't test for other Linux distributions. And I use both Qt3 and Qt4, so I need to call the 'qmake-qt4'.

    build.sh should be run from the directory it is located in. Don't know why you can't create the directory - perhaps a permission thing?

    I'm not sure about the segfault - I just got another error report on it.

    Could you try setting line 418 in EngineWidget.cpp to
    "glViewport(0,0,600,400)" and check if it still crashes? And if this
    doesn't help, try putting in a 'return;' statement in line 410 to skip this
    function?