dev-cpp-users Mailing List for Dev-C++ (Page 382)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
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c2V0dXAgeW91ciBwcm9ncmFtbWluZyBlbnZpcm9ubWVudC4gSGUgaGFzDQp0 byBhc3N1bWUgcHJvZ3JhbW1lcnMgaGF2ZSBzb21lIGZpbGUgc3lzdGVtIHNraWxscyB0aGF0IG9s ZCBET1MNCnByb2dyYW1tZXJzIHdvdWxkIGhhdmUgYnV0IHRoYXQgbmV3Y29tZXJzIHRoYXQgaGF2 ZSBuZXZlciBiYXR0bGVkIGENCmNvbW1hbmQgbGluZSBPL1MgbWlnaHQgbm90LiBUaGVyZSdzIG9u bHkgc28gbXVjaCBwb2ludCBhbmQgY2xpY2sgY2FuDQphY2hpZXZlIDxzbWlsZT4gSSBjdXQgbXkg dGVldGggcHJvZ3JhbW1pbmcgb24gTVMgQmFzaWMgYmFjayB3aGVuIHlvdQ0KbGVhcm5lZCBjb21t YW5kIGxpbmUgb3BlcmF0aW9uIG9yIHlvdSBmb3VuZCBhbm90aGVyIGpvYiA7LSkNCg0KSFRIDQo= |
|
From: Mark L. <mli...@ip...> - 2003-05-16 01:13:53
|
On Wed, 14 May 2003 07:34:25 -0700 (PDT)
Raj Kolluri <raj...@ya...> wrote:
Now I know nothing about JNI but if this is a C program, where is your
int main(int argc, char *argv[])
or something equivalent?
> This is my code:
> ======================================
>
> #include <jni.h>
> #include <stdio.h>
> # include "HelloWorld.h"
> JNIEXPORT void JNICALL
> Java_HelloWorld_print(JNIEnv *env, jobject obj)
>
> printf("Hello World!\n");
> return;
>
>
> ======================================
>
> When I try to compile the code I get following error:
>
> [Linker error] undefined reference to `WinMain@16'
|
|
From: Lists <li...@dr...> - 2003-05-15 23:32:33
|
As I see it, if you have a bottom level function throwing an exception, and a top level function catching it, but to identify the mid-level function it travelled through.. you would need to have to rethrow it in the midlevel function with a minor tweak to identify itself. I don't think there's any way around that. Tvienti ----- Original Message ----- From: "Zodiaq" <zo...@ac...> To: <Dev...@li...> Sent: Thursday, May 15, 2003 7:03 PM Subject: [Dev-C++] about exceptions > Hello all Dev-cpp-users, > > I have one important question - this small example will show what my > mail is all about... let's say I have one major function (FunQ) which > calls many smaller functions(fun1 - fun20), and all of these functions > uses the same small function (smallFun) which conditionaly may throw > exceptions... only FunQ catches these exceptions... is there some a > way to know which way this exception came apart from rethrowing it > from funX (where X is number 1-20)... adding in many points in every > fun1-fun20 try...catch is what I want to avoid... maybe there is > something similar like __LINE__ or __FILE__ but about call stack?? > > -- > regards Zodiaq > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |
|
From: Smith, J. N. <jn...@ut...> - 2003-05-15 23:26:09
|
Sorry about the repeated topic, but...
I've looked through the archives and the online forum. I've successfully
used GLUT on Dev-C++ 4.0. 4.9.8 (5) is stumping me. I've got all the
libraries from the installation and 3.7.6 dll (which I'm not using) in
Windows/System[32]. I'm not sure what to do, now.
Under Tools->Compiler Options->Compiler I have the "Add the following
commands..." checked with the following commands
-lopengl32 -lglu32 -lglut32
The "source" looks like this: (I know this doesn't make a window or
initialize)
#include <windows.h>
#include <gl/glut.h>
#include <gl/gl.h>
int main(int argc, char *argv[])
{
return 0;
}
The compiler spits out this:
Compiler: GLUT
Building Makefile: "C:\Documents and
Settings\thechao\Desktop\NJGLUT\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\thechao\Desktop\NJGLUT\Makefile.win"
all
g++.exe -c main.cpp -o main.o -I"C:/Program Files/Dev-Cpp/include/c++"
-I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program
Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include"
-I"C:/Program Files/Dev-Cpp/include/GL" -lopengl32 -lglu32 -lglut32
g++.exe: -lopengl32: linker input file unused because linking not done
g++.exe: -lglu32: linker input file unused because linking not done
g++.exe: -lglut32: linker input file unused because linking not done g++.exe
main.o -o "NJGLUT.exe" -L"C:/Program Files/Dev-Cpp/lib"
main.o(.text+0x15):main.cpp: undefined reference to `__glutInitWithExit@12'
main.o(.text+0x32):main.cpp: undefined reference to
`__glutCreateWindowWithExit@8'
main.o(.text+0x50):main.cpp: undefined reference to
`__glutCreateMenuWithExit@8' make.exe: *** [NJGUI.exe] Error 1 Execution
terminated
|
|
From: Zodiaq <zo...@ac...> - 2003-05-15 23:03:06
|
Hello all Dev-cpp-users, I have one important question - this small example will show what my mail is all about... let's say I have one major function (FunQ) which calls many smaller functions(fun1 - fun20), and all of these functions uses the same small function (smallFun) which conditionaly may throw exceptions... only FunQ catches these exceptions... is there some a way to know which way this exception came apart from rethrowing it from funX (where X is number 1-20)... adding in many points in every fun1-fun20 try...catch is what I want to avoid... maybe there is something similar like __LINE__ or __FILE__ but about call stack?? -- regards Zodiaq |
|
From: michel.weinachter <mic...@fr...> - 2003-05-15 20:09:48
|
>
> Subject:
> [Dev-C++] wxWindows
> From:
> Johan Hörnell <hor...@te...>
> Date:
> Fri, 16 May 2003 18:05:28 +0200
> To:
> <Dev...@li...>
>
>
> Hello!
> Yesterday I had a greate idea on a new application.
> But I thought the interface should be quite hard to make using just
> Win32 API, so I decided to use wxWindows.
> I have no experiance using wxWindows and my try ended up the way it
> started, with nothing done.
> I'm getting about 400 of liker errors and I just can't solve the problem.
> You see, I'm quite used to those liker errors, Before i've just found
> the right library and cliked add... and boom everything have worked.
> This time I can't find the right library, so maybe, that's not the fault.
> However I need your help!
> Can anybody out there help me solve this problem?
just change compiler by cppCompiler in the wxwindows template in the
templates directory.
> Thanks in advance!
> //Johan Hörnell
>
I have released a new version of the wxwindows.devpak
corrections :
- Compiler change in CppCompiler
- No more crashes with windows XP SP1 with the lastest patches (I
hate M$ patches !)
good wxindows programimng
|
|
From: Michael S. <mic...@nu...> - 2003-05-15 19:32:59
|
Hi, when I=B4m trying to debug a program (even a "Hello world" sample), it = doesn=B4t work: If I press the debug button in the toolbar, it just runs the program as = usual, if I press the debug button in the "Debug" tab it always = complains about the project having no debug-info, even after the first = time. The program doesn=B4t stop at my watchpoints. Any idea what could have gone wrong? |
|
From: <or...@vp...> - 2003-05-15 18:35:43
|
Felipe Lima wrote: > > I need an routine to reboot the machine in c or c++ > if anyone could be of help i'd be grateful, Maybe ExitWindowsEx() (Win32 API)? -- Greetings, Balázs |
|
From: Felipe L. <li...@cp...> - 2003-05-15 18:06:55
|
I need that in Windows XP
-=-=-=-=-=-=-
Felipe Lima - Software Tester/ Developer
CPTS - Software Test Research Center
HP Brazil - PUCRS
----- Original Message -----
From: "Goran Rakic" <go...@de...>
To: "Felipe Lima" <li...@cp...>
Sent: Thursday, May 15, 2003 3:09 PM
Subject: Re: [Dev-C++] Reboot the machine
> On Thursday 15 May 2003 19:47, Felipe Lima wrote:
> > I need an routine to reboot the machine in c or c++
> > if anyone could be of help i'd be grateful,
>
> This must be system specified. Maybe this can help you (but process owner
must
> be with UID 0)
>
> system("/sbin/poweroff");
>
> Goran
>
>
|
|
From: Felipe L. <li...@cp...> - 2003-05-15 17:53:25
|
I need an routine to reboot the machine in c or c++ if anyone could be of help i'd be grateful, Thanks, -=3D-=3D-=3D-=3D-=3D-=3D- Felipe Lima - Software Tester/ Developer CPTS - Software Test Research Center HP Brazil - PUCRS |
|
From: <hor...@te...> - 2003-05-15 17:04:20
|
Hello! Yesterday I had a greate idea on a new application. But I thought the interface should be quite hard to make using just = Win32 API, so I decided to use wxWindows. I have no experiance using wxWindows and my try ended up the way it = started, with nothing done. I'm getting about 400 of liker errors and I just can't solve the = problem. You see, I'm quite used to those liker errors, Before i've just found = the right library and cliked add... and boom everything have worked. This time I can't find the right library, so maybe, that's not the = fault. However I need your help! Can anybody out there help me solve this problem? Thanks in advance! //Johan H=F6rnell |
|
From: Yeoh H. <ye...@ye...> - 2003-05-15 07:48:26
|
I'm glad you find it useful. :-) Adding the sqlite DevPak to vupdate might be good idea but I'm not sure w= ho to contact and how to submit it for inclusion in vupdate. Perhaps, the group "moderator" or "maintainer" could help. Thanks and best regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Fernando Concei=E7=E3o" <fer...@te...> To: "Yeoh HS" <ye...@ye...> Cc: <dev...@li...> Sent: Thursday, May 15, 2003 1:25 PM Subject: Re: [Dev-C++] Creating the .a file from sqlite > Thanks, it=B4s works very well. And more thanks by example. > And a sugestion, can=B4t it be add to vupdate? Since there is only mysq= l > database on it, but for mysql you need a server runing... |
|
From: <fer...@te...> - 2003-05-15 05:31:36
|
Thanks, it´s works very well. And more thanks by example. And a sugestion, can´t it be add to vupdate? Since there is only mysql database on it, but for mysql you need a server runing... Yeoh HS escreveu: >Hi, > >I've finished uploading the DevPak. To download it, the URL is: >http://www.yeohhs.com/free/viewtopic.asp?forumid=10&id=28 > >Included in the Devpak is a simple Win32 console program with source codes >that shows how to add, edit, delete, list and find records in a SQLite >database. > >Best Regards, >Yeoh >~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ >ICT eBooks by Yeoh HS >Free Downloads at http://www.yeohhs.com >~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ > > > > >------------------------------------------------------- >Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara >The only event dedicated to issues related to Linux enterprise solutions >www.enterpriselinuxforum.com > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > |
|
From: <ca...@kr...> - 2003-05-15 05:28:44
|
FL>> What do I need to compile a OpenGL program in Dev Cpp 4.9.8?
FL>> I always get some errors while compiling it, Linker Errors.
> just add libs to your project:
> -lopengl32
> -lglu32
yes, and if needed also add -lglut32 to it.
I also recommend not to use the glaux library. it's buggy!
gruss
/Christian mailto:ca...@kr...
---
I propose that the following character sequence for joke markers:
:-)
19-Sep-82 11:44 Scott E Fahlman
|
|
From: Astar <As...@tu...> - 2003-05-14 21:45:45
|
Hello OROSZI, Wednesday, May 14, 2003, 2:09:01 PM, you wrote: OB> Well, this is going to be loooooooong....... we do not live so long :)) >> ok! some screenshots for you. Realtime. Without any specific (i mean >> you don't need buy something else) hardware. OB> I DON'T NEED A 3D CARD AT ALL??????? OB> You are probably jokeing.... - or you are a bit uninformed... you don't understand @specific@??? stop kidding! All gamers have DX7 (or better) cards (from TNT to Radeon 9800Pro) i mean that you don't need to buy some more Video cards (of course you must have GeForce/Radeon, but for using OpenRT you mast buy _one more_ card, or it will be built into NV/ATI/Matrox cards). OB> There are huge differences between rasterization based rendering and OB> ray-tracing, that I'm *NOT* going to explain now. The fact is, that OB> OpenGL is getting a bit old... New technologies come, just wait a few OB> year to see the results... ok! Time will show to us the real "future"... -- Best regards, Astar mailto:As...@tu... |
|
From: Astar <As...@tu...> - 2003-05-14 21:33:04
|
Hello Felipe, Wednesday, May 14, 2003, 11:41:42 PM, you wrote: FL> What do I need to compile a OpenGL program in Dev Cpp 4.9.8? FL> I always get some errors while compiling it, Linker Errors. just add libs to your project: -lopengl32 -lglu32 -- Best regards, Astar mailto:As...@tu... |
|
From: Ioannis V. <iv...@at...> - 2003-05-14 20:43:44
|
I made a mistake. Fixed below:
-----Original Message-----
From: Ioannis Vranos [mailto:iv...@at...]
Sent: Wednesday, May 14, 2003 11:39 PM
To: 'dev...@li...'
Subject: RE: [Dev-C++] Isnt this a bug
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Luis Cortes
Sent: Wednesday, May 14, 2003 10:56 PM
To: dev...@li...
Subject: [Dev-C++] Isnt this a bug
#include <iostream>
#include <cstring>
#include <stdlib.h>
Or better: #include <cstdlib>
using namespace std;
int main(int argc, char *argv[])
{
char pcarray[15];
strcpy( pcarray, "hello world");
cout << pcarray << endl;
const char *cp = pcarray;
// shouldnt I get a compiler error here? Or is there a gcc switch that I
need to set??
No, it is valid. The name specifier of the built in array behaves like a
const char * const pointer, when used with pointers.
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
<http://www.noicys.freeurl.com/>
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|
|
From: Felipe L. <li...@cp...> - 2003-05-14 20:41:34
|
What do I need to compile a OpenGL program in Dev Cpp 4.9.8? I always get some errors while compiling it, Linker Errors. Thanks, -=3D-=3D-=3D-=3D-=3D-=3D- Felipe Lima - Software Tester/ Developer CPTS - Software Test Research Center HP Brazil - PUCRS |
|
From: Ioannis V. <iv...@at...> - 2003-05-14 20:39:33
|
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of Luis Cortes
Sent: Wednesday, May 14, 2003 10:56 PM
To: dev...@li...
Subject: [Dev-C++] Isnt this a bug
#include <iostream>
#include <cstdio>
#include <stdlib.h>
Or better: #include <cstdlib>
using namespace std;
int main(int argc, char *argv[])
{
char pcarray[15];
strcpy( pcarray, "hello world");
cout << pcarray << endl;
const char *cp = pcarray;
// shouldnt I get a compiler error here? Or is there a gcc switch that I
need to set??
No, it is valid. The name specifier of the built in array behaves like a
const char * const pointer, when used with pointers.
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
<http://www.noicys.freeurl.com/>
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net <http://www.noicys.cjb.net/>
|
|
From: Raj K. <raj...@ya...> - 2003-05-14 14:34:26
|
Hi,
I am trying to write a simple C program to see how JNI works.
This is my code:
======================================
#include <jni.h>
#include <stdio.h>
# include "HelloWorld.h"
JNIEXPORT void JNICALL
Java_HelloWorld_print(JNIEnv *env, jobject obj)
{
printf("Hello World!\n");
return;
}
======================================
When I try to compile the code I get following error:
[Linker error] undefined reference to `WinMain@16'
I am working on Windows 2000 server. Could some one please point me in the right direction.
Thanks,
Raj
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. |
|
From: <or...@vp...> - 2003-05-14 11:08:29
|
Astar wrote: > I mean that it needs __specific__ hardware. I don't think that gamers > (or other end-consumers) want to buy one more $0000000 cards. > ok! it usefull for 3d modelling, but we have Quadro cards from NV, and > i don't think that NVidia agree to miss this sphere. Well, this is going to be loooooooong....... So... When 3dfx first introduced hardware supported 3d for consumers (us, gamers), then there was NO alternative, i.e.: it was __specific__ BUT: later came nVidia, ATI, etc. Other companies will produce hardware too for ray-tracing. > and I want to remind you that main power of D3D/OGL are its powerfull > tools (Cg, CgFX ), tons of documentation, lots of seminars and other > teaching stuff. OpenRT has better shader support - OGL shading is a hack, while ray-tracer shaders are trivial. For example: OGL shadows are a hack, and they also look crappy, and slow. While ray-traced shadows are accurate, and easier to write shaders for them. OpenRT has the EXACT same syntax, as OpenGL (hence the name) > OB> OpenRT needs hardware support, just like OpenGL does. Have you ever > OB> tried OpenGL in software mode? It produces less than 1 FPS... > > Yeah! We play to Quake II in software mode (640x480)... ~20-30fps on > very "weak" computers.... No, No, NO!!! Quake II HAS a software renderer separately. I meant software EMULATION of OpenGL. > OB> Trust me, OpenGL will quickly (2-4 years) become obsolete. The future is > OB> interactive ray-tracing. > > :)) may be GL2 (GLslang) helps as? It is still rasterization based - i.e.: SLOW, hack You can wax out a 50 year old russian car to look good, but when you see an Aston Martin (or anything better), then you will probably switch... > ok! some screenshots for you. Realtime. Without any specific (i mean > you don't need buy something else) hardware. I DON'T NEED A 3D CARD AT ALL??????? You are probably jokeing.... - or you are a bit uninformed... But anyway, those screens are still not REAL enough - the trees are still made with transparent polygons, while what I showed, there EVERY LITTLE STICK IS MODELLED... Tell me when is it going to be in OpenGL - but try to do it in this century.... There are huge differences between rasterization based rendering and ray-tracing, that I'm *NOT* going to explain now. The fact is, that OpenGL is getting a bit old... New technologies come, just wait a few year to see the results... Sad, but true: ray-tracing is faster for large scenes, generates way-better image quality, has automatic occlusion-culling (because of the algorithm), AND requires less hardware resources... than OpenGL -- Greetings, Balázs |
|
From: Yeoh H. <ye...@ye...> - 2003-05-14 09:16:40
|
Hi, I've finished uploading the DevPak. To download it, the URL is: http://www.yeohhs.com/free/viewtopic.asp?forumid=10&id=28 Included in the Devpak is a simple Win32 console program with source codes that shows how to add, edit, delete, list and find records in a SQLite database. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |
|
From: Yeoh H. <ye...@ye...> - 2003-05-14 09:05:17
|
Hi, Early last month, I've created a DevPak for sqlite 2.8.0. This version works with Dev-C++ 4.9.8.0 (GCC 3.2). If you like, I could post the DevPak to my site so that you can download = it. Best Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ICT eBooks by Yeoh HS Free Downloads at http://www.yeohhs.com ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ ----- Original Message ----- From: "Fernando Concei=E7=E3o" <fer...@te...> To: <dev...@li...> Sent: Wednesday, May 14, 2003 1:59 PM Subject: [Dev-C++] Creating the .a file from sqlite > I read the message, done everything but still don=B4t work for me. > I get undefined reference errors. > Can someone send me the file? I have all other but the library (.a) tha= t > I create don=B4t work, so if someone can send to my I will be very happ= y :) > > Thanks > |
|
From: Derick v. N. <der...@go...> - 2003-05-14 06:52:24
|
I think you are using libraries compiled for a different compiler. Download the devc++ libraries from www.bloodshed.net . I had the same problem before. -d- ----- Original Message ----- From: "Daniel Glenfield" <sp...@ho...> To: <li...@dr...>; <dev...@li...> Sent: Wednesday, May 14, 2003 7:40 AM Subject: Re: [Dev-C++] Linker problems are the necessary .o files in the right place? Is the compiler using them? >From: "Lists" <li...@dr...> >To: "C++ List" <dev...@li...> >Subject: [Dev-C++] Linker problems >Date: Tue, 13 May 2003 22:36:08 -0400 > >Ok, forgive the ignorance. I'm new to Dev-C++ and used to compiling the >old fashion way, with an abacus. > >Anyhow, I'm trying to compile a very basic OpenGL program (basically to >just open a window with a GL RC). Every time I do I get these errors: > >-file format not recognized, treating as linker script >-parse error > >I tried figuring out the problem with no luck. I tried copying and pasting >the linker paramaters diretcly from another working OGL project in Dev-C++, >but still no dice. Any ideas? > >Tvienti _________________________________________________________________ Express yourself with cool emoticons http://www.msn.co.uk/messenger ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <fer...@te...> - 2003-05-14 06:04:59
|
I read the message, done everything but still don´t work for me. I get undefined reference errors. Can someone send me the file? I have all other but the library (.a) that I create don´t work, so if someone can send to my I will be very happy :) Thanks |