Currently CLAM widgets are only available if you use them within the Prototyper, that is, the Prototyper loading the ui file (plus the network) without compilation.
The only solution i find by now is to move the needed source files from NetworkEditor to your own project. On the future, a side result of one of the GSoC projects will be providing them as a library you can link within your application, but it is not currently available. emusiclearn... just curious: what it is about? David. El Tuesday 10 June 2008 01:21:21 Néstor Amigo Cairo va escriure: > Hi!! > I'm new to CLAM. I'm trying to compile an application with an > interface designed using Qt Designer, QT4.4 on Ubuntu Hardy. I haven't > been able to compile an application using the Oscilloscope widget, it > does not find the corresponding header, I have manually checked it in > /usr/include/CLAM, I haven't been able to find it. > I'm using version 1.2.0, from Debian repository. > > Any ideas?? > Thanks!! > I attach the following error message: > > In file included from emusiclearn.h:32, > from emusiclearn.cpp:25: > ui_mainWindow.h:22:28: error: Oscilloscope.hxx: No such file or directory > In file included from emusiclearn.h:32, > from emusiclearn.cpp:25: > ui_mainWindow.h:31: warning: ISO C++ forbids declaration of > 'Oscilloscope' with no type > ui_mainWindow.h:31: error: expected ';' before '*' token > ui_mainWindow.h: In member function 'void > Ui_MainWindow::setupUi(QMainWindow*)': ui_mainWindow.h:48: error: > 'oscilloscope' was not declared in this scope ui_mainWindow.h:48: error: > expected type-specifier before 'Oscilloscope' ui_mainWindow.h:48: error: > expected `;' before 'Oscilloscope' > make: *** [emusiclearn.o] Error 1 _______________________________________________ CLAM mailing list [email protected] http://clam.iua.upf.edu
