Page 1 of 1

Notes v0.9 - Post-It notes for IRIX

Posted: Thu Apr 12, 2007 11:59 pm
by jimmer
Hello All,

I'm happy to announce a version of Notes that actually saves the notes you create.

Get the source here:

http://www.sillypages.org/sgi/notes-0.9.tar.gz

Please read the README - it contains all the information you need to run the applet.

enjoy!

jimmer

Posted: Sat Apr 14, 2007 6:33 pm
by Spidy
Uhm...having a bit of trouble compiling.

cstdio needs to be in usr/local/lib?

Ammended the Makefile to include /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ where the file lives, still getting errors I'm afraid.



#gmake notes
CC -O2 -LANG:std -I. -I../../../vk/include -I/usr/include -I/usr/local/include -I/usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ -c Main.C
cc-1155 CC: WARNING File = /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++/iostream, Line = 42
The indicated "#pragma" directive is not recognized.

#pragma GCC system_header
^

cc-1005 CC: ERROR File = /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++/iostream, Line = 44
The source file "bits/c++config.h" is unavailable.

#include <bits/c++config.h>
^

1 catastrophic error detected in the compilation of "Main.C".
Compilation terminated.
gmake: *** [Main.o] Error 2

Any pointers?

Posted: Sun Apr 15, 2007 12:34 am
by jimmer
Spidy wrote:Uhm...having a bit of trouble compiling.
cstdio needs to be in usr/local/lib?


Hello Spidy - thanks for taking an interest in Notes ;)

As far as i know cstdio doesn't belong in /usr/local/lib at least not for MIPSpro.

Spidy wrote:Ammended the Makefile to include /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ where the file lives, still getting errors I'm afraid.


It seems that you're using gcc and I haven't tested compilation with gcc as I've been using MIPSpro for a while now. I am terribly sorry, but I have no idea why your seeing these errors.

Spidy wrote:Any pointers?


If you don't have a copy of MIPSpro handy, I'm afraid you may have to wait a couple more days till I release an officially blessed-and-holy-pee-sprinkled sillypages.org tardist :(

jimmer

Posted: Sun Apr 15, 2007 3:44 am
by Spidy
jimmer, I have MipsPro.

I may be missing something. Maybe if you tell me exactly (ie, like I'm a very stupid 4 year old) what to do to compile, I'll try your instructions.

Posted: Sun May 06, 2007 4:02 am
by ka0s
Jimmer I love your Notes app !!!

What would be really nice is to have just a little more features added to it like different fonts and fontsize, Bold , Italic , underline.
And a way to resize the window.

But for a 0.9 version it's 'tha bomb' !)

Posted: Sun May 06, 2007 4:46 am
by jimmer
ka0s wrote:Jimmer I love your Notes app !!!

You're welcome ;)

ka0s wrote:What would be really nice is to have just a little more features added to it like different fonts and fontsize, Bold , Italic , underline. And a way to resize the window.


Wrt. different text size/colour etc., i thought about it and then I ran in to issues with Motif. The stock Motif 1.2 text widget is annoyingly primitive, but I might try something with Motif 2.x 'rendertables' one of these days. Of course 'right way' to do this would be to write a new ViewKit component that does Fontconfig/Freetype AA text. But I simply don't have the time atm to learn how to code such a beastie. Sorry.

Wrt. window resizing, that's a function of the window manager borders. If I want non-bordered notes, which i want, then I sacrifice resizing. Adding a popup-dialog just to enter a new note size seems a little 'cumbersome'.

In the end I decided that fonts and resizing weren't essential to the applet and left them out.

ka0s wrote:But for a 0.9 version it's 'tha bomb' !)


You da' Man! ;)

Posted: Sun May 06, 2007 12:30 pm
by ka0s
I see !)

No worry's, I still think this is quite an asset to the motif desktop!!!

Posted: Tue May 08, 2007 12:59 pm
by stuart

Code: Select all

$ ./notes -new
Notes: Error opening your $HOME/.notes directory.
Segmentation fault (core dumped)
$ dbx ./notes core
dbx version 7.3.4 (86441_Nov11 MR) Nov 11 2002 11:31:55
Core from signal SIGSEGV: Segmentation violation
(dbx) where
>  0 _closedir(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/closedir.c":31, 0xfa673b8]
   1 App::loadNotes(void)(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":59, 0x10007bfc]
   2 ::main(0x2, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":158, 0x10006e78]
   3 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10006ae8]


It seems to run fine if I first manually create a "~/.notes" directory, but seems to reliably segfault if this doesn't exist!

Posted: Thu May 10, 2007 4:06 am
by pan1k
Still can't get this compiled. I to have MIPS Pro installed. I get an error just like above abouit CSTDIO. Any help?