Package: vdkbuilder
Version: 1.2.5-9
Severity: normal
I tried to follow the instructions in VDK Tutorial, but once I've
created the example1-like application, the MAKE command did not work.
I'm a bit new to programming in x-window system. The Builder responded
with the following messages:
cc1plus: /tmp/cczc160.s: I/O error
make: *** [/home/andrzej/programy/exp1/exp1.0] B��d 1
For your information: B��d means Error
below I include files generated by VDKBuilder:
---------------------------------------------------- exp1.cc:
/*
exp1 Plain VDK Application
Main unit implementation file:exp1.cc
*/
#include <exp1.h>
/*
main program
*/
int main (int argc, char *argv[])
{
// makes application
Exp1App app(&argc, argv);
// runs application
app.Run();
return 0;
}
// Exp1 MAIN FORM CLASS
/*
main form constructor
*/
Exp1Form::Exp1Form(VDKApplication* app, char* title):
VDKForm(app,title)
{
}
/*
main form destructor
*/
Exp1Form::~Exp1Form()
{
}
/*
main form setup
*/
void
Exp1Form::Setup(void)
{
GUISetup();
// put your code below here
}
// Exp1 APPLICATION CLASS
/*
application constructor
*/
Exp1App::Exp1App(int* argc, char** argv):
VDKApplication(argc,argv)
{
#ifdef VDKXDB_SUPPORT
xdb = new VDKXDatabase;
#endif
}
/*
application destructor
*/
Exp1App::~Exp1App()
{
#ifdef VDKXDB_SUPPORT
if(xdb) delete xdb;
#endif
}
/*
application setup
*/
void
Exp1App::Setup(void)
{
#ifdef VDKXDB_SUPPORT
XDBSetup();
#endif
MainForm = new Exp1Form(this,NULL);
MainForm->Setup();
MainForm->Visible = true;
}
// do not remove this mark: #!#
// end of file:exp1.cc
----------------------------------------------------------- exp1.h:
/*
exp1 Plain VDK Application
Main unit header file: exp1.h
*/
#ifndef _exp1_main_form_h_
#define _exp1_main_form_h_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// vdkxdb support
#ifdef VDKXDB_SUPPORT
#include <vdkxdb/vdkxdb_support.h>
/*
Note: all tables and indexes files names
are relative to XDB_DATA_PATH symbolic constant,
change it if you need a path other than default ,
however all data and index files should be
contained into a single directory
*/
#define XDB_DATA_PATH "./"
#endif
// vdk support
#include <vdk/vdk.h>
// Exp1 FORM CLASS
class Exp1Form: public VDKForm
{
// gui object declarations
private:
// gui object declarations
void GUISetup(void);
public:
Exp1Form(VDKApplication* app, char* title);
~Exp1Form();
void Setup(void);
/*
gui setup include
do not patch below here
*/
#include <exp1_gui.h>
};
// Exp1 APPLICATION CLASS
class Exp1App: public VDKApplication
{
#ifdef VDKXDB_SUPPORT
VDKXDatabase* xdb;
#endif
public:
Exp1App(int* argc, char** argv);
~Exp1App();
#ifdef VDKXDB_SUPPORT
void XDBSetup(void);
VDKXDatabase* TheXdb() { return xdb; }
#endif
void Setup(void);
};
#endif
// do not remove this mark: #!#
// end of file:exp1.h
--------------------------------------------------------- exp1.prj
#VDK Builder 0.1# project file#
/home/andrzej/programy/exp1/exp1.prj
/home/andrzej/programy/exp1
0
/home/andrzej/programy/exp1/exp1
3
------------------------------------------------------------------------
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux hall 2.4.18-586tsc #1 Sun Apr 14 10:57:57 EST 2002 i586
Locale: LANG=pl_PL, LC_CTYPE=pl_PL
Versions of packages vdkbuilder depends on:
ii gdk-imlib1 1.9.14-2woody2 Gdk-Imlib is an imaging library fo
ii libart2 1.4.1.4-3 The Gnome canvas widget - runtime
ii libaudiofile0 0.2.3-4 The Audiofile Library
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libdb3 3.2.9-16 Berkeley v3 Database Libraries [ru
ii libesd0 0.2.23-3 Enlightened Sound Daemon - Shared
ii libglib1.2 1.2.10-4 The GLib library of C routines
ii libglib1.2-dev 1.2.10-4 Development files for GLib library
ii libgnome32 1.4.1.4-3 The Gnome libraries
ii libgnomesupport0 1.4.1.4-3 The Gnome libraries (Support libra
ii libgnomeui32 1.4.1.4-3 The Gnome libraries (User Interfac
ii libgtk1.2 1.2.10-11 The GIMP Toolkit set of widgets fo
ii libgtk1.2-dev 1.2.10-11 Development files for the GIMP Too
ii libsigc++0 1.0.4-3 Type-safe Signal Framework for C++
ii libstdc++2.10-glibc2.2 1:2.95.4-11woody1 The GNU stdc++ library
ii libvdk1 1.2.5-7 The Visual Development Kit C++ lib
ii libvdk1-dev 1.2.5-7 Header files and static libraries
ii libvdkbuilder 1.2.5-9 Plugin libraries bundled with VDKB
ii libvdkbuilder-dev 1.2.5-9 Header files and static libraries
ii libvdkxdb 0.0.4-3 VDK data-aware widgets
ii libvdkxdb-dev 0.0.4-3 development files for libvdkxdb
ii libxdb 1.2.0-4 xbase compatible C++ class library
ii xlib6g-dev 4.1.0-16woody5 pseudopackage providing X library
ii xlibs 4.1.0-16woody5 X Window System client libraries
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]