These are chat archives for buddhi1980/mandelbulber2

15th
Jan 2016
Martin
@acidhunter
Jan 15 2016 18:07
hello everybody, nice to see this chatroom :-)
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:07
Hello
Martin
@acidhunter
Jan 15 2016 18:09
can somebody tell me whats the build req. on windows?
i would get mandelbulber roled out via a msi pack to distribute renderings over night in my office ^^
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:09
Are you asking how to build it under windows or how to package it?
Martin
@acidhunter
Jan 15 2016 18:10
only build
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:10
It's longer story, because you need to configure cross-compiller
but win32 nad win64 executables are available
Martin
@acidhunter
Jan 15 2016 18:11
i know, thanks for this
but i want to get it build by myself, never do such things under windows
on osx and linux i got working builds
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:12
I compile windows executables under linux
Martin
@acidhunter
Jan 15 2016 18:14
i read some docs and try to get it running, will came back later if i got questions
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:14
if you go to mandelbulber2/mandelbulber2/deploy/ there you will find two bash files:
setup-cross-compile-to-windows.sh
cross-compile-windows.sh
in mandelbulber2/mandelbulber2/ there is one more needed file: make-package.sh
Martin
@acidhunter
Jan 15 2016 18:14
thank you for your great work!!!
a nice
thx, will try this after reboot, see you soon ;-)
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:15
with trat scrips (you can modify it for your purposes) you can try to get your own executables
Martin
@acidhunter
Jan 15 2016 18:15
are these scripts working on osx?
i am not sure which os i select on reboot^^
Krzysztof Marczak
@buddhi1980
Jan 15 2016 18:16
no, they are prepared for linux
that scrips work well with Debian or Ubuntu
Sebastian Jennen
@zebastian
Jan 15 2016 19:26
i tried a couple of things so far, but nothing is really going to work out:
void RenderWindow::slotFractalSwap(int swapA, int swapB)
{
qDebug() << "swapping " << swapA << " with " << swapB;

    /*cParameterContainer swap = gParFractal->at(swapA);
    gParFractal->at(swapA) = gParFractal->at(swapB);
    gParFractal->at(swapB) = swap;*/
    gMainInterface->SynchronizeInterface(gPar, gParFractal, cInterface::read);
    gParFractal->swap(swapA, swapB);
    gMainInterface->SynchronizeInterface(gPar, gParFractal, cInterface::write);

    QString nameA = ui->tabWidget_fractals->widget(swapA)->objectName();
    ui->tabWidget_fractals->widget(swapA)->setObjectName(
                ui->tabWidget_fractals->widget(swapB)->objectName());
    ui->tabWidget_fractals->widget(swapB)->setObjectName(nameA);
}

with gParFractal->swap:

void cFractalContainer::swap(int swapA, int swapB)
{
    cParameterContainer swap = fractals[swapA];
    fractals[swapA] = fractals[swapB];
    fractals[swapB] = swap;
}
Krzysztof Marczak
@buddhi1980
Jan 15 2016 21:07
Try to do this step by step. First learn how to swap parameters, how to swap widgets or name. Then try do do everything together.