Bug #188

Can't build TTClipper on windows

Added by Théo de la Hogue over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:2009-07-04
Priority:Urgent Due date:
Assignee:- % Done:

0%

Category:- Spent time: 4.00 hours
Target version:-
Branch: OS:

Description

*The TTClipper (and then TTFonctionLib and TTFilterLib) doesn't build anymore.

Here is a translation of a french error log from VC++ (I got the same when I use the ruby script) :
I put this as an urgent bug because when I create a module in Max, even if it doesn't deal with audio,
Max crashes.

------ Start : Projet : TTClipper, Configuration : Debug Win32 ------

Suppression des fichiers de sortie et des fichiers intermédiaires du projet 'TTClipper', configuration 'Debug|Win32'
Building...
TTClipper.cpp

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(48) : warning C4273: 'TTClipper::instantiate' : inconsistant DLL link

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(18) : see previous definition of 'instantiate'

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(48) : warning C4273: 'TTClipper::registerClass' : inconsistant DLL link

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(18) : see previous definition of 'instantiate'
c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(48) : warning C4273: 'TTClipper::TTClipper' : inconsistant DLL link

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(18) : see previous definition of 'instantiate'

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(60) : warning C4273: 'TTClipper::~TTClipper' : inconsistant DLL link

c:\program files\cycling '74\jamoma\dsp\extensions\ttclipper\ttclipper.cpp(18) : see previous definition of 'instantiate'

Linking...

Création of library ..\builds\TTClipper.lib and object ..\builds\TTClipper.exp

TTClipper.obj : error LNK2019: unsolved extern symbol "__declspec(dllimport) protected: enum TTErr _thiscall TTClipper::processAudio(class TTAudioSignalArray *,class TTAudioSignalArray *)" (_imp_?processAudio@TTClipper@IAE?AW4TTErr@PAVTTAudioSignalArray@0@Z) referenced in the function "protected: __thiscall TTClipper::TTClipper(class TTValue &)" (??0TTClipper@IAE@AAVTTValue@@@Z)

TTClipper.obj : error LNK2019: unsolved extern symbol "__declspec(dllimport) const TTClipper::`vftable'" (_imp??_7TTClipper@6B) referenced in the function "protected: __thiscall TTClipper::TTClipper(class TTValue &)" (??0TTClipper@IAE@AAVTTValue@@Z)

..\builds\TTClipper.ttdll : fatal error LNK1120: 2 externes non résolus

Le journal de génération a été enregistré à l'emplacement "file://c:\Program Files\Cycling '74\Jamoma\DSP\extensions\TTClipper\Debug\BuildLog.htm"

TTClipper - 3 error(s), 4 warning(s)

========== Régénération globale : 0 a réussi, 1 a échoué, 0 a été ignoré ========== *

Associated revisions

Revision 0798a6b0
Added by Tim Place over 2 years ago

Change to class definition macros, which then fixes #188.
Also extrapolated the effects units into their own extension lib.

This commit has been tested on Windows, and will likely break the Mac build until it is updated (coming shortly).

git-svn-id: http://ttblue.googlecode.com/svn/branches/active@1062 bc2ad3ca-9a4d-0410-8d14-35da9c29b421

History

Updated by Tim Place over 2 years ago

Fixed in commit 1062.

Updated by Tim Place over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF