Re: [ReZound-users] rezound on DeLi Linux
Status: Beta
Brought to you by:
ddurham
From: Davy D. <dd...@us...> - 2008-04-21 19:13:18
|
Laura nmi Michaels wrote: > Am running DeLi Linux with uclibc instead of the standard c library on > an old laptop. It has Fox Toolkit 1-6. I downloaded ReZound > 0.12.3beta last week and after some modifications was able to get the > program to compile, build and run. Wanted to share the changes I made > in case someone other users with Linux distributions that use uclibc > wanted to try the program out. They're not really patches. I just > went in and fixed the code by hand, since I was just making the > changes for myself. Anyway, I wanted to share, in case someone could > use the information to add some fixes to the official distribution for > compiling on these kinds of distributions. > > My changes: > In the subdirectory src/frontend_fox in files CMainWindow.cpp, > CMetersWindow.cpp, drawPortion.cpp FXConstantParamValue.cpp, I needed > to replace the function round with rint. At line 50 of > FXWaveCanvas.cpp I added: #include <math.h> > In the subdirectory src/backend in the file CSound_defs.h, I changed > line 55 from #define sample_FPOS_ROUND(C) (nearbyintl(a)) to #define > sample_FPOS_ROUND(C) (rintl(a)). Changed line 73 from #define > sample_FPOS_ROUND(C) (nearbyint(a)) to #define sample_FPOS_ROUND(C) (rint > (a)). Added the following line in both CGraphParamValue.cpp at line > 222 and in the subdirectory src/misc/CNestedDataFile in the file > anytype.h line 144: #define isnan(x) ((x) != (x)) > > > Thanks for the info > Just out of curiousity, has anyone tried compiling ReZound on Windows > as well? The official Sourceforge description of the project says: > not limited to the Linux operating system > Is there anything Linux specific in the code or would it be possible > to try compilation with mingw and msys? I've read Fox Toolkit > supposed to work on several platforms including Windows. > > > No, ReZound has never been compiled on windows to my knowledge. One thing is that the audio layer has not been ported to win32. The reason for the statement is that the GUI lib and backend design has had platform portability in mind, but the specific work of porting has not been done. I'm currently moving ReZound to Qt which, like Fox, can be built on win32. So after some other small portions of code are ported too it's feasible that it could be. Thanks |