i have downloaded pdcurses and installed it.
and , right now i am studying a ncurses tutorial , Introduction
there are some sample examples also. but, when i try to compile "form"
code examples , i see that there are no <form.h> header file in the pdcurses installation.
has, anyone used pdcurses? where can i get the form.h header file for pdcurses?
11 replies to this topic
#1
Posted 12 January 2012 - 11:35 AM
|
|
|
#2
Posted 12 January 2012 - 04:12 PM
What operating system are you using? Are you sure you have your compile paths set up properly?
EDIT: After a quick check online, I saw you posted your question on another forum. The apparent answer is that pdcurses apparently only supports panels, not forms. You'll have to install an extension or something.
EDIT: After a quick check online, I saw you posted your question on another forum. The apparent answer is that pdcurses apparently only supports panels, not forms. You'll have to install an extension or something.
sudo rm -rf /
#3
Posted 12 January 2012 - 11:23 PM
dargueta said:
What operating system are you using? Are you sure you have your compile paths set up properly?
EDIT: After a quick check online, I saw you posted your question on another forum. The apparent answer is that pdcurses apparently only supports panels, not forms. You'll have to install an extension or something.
EDIT: After a quick check online, I saw you posted your question on another forum. The apparent answer is that pdcurses apparently only supports panels, not forms. You'll have to install an extension or something.
i am using winxp. and afaik ncurses is for linux/unix and pdcurses is for dos/ windows .
but, there is no tutorial for pdcurses.
is there anything that i can use in winxp that supports forms?
#4
Posted 12 January 2012 - 11:28 PM
What compiler are you using? You might have to set up the library path, I'll need to check.
sudo rm -rf /
#5
Posted 13 January 2012 - 12:13 AM
dargueta said:
What compiler are you using? You might have to set up the library path, I'll need to check.
i am using pelles c.
#6
Posted 13 January 2012 - 12:23 AM
#7
Posted 13 January 2012 - 02:22 AM
dargueta said:
Compiler, not IDE.
---------- Post added at 03:52 PM ---------- Previous post was at 02:02 PM ----------
dargueta said:
What compiler are you using? You might have to set up the library path, I'll need to check.
i will tell the steps i used.
i downloaded pdcurses and installed using the steps given hereHow to use PDCurses? - C++ Forum.(using it in pelles c)
but, since there are no pdcurses tutorial , i am following ncurses tutorial . now, ncurses tutorial has some sample programs . so, in the form programs there is a form.h header file which is not present in pdcurses.
my, question was is there any way to get it for pdcurses or any way to use ncurses in windows or anything other which supports forms and can be used in windowsxp.
#8
Posted 13 January 2012 - 10:43 AM
Ooooh, okay. Now I understand. Have you looked at the sample programs that came with PDCurses?
EDIT: Might be outta luck.
c++ - Menus library with PDCurses - Stack Overflow
I know it's for menus, but I suspect this is also the case for forms.
EDIT: Might be outta luck.
c++ - Menus library with PDCurses - Stack Overflow
I know it's for menus, but I suspect this is also the case for forms.
sudo rm -rf /
#9
Posted 16 January 2012 - 06:47 AM
dargueta said:
Ooooh, okay. Now I understand. Have you looked at the sample programs that came with PDCurses?
EDIT: Might be outta luck.
c++ - Menus library with PDCurses - Stack Overflow
I know it's for menus, but I suspect this is also the case for forms.
EDIT: Might be outta luck.
c++ - Menus library with PDCurses - Stack Overflow
I know it's for menus, but I suspect this is also the case for forms.
thanks a lot for your reply! this may well be my savior , but, there is a thing about extracting from ncurses and then compiling with pdcurses , but, i can't what does extracting from ncurses mean . i am copy pasting the form folder and the include folder from ncurses to pelles c folder but, it isn't working.
sorry , for my late reply!
#10
Posted 16 January 2012 - 08:37 PM
Copying and pasting won't work. Erase those; you need to change Pelles' library and include paths to include those new folders. Do not forget to add the libraries (which are not the same as headers).
sudo rm -rf /
#11
Posted 17 January 2012 - 08:18 AM
dargueta said:
Copying and pasting won't work. Erase those; you need to change Pelles' library and include paths to include those new folders. Do not forget to add the libraries (which are not the same as headers).
there are no library folder in the package . there is only a form folder , and others as ada95 , c++ ,man , menu ncurses, include , panel etc.
the form folder contains header file form.h and other c source files also , i have included the form folder and the include folder
of the ncurses in pelles c path , but , it isn't working .
examples of errors and warnings might help!
Quote
C:\Program Files\PellesC\Include\form.h(268): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\form.h(268): error #2001: Syntax error: expected ';' but found 'TYPE_ALPHA'.
C:\Program Files\PellesC\Include\form.h(268): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\form.h(269): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\form.h(269): error #2001: Syntax error: expected ';' but found 'TYPE_ALNUM'
C:\Program Files\PellesC\Include\form.h(268): error #2001: Syntax error: expected ';' but found 'TYPE_ALPHA'.
C:\Program Files\PellesC\Include\form.h(268): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\form.h(269): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\form.h(269): error #2001: Syntax error: expected ';' but found 'TYPE_ALNUM'
#12
Posted 17 January 2012 - 12:53 PM
This means that you're missing another header that has declarations for other data types.
sudo rm -rf /
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









