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

Close

#127 compilation error

closed-fixed
Davy Durham
None
5
2010-02-27
2008-01-04
zebul666
No

i got this error compiling with gcc/g++ 4.2.2 , fox 1.6.31,soundtouch 1.3.1, on archlinux 64 i.e for x86_64

[...]
g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -I/usr/include -I/usr/include -I/usr/include -MT CMainWindow.lo -MD -MP -MF .deps/CMainWindow.Tpo -c CMainWindow.cpp -o CMainWindow.o
In file included from CSoundFileManager.h:27,
from CMainWindow.cpp:32:
../backend/ASoundFileManager.h:57:2: warning: #warning do this.. I can call soundFileManager->getActive() from actions when necessary
In file included from ../../src/misc/TMemoryPipe.h:97,
from ../backend/CSoundPlayerChannel.h:33,
from ../backend/main_controls.h:33,
from CMainWindow.cpp:41:
../../src/misc/TMemoryPipe.cpp:59:2: warning: #warning need to do something to prevent this data from getting swapped to disk (for JACK)
In file included from ../backend/Generate/GenerateActions.h:26,
from CMainWindow.cpp:763:
../backend/Generate/CGenerateNoiseAction.h:58:5: warning: #warning this should be defined by the selection, or give the user a choice
CMainWindow.cpp:1458:2: warning: #warning ??? make this an action?
CMainWindow.cpp: In member function 'long int CMainWindow::onSoundListChange(FX::FXObject*, FX::FXSelector, void*)':
CMainWindow.cpp:441: error: cast from 'void*' to 'FX::FXint' loses precision
CMainWindow.cpp: In member function 'long int CMainWindow::onKeyboardShuttle(FX::FXObject*, FX::FXSelector, void*)':
CMainWindow.cpp:1856: error: cast from 'void*' to 'unsigned int' loses precision
CMainWindow.cpp:1862: error: cast from 'void*' to 'unsigned int' loses precision
make[2]: *** [CMainWindow.lo] Error 1
make[2]: Leaving directory `/home/solstice/abs/rezound/src/rezound-0.12.3beta/src/frontend_fox'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/solstice/abs/rezound/src/rezound-0.12.3beta/src'
make: *** [all-recursive] Error 1

Discussion

  • zebul666
    zebul666
    2008-01-04

    Logged In: YES
    user_id=1098056
    Originator: YES

    with rezound 0.12.3beta

     
  • zebul666
    zebul666
    2008-01-04

    Logged In: YES
    user_id=1098056
    Originator: YES

    and with the cvs version , igot an erro about FLAC when compiling

    g++ -DHAVE_CONFIG_H -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT ClibaudiofileSoundTranslator.lo -MD -MP -MF .deps/ClibaudiofileSoundTranslator.Tpo -c ClibaudiofileSoundTranslator.cpp -o ClibaudiofileSoundTranslator.o
    ClibaudiofileSoundTranslator.cpp: In member function 'bool ClibaudiofileSoundTranslator::saveSoundGivenSetup(std::string, const CSound*, sample_pos_t, sample_pos_t, _AFfilesetup*, int, bool, bool, bool) const':
    ClibaudiofileSoundTranslator.cpp:431: warning: operation on 'cueCount' may be undefined
    mv -f .deps/ClibaudiofileSoundTranslator.Tpo .deps/ClibaudiofileSoundTranslator.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT ClibvorbisSoundTranslator.lo -MD -MP -MF .deps/ClibvorbisSoundTranslator.Tpo -c -o ClibvorbisSoundTranslator.lo ClibvorbisSoundTranslator.cpp
    g++ -DHAVE_CONFIG_H -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT ClibvorbisSoundTranslator.lo -MD -MP -MF .deps/ClibvorbisSoundTranslator.Tpo -c ClibvorbisSoundTranslator.cpp -o ClibvorbisSoundTranslator.o
    mv -f .deps/ClibvorbisSoundTranslator.Tpo .deps/ClibvorbisSoundTranslator.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT CFLACSoundTranslator.lo -MD -MP -MF .deps/CFLACSoundTranslator.Tpo -c -o CFLACSoundTranslator.lo CFLACSoundTranslator.cpp
    g++ -DHAVE_CONFIG_H -I. -I../../config -I../../src/misc -I../../src/misc/missing/generated -I../../src/PoolFile -g -Wall -Wno-unused-function -Wno-unused-variable -Wno-unused -MT CFLACSoundTranslator.lo -MD -MP -MF .deps/CFLACSoundTranslator.Tpo -c CFLACSoundTranslator.cpp -o CFLACSoundTranslator.o
    CFLACSoundTranslator.cpp:106:2: warning: #warning an exception thrown from here causes an abort because it is running in a thread??? why? I dunno, might want to talk to the FLAC guys
    CFLACSoundTranslator.cpp:111:5: warning: #warning I need to translate from different bit rates that might come back from get_bits_per_sample ... I am not sure what they would be
    CFLACSoundTranslator.cpp: In constructor 'MyFLACDecoderFile::MyFLACDecoderFile(std::string, CSound*)':
    CFLACSoundTranslator.cpp:78: error: 'set_filename' was not declared in this scope
    CFLACSoundTranslator.cpp:84: error: no matching function for call to 'MyFLACDecoderFile::init()'
    /usr/include/FLAC++/decoder.h:227: note: candidates are: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(FILE*)
    /usr/include/FLAC++/decoder.h:228: note: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(const char*)
    /usr/include/FLAC++/decoder.h:229: note: virtual FLAC__StreamDecoderInitStatus FLAC::Decoder::File::init(const std::string&)
    CFLACSoundTranslator.cpp:85: error: 'FLAC__FILE_DECODER_OK' was not declared in this scope
    CFLACSoundTranslator.cpp: In member function 'virtual FLAC__StreamDecoderWriteStatus MyFLACDecoderFile::write_callback(const FLAC__Frame*, const FLAC__int32* const*)':
    CFLACSoundTranslator.cpp:173: error: 'FLAC__file_decoder_get_decode_position' was not declared in this scope
    CFLACSoundTranslator.cpp: In member function 'virtual bool CFLACSoundTranslator::onLoadSound(std::string, CSound*) const':
    CFLACSoundTranslator.cpp:218: error: 'class MyFLACDecoderFile' has no member named 'process_until_end_of_file'
    CFLACSoundTranslator.cpp: In member function 'virtual bool CFLACSoundTranslator::onSaveSound(std::string, const CSound*, sample_pos_t, sample_pos_t, bool) const':
    CFLACSoundTranslator.cpp:261: error: 'class MyFLACEncoderFile' has no member named 'set_filename'
    CFLACSoundTranslator.cpp:277: error: no matching function for call to 'MyFLACEncoderFile::init()'
    /usr/include/FLAC++/encoder.h:237: note: candidates are: virtual FLAC__StreamEncoderInitStatus FLAC::Encoder::File::init(FILE*)
    /usr/include/FLAC++/encoder.h:238: note: virtual FLAC__StreamEncoderInitStatus FLAC::Encoder::File::init(const char*)
    /usr/include/FLAC++/encoder.h:239: note: virtual FLAC__StreamEncoderInitStatus FLAC::Encoder::File::init(const std::string&)
    make[3]: *** [CFLACSoundTranslator.lo] Erreur 1
    make[3]: quittant le répertoire « /home/solstice/prog/cvs/rezound/src/backend »
    make[2]: *** [all-recursive] Erreur 1
    make[2]: quittant le répertoire « /home/solstice/prog/cvs/rezound/src/backend »
    make[1]: *** [all-recursive] Erreur 1
    make[1]: quittant le répertoire « /home/solstice/prog/cvs/rezound/src »
    make: *** [all-recursive] Erreur 1

     
  • Davy Durham
    Davy Durham
    2010-02-27

    • assigned_to: nobody --> ddurham
    • status: open --> closed-fixed
     
  • Davy Durham
    Davy Durham
    2010-02-27

    been fixed