Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Martin
@acidhunter
thank you for this awesome work!!!
Martin
@acidhunter
something was wrong with the compiler ;-(
wrong binary format
i will look into this ;-)
Krzysztof Marczak
@buddhi1980
probably you dodn't do cross-compilation but just regular
Martin
@acidhunter
thats my first try to crosscompile, so this can be my fault
Krzysztof Marczak
@buddhi1980
if you go to mandelbulber2/deploy folder there are scrips to cross-build mandelbulber for win32 and win64
based on that you can create scrips for arm architecture
Martin
@acidhunter
i think this was missing:
CFLAGS=--sysroot=$SYSROOT ./configure --host=$HOST
i take a look to your scripts
Krzysztof Marczak
@buddhi1980
probably you need to compile qt libs, zlib, libpng, libgsl
Martin
@acidhunter
no, these packages are in the default raspian repos
Krzysztof Marczak
@buddhi1980
But not under linux. They are needed for linker
On the machine where you are doing cross-compilation you need to have all arm7 libraries. Maybe you can copy them from rasp
Martin
@acidhunter
that is was this docker image does
it builds a full raspian setup if u want
i installed the arm packages from their repo
ahh
QMAKE = /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
^^
rpxc-user@8a9822a057ce:/build/mandelbulber2-2.08-3$ qmake --version
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu
okay i think iam wrong
Martin
@acidhunter
i did a mistake while starting the container
i started from ground, now it uses qemu and downloads arm packages
will it work with mandelbulber2-2.08-3.tar.gz or should i build it directly from source?
Krzysztof Marczak
@buddhi1980
better would be to use mandelbulber2-2.08-3.tar.gz instead of actual source which could be not stable
Martin
@acidhunter
should i change something in the makefiles?
i am installing the deps atm, arm on qemu is not threaded
faster then on a pi but...
Krzysztof Marczak
@buddhi1980
makefiles are dinamically generated (by qmake) so you shouldn't change them
Martin
@acidhunter
thank u!
i had no luck with this docker image
was a long day at work
will try it soon again
i learn for a LPIC cert atm, this is a good challange to get knowlegde ;-)
did you use a build bot for the releases or are they manually compiled?
Krzysztof Marczak
@buddhi1980
I use mentioned sripts
mancoast
@mancoast

For CMAKE builds use this on the command line.

-DCMAKE_FIND_ROOT_PATH=/path/to/arm/root \
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \

cell phone app is good idea
bermarte
@bermarte
There's again a runtime error, I am investigating.
bermarte
@bermarte
I needed to delete the previous .setting path to launch the sw, Nothing serious (:
Sebastian Jennen
@zebastian
windows build over ci not working right now, though cmake still compiles fine under linux. maybe this has something to do with changes to forward declartions, which msvc is not capable of resolving correct?https://ci.appveyor.com/project/zebastian/mandelbulber2-s84yl/build/job/ouqs23pty27yqcn0
error is: (Link target) ->
interface.obj : error LNK2001: unresolved external symbol "public: thiscall cRenderSSAO::cRenderSSAO(class cParamRender const ,struct sRenderData const ,class cImage *)" (??0cRenderSSAO@@QAE@PBVcParamRender@@PBUsRenderData@@PAVcImage@@@Z) [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj]
lights.obj : error LNK2001: unresolved external symbol "double
cdecl CalculateDistance(class cParamRender const &,class cNineFractals const &,struct sDistanceIn const &,struct sDistanceOut ,class sRenderData )" (?CalculateDistance@@YANABVcParamRender@@ABVcNineFractals@@ABUsDistanceIn@@PAUsDistanceOut@@PAVsRenderData@@@Z) [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj]
render_ssao.obj : error LNK2001: unresolved external symbol "public: __thiscall cSSAOWorker::cSSAOWorker(class cParamRender const ,struct cSSAOWorker::sThreadData ,struct sRenderData const ,class cImage )" (??0cSSAOWorker@@QAE@PBVcParamRender@@PAUsThreadData@0@PBUsRenderData@@PAVcImage@@@Z) [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj]
C:\projects\mandelbulber2-s84yl\Release\mandelbulber2.exe : fatal error LNK1120: 3 unresolved externals [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj]
791 Warning(s)
4 Error(s)
do you have some ideas how to resolve this?
Krzysztof Marczak
@buddhi1980
Maybe this one is a problem: Warning C4099: 'sRenderData': type name first seen using 'class' now seen using 'struct' [C:\projects\mandelbulber2-s84yl\mandelbulber2.vcxproj]
I'm going to change all occurences to struct sRenderData in all forward declarations
Then we will see if this will help
Krzysztof Marczak
@buddhi1980
Try now. I have just commited changes
Sebastian Jennen
@zebastian
Thats probably it, anyway the declaration should be consistent.
Krzysztof Marczak
@buddhi1980
What you think about problems with QtAudioDecoder?