compiling miniAudicle 0.1.3.7 on x86_64
Hi, hope I found the right list :-) Compiling miniAudicle on my computer (ubuntu 6.10, x86_64, using jack for audio) showed me the following error: wxw/mAPreferencesWindow.cpp:830: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:839: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:848: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:857: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:866: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:875: error: cast from 'void*' to 'int' loses precision Hm... looks familiar. I changed the "int"s to "long"s and now it seems to work. But probably it would be a better idea to not hard-wire this in the first place? Some preprocessor switch maybe? Sorry, I'm not fluent with C/C++ ... Yet another hm... Chuck segfaults whenever I try to start some shred. So I guess it's just not working (yet) in a 64bit environment? Cheers, --lu
Hi Lukas, Yes, ChucK/Audicle/miniAudicle are all entirely untested and generally broken on 64-bit systems. We are taking steps to resolve this soon, but for the current release 64-bit support is not there... ChucK assumes 32-bit in a lot of tricky places, so its not a totally straightforward conversion at this point. This would probably also explain the Audicle woes you mentioned yesterday as well. spencer On Mar 22, 2007, at 7:56 PM, Lukas Degener wrote:
Hi, hope I found the right list :-)
Compiling miniAudicle on my computer (ubuntu 6.10, x86_64, using jack for audio) showed me the following error:
wxw/mAPreferencesWindow.cpp:830: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:839: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:848: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:857: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:866: error: cast from 'void*' to 'int' loses precision wxw/mAPreferencesWindow.cpp:875: error: cast from 'void*' to 'int' loses precision
Hm... looks familiar. I changed the "int"s to "long"s and now it seems to work. But probably it would be a better idea to not hard-wire this in the first place? Some preprocessor switch maybe? Sorry, I'm not fluent with C/C++ ...
Yet another hm... Chuck segfaults whenever I try to start some shred. So I guess it's just not working (yet) in a 64bit environment?
Cheers, --lu
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Lukas Degener
-
Spencer Salazar