nanogui: Compilation problem
Subject:
Compilation problem
From:
Sheetal Khandkar ####@####.####
Date:
23 Mar 2001 04:35:18 -0000
Message-Id: <3ABAD32D.21358680@seepz.aptech.ac.in>
Hi,
I am trying to use nwidgets.h to create an application using nano-X
APIs. I want the application to use buttons, textfields etc.
Now when I try to compile my C++ program file with either gcc or g++, it
is giving me compilation error at the line where I have included the
nwidgets.h file. The errors are like:
/microwin/src/include/nwidget.h:20: aggregate 'widget_nclass
__widget_nclass' has incomplete type and cannot be initialized
/microwin/src/include/nwidget.h:42: storage size of '__widget_nclass'
isn't known
These two errors repeat for all related .h files like nradio,
ntextfield,nslider etc
I am using gcc compiler version 2.96
Thanks and Regards,
-Sheetal.