Page 2 of 3
Posted: Fri Aug 24, 2007 1:43 pm
by Zacariaz
Think youre boed? Wanna know what im doing when i get bored?
http://www.zacariazdisciples.net/temp/inkblop.rar
Wont say what it is other than its a win console app and very harmeless.
i usually
Posted: Fri Aug 24, 2007 4:50 pm
by com1
i usually start programming something else, like a game, or i read one of my many computer science books. i also design electronic devices, like robots and stuff.
Posted: Thu Aug 30, 2007 3:33 am
by JamesM
As for the mentions of sports.. boring.. not at all interesting to say the least..
Hehe, I challenge you to say that when you're paddling a grade 4 whitewater river, trying to avoid the soul-destroying rocks and aiming for the 'safe' 20ft waterfall!
And AJ: unlucky! I'd do the assessment myself but I can only assess up to 2*. Sorry!
JamesM
Posted: Thu Aug 30, 2007 10:45 am
by inflater
Also when I'm bored I create some MP3s in Fruityloops. Right now I'm created a remix from Grieg's "In The Hall of Mountain King", it's a techno to be precise. It's loud and noisey, just like the original version, and to be precise, this versions is sooo loud it can blow up your speakers/amplifier if you would set it into the too high gear.
But at least the original music is in there (in a 80's style
) It can be used for testing speakers etc. I wonder how the "hard drive speaker" would sound with this one.
If anyone wants it to hear, here it is:
http://inflater.hostuju.cz/In%20The%20H ... 20King.mp3
(You may need to right-click and select Save As in order to download properly. The file size is 2,15 MB if its downloaded correctly.)
WARNING: Do NOT use headphones to hear it, or else you may suffer your ear drum explode, like this is for real
Comments welcome
Regards
inflater
Posted: Thu Aug 30, 2007 10:52 am
by Smilediver
Make your hard drive to play Jingle Bells... after all, if you're here you should know how to move it's head.
Posted: Thu Aug 30, 2007 10:55 am
by inflater
Make your hard drive to play Jingle Bells...
I'm sorry as I do not have any wrecked hard drive lying around here (except that attempt to do the failed "hard disk speaker" project, but it is dunno where now, maybe at the city dump?
)
Regards
inflater
Posted: Thu Aug 30, 2007 11:25 am
by Dex
I play music through my monitor, like this:
http://www.erikyyy.de/tempest/
Posted: Thu Aug 30, 2007 11:45 am
by inflater
Yeah Dex, I'm trying to run that under Win32, if I would have some older laptop I would install unix/linux to it
Hmm, I should make some "revivals" of oldskool classics like Video Killed the Radio Star or Japanese Boy, altough I didn't lived at 1980's I heard that music in GTA:VC and it was kickass for the time being
By the way, this is great [Czecho-]slovak oldskool that I liked in when I was young (1 year old?
)
http://www.youtube.com/watch?v=NXtrBD4G40k
It's 16 year old I think, and for the time being it was cool though - and his glasses...
- Big boss though
---
I installed cygwin and runned it. What the hell next ?
Jozef Bogin@jozef ~
$ gcc
gcc.exe: no input files
Jozef Bogin@jozef ~
$
Regards
inflater
Posted: Thu Aug 30, 2007 11:57 am
by Brynet-Inc
tempest won't work on LCD monitors inflater, It's CRT specific AFAIK..
Posted: Thu Aug 30, 2007 12:05 pm
by inflater
Brynet-Inc wrote:tempest won't work on LCD monitors inflater, It's CRT specific AFAIK..
I knew that, dont worry, my (shared) testbed has a CRT monitor (but, the monitor is mine, muhehehehe!
)
Okay here we go: man ls. List directory contents? hmm
Jozef Bogin@jozef ~
$ ls
Jozef Bogin@jozef ~
Oh no it doesnt work
Oh yeah, ls / works
What do you think about my "remix" ?
//EDIT: Just compiling SDL to get Tempest for Eliza working. I have read that I must type ./configure if I want to compile something, and then, make, and then make install. Right?
Regards
inflater
Posted: Fri Aug 31, 2007 3:10 am
by JamesM
inflater:
Code: Select all
pwd : print current working directory
cd : change directory (duh!)
ls : list files (you know that one already)
gcc : c compiler. but, most projects use automake....
./configure : runs a script called configure in the current dir. Initial setup script for all automake programs.
make clean : cleans out the old garbage object files lying around
make : builds everything
make install : symlinks everything to the right place. (you may have to run this as root)
su : super-user mode (logs in as root)
sudo : perform following command as super-user.
That should get you started at least! normally, to build a package, go to it's directory and type
Code: Select all
./configure
make
sudo make install
JamesM
Posted: Fri Aug 31, 2007 10:50 am
by inflater
Yeah I found my old pc magazines from 2002 or such - and there it was, "Compiling games under Linux" - ./configure, make, make install
Okay, so Tempest for Eliza needs SDL. So I downloaded the source, put it into /usr/sdl, and up you go, ./configure.
And this is a bigger log of ./configure, there were some warnings so I listed them.
Code: Select all
Jozef Bogin@jozef /usr/sdl
$ ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for a sed that does not truncate output... /usr/bin/sed
...
...
checking for sys/types.h... (cached) no
checking stdio.h usability... no
checking stdio.h presence... yes
configure: WARNING: stdio.h: present but cannot be compiled
configure: WARNING: stdio.h: check for missing prerequisite headers?
configure: WARNING: stdio.h: see the Autoconf documentation
configure: WARNING: stdio.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdio.h: proceeding with the preprocessor's result
configure: WARNING: stdio.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for stdio.h... yes
checking for stdlib.h... (cached) no
checking stddef.h usability... no
checking stddef.h presence... yes
configure: WARNING: stddef.h: present but cannot be compiled
configure: WARNING: stddef.h: check for missing prerequisite headers?
configure: WARNING: stddef.h: see the Autoconf documentation
configure: WARNING: stddef.h: section "Present But Cannot Be Compiled"
configure: WARNING: stddef.h: proceeding with the preprocessor's result
configure: WARNING: stddef.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
checking for stddef.h... yes
checking stdarg.h usability... no
checking stdarg.h presence... yes
configure: WARNING: stdarg.h: present but cannot be compiled
configure: WARNING: stdarg.h: check for missing prerequisite headers?
configure: WARNING: stdarg.h: see the Autoconf documentation
configure: WARNING: stdarg.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdarg.h: proceeding with the preprocessor's result
configure: WARNING: stdarg.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for stdarg.h... yes
checking malloc.h usability... no
checking malloc.h presence... yes
configure: WARNING: malloc.h: present but cannot be compiled
configure: WARNING: malloc.h: check for missing prerequisite headers?
configure: WARNING: malloc.h: see the Autoconf documentation
configure: WARNING: malloc.h: section "Present But Cannot Be Compiled"
configure: WARNING: malloc.h: proceeding with the preprocessor's result
configure: WARNING: malloc.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
....
......
.....
checking size of int... 0
checking for long... no
checking size of long... 0
checking for long long... no
checking size of long long... 0
checking Win32 compiler... no
configure: error:
*** Your compiler (gcc) does not produce Win32 executables!
The warnings were complaining about:
stdio.h, stddef.h, stdarg.h, malloc.h, ctype.h, math.h, signal.h. Pretty much.
So what now? I think I should download the newest binary of gcc for cygwin, am I right?
Offtopic, but it's general ramblings forum.
//EDIT: Oh my, I haven't installed gcc in cygwin
(downloading now) - But how it could run by simply typing "gcc" at the command line? Oh, it is the DJGPP GCC
Regards
inflater
Posted: Sat Sep 01, 2007 6:25 am
by inflater
Okay, so I have successfully compiled SDL in cygwin. It says that the libraries were placed in /usr/local/lib.
Now, when I have libSDL compiled, and want to compile Tempest for Eliza, the configure process will exit with this:
Code: Select all
checking whether c++ accepts -g... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /usr/local/bin/sdl-config
configure: error: *** SDL version not found!
Why?
Anyone can point me please what I'm doing wrong?
Thank you.
Regards
inflater
Posted: Sat Sep 01, 2007 7:31 am
by Brynet-Inc
I suspect it's having some sort of issue locating shared object files when attempting to execute an SDL test program..
Try this.. for now, report any additional errors..
Adding any other additional configure flags you used.. Good luck..
Posted: Sat Sep 01, 2007 7:59 am
by inflater
lol?
Code: Select all
checking whether c++ accepts -g... yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
creating ./config.status
creating Makefile
creating songs/Makefile
Jozef Bogin@jozef /usr/eliza
$
But things just got worse, after typing make:
Code: Select all
/usr/local/include/SDL/SDL_video.h:406: error: `green' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:406: error: `Uint16' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:406: error: `blue' was not declared in this s
cope
/usr/local/include/SDL/SDL_video.h:406: error: initializer expression list treat
ed as compound expression
/usr/local/include/SDL/SDL_video.h:449: error: `Uint32' does not name a type
/usr/local/include/SDL/SDL_video.h:456: error: `Uint32' does not name a type
/usr/local/include/SDL/SDL_video.h:463: warning: `SDL_GetRGB' initialized and de
clared `extern'
/usr/local/include/SDL/SDL_video.h:463: error: variable or field `SDL_GetRGB' de
clared void
/usr/local/include/SDL/SDL_video.h:463: error: `Uint32' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:463: error: expected primary-expression befor
e '*' token
/usr/local/include/SDL/SDL_video.h:463: error: `fmt' was not declared in this sc
ope
/usr/local/include/SDL/SDL_video.h:464: error: `Uint8' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:464: error: `r' was not declared in this scop
e
/usr/local/include/SDL/SDL_video.h:464: error: `Uint8' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:464: error: `g' was not declared in this scop
e
/usr/local/include/SDL/SDL_video.h:464: error: `Uint8' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:464: error: `b' was not declared in this scop
e
/usr/local/include/SDL/SDL_video.h:464: error: initializer expression list treat
ed as compound expression
/usr/local/include/SDL/SDL_video.h:469: warning: `SDL_GetRGBA' initialized and d
eclared `extern'
/usr/local/include/SDL/SDL_video.h:469: error: variable or field `SDL_GetRGBA' d
eclared void
/usr/local/include/SDL/SDL_video.h:469: error: `Uint32' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:469: error: expected primary-expression befor
e '*' token
/usr/local/include/SDL/SDL_video.h:469: error: `fmt' was not declared in this sc
ope
/usr/local/include/SDL/SDL_video.h:470: error: `Uint8' was not declared in this
scope
/usr/local/include/SDL/SDL_video.h:470: error: `r' was not declared in this scop
e
/usr/local/include/SDL/SDL_video.h:470: error: `Uint8' was not declared in this
scope
....
/usr/local/include/SDL/SDL_video.h:512: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:512: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:512: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:512: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:512: error: ISO C++ forbids declaration of `R
mask' with no type
/usr/local/include/SDL/SDL_video.h:512: error: ISO C++ forbids declaration of `G
mask' with no type
/usr/local/include/SDL/SDL_video.h:512: error: ISO C++ forbids declaration of `B
mask' with no type
/usr/local/include/SDL/SDL_video.h:512: error: ISO C++ forbids declaration of `A
mask' with no type
/usr/local/include/SDL/SDL_video.h:569: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:569: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:569: error: ISO C++ forbids declaration of `f
lag' with no type
/usr/local/include/SDL/SDL_video.h:569: error: ISO C++ forbids declaration of `k
ey' with no type
/usr/local/include/SDL/SDL_video.h:586: error: `Uint32' has not been declared
/usr/local/include/SDL/SDL_video.h:586: error: `Uint8' has not been declared
....
....
player.cpp:306: error: 'struct SDL_Color' has no member named 'r'
player.cpp:306: error: 'struct SDL_Color' has no member named 'g'
player.cpp:306: error: 'struct SDL_Color' has no member named 'b'
player.cpp:307: error: 'struct SDL_Color' has no member named 'r'
player.cpp:307: error: 'struct SDL_Color' has no member named 'g'
player.cpp:307: error: 'struct SDL_Color' has no member named 'b'
player.cpp:310: error: `SDL_MapRGB' undeclared (first use this function)
make[1]: *** [player.o] Error 1
make[1]: Leaving directory `/usr/eliza'
make: *** [all-recursive] Error 1
It's too long for windows console scrollbar
Well, I didn't use any additional flags, just ./configure, make and make install for SDL, and ./configure and the unsuccessful make to TfE.
Thanks in advance.
Regards
inflater