dev-cpp-users Mailing List for Dev-C++ (Page 280)
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
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From:
<ri...@te...> - 2003-12-18 03:25:25
|
Jack Chen escribió: >Thank you, THANK YOU, Sir. Problem solved! > >How did you know it's the arguments in Main() that's causing all the >trouble? Man I've been searching on the net for 4 hours, on GCC, >Cygwin, MingW, SDL, and whole bunch of tutorials just to get my simple >OpenGL triangle to compile. > > Humm are you sure you really searched that long? http://www.libsdl.org/faq.php?action=listentries&category=4#48 When everything fails, use the FAQs ;) Regards -- --------------------------------------------------- Ricardo Amores Hernández ICQ: 19463735 MSN: zheo_ (at) hotmail (dot) es --------------------------------------------------- |
|
From: Oroszi B. <or...@di...> - 2003-12-17 21:21:06
|
Buday Gergely wrote: > I've started to use Dev-C++ 4.9.8.5 recently. In general I'm quite > satisfied, but one little thing causes me to wonder: Alt Gr does not > function in the editor. I'm using a Hungarian keyboard, and I need Alt Gr > for including a semicolon. Will there be a fix in foreseeable future? Choose "Tools"->"Configure Shortcuts", then scroll down a bit, and clear the "Edit:Comment" or "Edit:Uncomment" shortcuts, as they are catched before Windows can catch "AltGr+," (which is actually Alt+Ctrl+,). If you need any other Alt Gr characters, then clear all "Alt+Ctrl+..." shortcuts from the Shortcut config, that should make it to function properly. However I never needed this, and I suspect you'd be better off switching to English keyboard layout, as the semicolon and other "useful" characters are more "at hand". Well, at least, that's how I am used to programming. But it differs from man to man, so... :) I hope I could help. -- Greetings, Bal=E1zs |
|
From: Ferdinando F. <s2...@st...> - 2003-12-17 18:18:29
|
On Wed, 17 Dec 2003 hu...@cl... wrote:
> Hei all,
> i have this matrix :
>
> char matrix[5][5] =
> {{'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'}
> };
>
> and i have this function :
>
> void show_matrix(int m[5][5))
The only way to do it, if you can't modify one of the objects, is to
allocate a matrix of this kind:
int matrix_int[5][5] = {
{matrix[0][0], matrix[0][1], // ... and so on
but you have to create a new object, it is possible only if you know that
your matrix is small (5x5 makes cheap the job, for a 100x100 I'd think a
better solution). Obviously you can allocate an empty object and then
populate it with a for, treating the char matrix as a vector; if you
accept this solution, I suggest you create a proxy function (for instance
void show_char_matrix (...)) which allocate the matrix_int object and then
call show_matrix.
Hope I helped
Ferdinando
|
|
From: Buday G. <bu...@in...> - 2003-12-17 13:45:20
|
Hi, I've started to use Dev-C++ 4.9.8.5 recently. In general I'm quite satisfied, but one little thing causes me to wonder: Alt Gr does not function in the editor. I'm using a Hungarian keyboard, and I need Alt Gr for including a semicolon. Will there be a fix in foreseeable future? - Gergely |
|
From: Kevin W. <ke...@me...> - 2003-12-17 10:14:13
|
Do not convert. Declare the matrix as an int array:
int main(int argc, char* argv[])
{
int matrix[5][5] = {'0','0','0','0','0',
'0','0','0','0','0',
'0','0','0','0','0',
'0','0','0','0','0',
'0','0','0','0','0'};
show_matrix(matrix);
system("pause");
return 0;
}
void show_matrix(int m[5][5])
{
int i,j;
for(i=0;i<5;i++)
{
for(j=0;j<5;j++)
{
printf("%c ",m[i][j]);
}
printf("\n");
}
}
Kev.
===========================
At 07:36 17/12/03, hu...@cl... wrote:
>char matrix[5][5] =
>{{'0','0','0','0','0'},
>{'0','0','0','0','0'},
>{'0','0','0','0','0'},
>{'0','0','0','0','0'},
>{'0','0','0','0','0'}
>};
>
>and i have this function :
>
>void show_matrix(int m[5][5))
>{
>int i,j;
>
>for(i=0;i<5;i++)
>{
>for(j=0;j<5;j++)
>{
>printf("%c ",m[i][j]);
>}
>printf("\n");
>}
>}
|
|
From: <hu...@cl...> - 2003-12-17 09:47:13
|
How i call tgis function ??
<br>
<br>But this statement don't work : show_matrix((int)marix);
<br>
<br>>
<br>> --- Mensagem Original ---
<br>> De: <hu...@cl...>
<br>> Para: <dev...@li...>
<br>> Data e Hora: 17/12/2003 07:36
<br>> Assunto: [Dev-C++] How i convert a char matrix to int matrix ?
<br>
<br>> Hei all,
<br>> <br>i have this matrix :
<br>> <br>
<br>> <br>char matrix[5][5] =
<br>> <br>{{'0','0','0','0','0'},
<br>> <br>{'0','0','0','0','0'},
<br>> <br>{'0','0','0','0','0'},
<br>> <br>{'0','0','0','0','0'},
<br>> <br>{'0','0','0','0','0'}
<br>> <br>};
<br>> <br>
<br>> <br>and i have this function :
<br>> <br>
<br>> <br>void show_matrix(int m[5][5))
<br>> <br>{
<br>> <br> int i,j;
<br>> <br>
<br>> <br> for(i=0;i<5;i++)
<br>> <br> {
<br>> <br> for(j=0;j<5;j++)
<br>> <br> {
<br>> <br> printf("%c ",m[i][j]);
<br>> <br> }
<br>> <br> printf("\n");
<br>> <br> }
<br>> <br>}
<br>> <br>
<br>> <br>this function receives a int matrix and i have a char matix,
<br>> <br>how i call this function with a char matrix ??
<br>> <br>
<br>> <br>
<br>> <br>Thanks<p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet
<br>>
<br>> Adira em http://acesso.clix.pt e comece logo a navegar<br>
<br>>
<br>>
<br>> -------------------------------------------------------
<br>> This SF.net email is sponsored by: IBM Linux Tutorials.
<br>> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
<br>> Free Linux Tutorials. Learn everything from the bash shell to sys admin.
<br>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
<br>> _______________________________________________
<br>> Dev-cpp-users mailing list
<br>> Dev...@li...
<br>> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
<br>> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
<br><p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet
Adira em http://acesso.clix.pt e comece logo a navegar<br>
|
|
From: Per W. <pw...@ia...> - 2003-12-17 09:31:04
|
Simple - you can't since a char and an int have different sizes.
/Per W
On Wed, 17 Dec 2003 hu...@cl... wrote:
> Hei all,
> i have this matrix :
>
> char matrix[5][5] =3D
> {{'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'},
> {'0','0','0','0','0'}
> };
>
> and i have this function :
>
> void show_matrix(int m[5][5))
> {
> int i,j;
>
> for(i=3D0;i<5;i++)
> {
> for(j=3D0;j<5;j++)
> {
> printf("%c ",m[i][j]);
> }
> printf("\n");
> }
> }
>
> this function receives a int matrix and i have a char matix,
> how i call this function with a char matrix ??
>
>
> Thanks
>
> Clix Rapidix - Aumente at=E9 6X a velocidade da sua Internet Adira em htt=
p://acesso.clix.pt e comece logo a navegar
> =A0 ------------------------------------------------------- This SF.net e=
mail is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or jus=
t sharpen your
> skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the=
bash shell to sys admin. Click now!
> http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick ____________=
___________________________________ Dev-cpp-users mailing list
> Dev...@li... TO UNSUBSCRIBE: http://www23.brinkste=
r.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev=
-cpp-users
>
|
|
From: <ca...@he...> - 2003-12-17 08:06:44
|
hi!
with the help of this list I found the windows function
Find(First|Next|Last)ChangeNotification.
I tried to build an example I found on the net using devcpp, but somehow
it fails..
it compiles just fine and runs smoothly without an error but unfortunately
without any effect either. it does not notice any change to any file
within the specified directory..
<code>
#include <windows.h>
#include <winbase.h> // I also tried winnt.h.. no difference
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf("I am currently waiting for a change..\n");
HANDLE chn = FindFirstChangeNotification("C:\\", FALSE,
FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES |
FILE_NOTIFY_CHANGE_LAST_WRITE | FILE_NOTIFY_CHANGE_DIR_NAME);
while(1)
{
DWORD wr = WaitForSingleObject(chn, INFINITE);
DWORD dwMilSecs = 200;
do
{
FindNextChangeNotification(chn);
wr = WaitForSingleObject(chn, dwMilSecs);
}while(wr == WAIT_OBJECT_0);
}
printf("Now, there is one!\n");
FindCloseChangeNotification(chn);
system("PAUSE");
return 0;
}
</code>
any idea why this does not work?
thanks in advance!
---
Christian Schaefer
University of Applied Sciences Bremen Germany - Media Informatics
, , ,
<O <O <O
_( \_( \__( \_____This mail is written using pine via ssh.. ;-)
|
|
From: <hu...@cl...> - 2003-12-17 07:36:43
|
Hei all,
<br>i have this matrix :
<br>
<br>char matrix[5][5] =
<br>{{'0','0','0','0','0'},
<br>{'0','0','0','0','0'},
<br>{'0','0','0','0','0'},
<br>{'0','0','0','0','0'},
<br>{'0','0','0','0','0'}
<br>};
<br>
<br>and i have this function :
<br>
<br>void show_matrix(int m[5][5))
<br>{
<br> int i,j;
<br>
<br> for(i=0;i<5;i++)
<br> {
<br> for(j=0;j<5;j++)
<br> {
<br> printf("%c ",m[i][j]);
<br> }
<br> printf("\n");
<br> }
<br>}
<br>
<br>this function receives a int matrix and i have a char matix,
<br>how i call this function with a char matrix ??
<br>
<br>
<br>Thanks<p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet
Adira em http://acesso.clix.pt e comece logo a navegar<br>
|
|
From: Langner, C. <lan...@ty...> - 2003-12-16 18:54:56
|
What is the preferred method for including a resource file (.rc) in a project for a c++ Windows application? Do you just add it to the project list in project manager, or is there another method that actually works? Chuck Langner |
|
From: Timo D. <tim...@we...> - 2003-12-16 16:41:09
|
Hi again I wanted to compile .c source to a .mi binary with external= makefile and cygwin... I tried what "Maya" supposed, but it didn`t work. I tried to= compile with my makefile and without, both aborted with errors. So what I did : I made changes like this : Tools --> Compiler Options --> Directories --> Binaries -->= c:\cygwin\bin Tools --> Compiler Options --> Directories --> Libraries -->= c:\cygwin\lib Tools --> Compiler Options --> Directories --> Includes -->= c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++ Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++\3.3.1\backward Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++\3.3.1\i386-pc-cygwin After entering these settings, DevCpp automatically used the= Cygwin .exes in CompilerOptions->Programms (gcc.exe ...) //////////////////////////////////////////////////////////////// With my makefile in ProjectOptions->Makefile : Compiler: trimedia_dve2 Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo_init.c Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo.c F=FChrt make... aus make.exe -f "C:\Programme\dve-2\examples\vivo4work\Makefile.win"= all gcc.exe -c vivo_init.c -o vivo_init.o -host nohost -el -O5= -DNO_DP -DL2_LOAD_ADDR=3D0x00000840 gcc: cannot specify -o with -c or -S and multiple compilations make.exe: *** [vivo_init.o] Error 1 Ausf=FChrung beendet /////////////////////////////////////////////////////////////////= Without my makefile in ProjectOptions->Makefile : Compiler: trimedia_dve2 Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo_init.c Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo.c F=FChrt make... aus make.exe -f "C:\Programme\dve-2\examples\vivo4work\Makefile.win"= all gcc.exe -c vivo_init.c -o vivo_init.o= -I"C:/Programme/cygwin/usr/include" vivo_init.c:1:23: tmBoardID.h: No such file or directory vivo_init.c:4:23: tm1/tmIIC.h: No such file or directory vivo_init.c:5:25: tm1/tsaUart.h: No such file or directory vivo_init.c:6:25: tm1/tmBoard.h: No such file or directory vivo_init.c:7:22: tm1/mmio.h: No such file or directory vivo_init.c:8:23: tm1/tmXIO.h: No such file or directory vivo_init.c:9:27: tm1/tmXIOmmio.h: No such file or directory vivo_init.c:10:27: tm1/tmintPins.h: No such file or directory vivo_init.c:11:27: tmlib/dprintf.h: No such file or directory vivo_init.c:12:24: tm1/tmHelp.h: No such file or directory vivo_init.c:13:31: tm1/tmIntPinsmmio.h: No such file or= directory vivo_init.c:15:22: tm1/tmVI.h: No such file or directory vivo_init.c:16:22: tm1/tmVO.h: No such file or directory vivo_init.c:17:29: tm1/tmAvFormats.h: No such file or directory vivo_init.c:18:26: tm1/tmVImmio.h: No such file or directory vivo_init.c:19:26: tm1/tmVOmmio.h: No such file or directory vivo_init.c:20:28: tmlib/AppModel.h: No such file or directory vivo_init.c:21:29: tm1/tmProcessor.h: No such file or directory vivo_init.c:22:51: ops/custom_defs.h: No such file or directory vivo_init.c:23:23: MDS_DVE-2.h: No such file or directory vivo_init.c:50: error: parse error before "UInt32" vivo_init.c:50: warning: no semicolon at end of struct or union vivo_init.c:51: warning: data definition has no type or storage= class vivo_init.c:52: error: parse error before "V" vivo_init.c:52: warning: data definition has no type or storage= class vivo_init.c:53: error: parse error before "flag" vivo_init.c:53: warning: data definition has no type or storage= class vivo_init.c:54: warning: data definition has no type or storage= class vivo_init.c:56: error: parse error before "fullResBuf" vivo_init.c:56: warning: data definition has no type or storage= class vivo_init.c:57: error: parse error before "bkBuf" vivo_init.c:57: warning: data definition has no type or storage= class vivo_init.c:58: error: parse error before "genBuf" vivo_init.c:58: warning: data definition has no type or storage= class in ProjectOptions->Makefile ..... vivo_init.c:908: error: `UART_CONTROL_OFF' undeclared (first use= in this function) vivo_init.c: In function `vivoCheckArgcv': vivo_init.c:1016: error: `Int' undeclared (first use in this= function) vivo_init.c:1016: error: parse error before "mark" vivo_init.c:1021: error: `mark' undeclared (first use in this= function) vivo_init.c:1022: error: `vasNTSC' undeclared (first use in this= function) vivo_init.c:1028: error: `vasPAL' undeclared (first use in this= function) vivo_init.c:1035: error: `vaaCVBS' undeclared (first use in this= function) vivo_init.c:1041: error: `vaaSvideo' undeclared (first use in= this function) make.exe: *** [vivo_init.o] Error 1 Ausf=FChrung beendet /////////////////////////////////////////////////////////////////= ///// Any ideas what I could do? thx best wishes, Timo >Yes, there are things that you have to change: >Tools --> Compiler Options --> Directories --> Binaries -->= c:\cygwin\bin >Tools --> Compiler Options --> Directories --> Libraries -->= c:\cygwin\lib >Tools --> Compiler Options --> Directories --> Includes --> >c:\cygwin\include >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++ >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.2 >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1 >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1\backward >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1\i386-pc-cygwin > >And remove all the references to Dev-Cpp MingWin, that's it! > >age...@co... wrote: > >>You can use Cygwin with Dev-C++. You simply have to download it= and switch compilers. You simply need to change a few options. I= have never done it, so cannot help you. Check the documentation= for mingw and cygwin for more info, and also the Dev-C++ info. >> >>-- >>~~Scott Simontis~~ >>Programmer >> >> >>>Hello >>> >>>This is my first post :) >>>I hope someone could help... >>> >>>I want to use DevCpp for a .c source with an external makefile= and external >>>headers and libraries. Furthermore, I don't want to build a= .exe but a .mi file. >>>That binary is supposed to run on a digital signal processor= and not on a pc. >>> >>>Up to now, I successfully used Cygwin to build this special= .mi. So I have that >>>makefile to do this. The makefile calls "tmcc.exe" which is a= special compiler >>>for trimedia devices. >>> >>>I installed DevCpp 4.9.8.0, created a new empty project and= added >>>(project->project options->makefile ) my external makefile to= the project. I >>>tried to compile the source and got a error : >>> >>>//////////////////////////////////////////////////////////////= /////// >>>Compiler: Default compiler >>>Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" >>>F=FChrt make... aus >>>make.exe -f= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" all >>>gcc.exe -c vivo_init.c -o vivo_init.o -host nohost -el -O5= -DNO_DP >>>-DL2_LOAD_ADDR=3D0x00000840 >>> >>>gcc.exe: cannot specify -o with -c or -S and multiple= compilations >>> >>>make.exe: *** [vivo_init.o] Error 1 >>> >>>Ausf=FChrung beendet >>>//////////////////////////////////////////////////////////////= //////// >>> >>>Any ideas ? >>>best wishes, >>>Timo >>>______________________________________________________________= ________________ >>>WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und >>>nutzen Sie die neuen Funktionen= http://f.web.de/features/?mc=3D021130 >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IBM Linux Tutorials. >>>Become an expert in LINUX or just sharpen your skills. Sign= up for IBM's >>>Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=0Cick >>>_______________________________________________ >>>Dev-cpp-users mailing list >>>Dev...@li... >>>TO UNSUBSCRIBE:= http://www23.brinkster.com/noicys/devcpp/ub.htm >>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >>> >>> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IBM Linux Tutorials. >>Become an expert in LINUX or just sharpen your skills. Sign up= for IBM's >>Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >>Click now!= http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE:= http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> > >-- > >Jorge Escalante >FYI >http://www.astro.umd.edu/~marshall/abbrev.html > >E-Mail Policy >http://www.vif.com/users/escalante/Email_Policy.html > >* You cannot exercise your power to a point of humiliation. > - Jean Chretien > >* The media's the most powerful entity on earth. They have the > power to make the innocent guilty and to make the guilty > innocent, and that's power. > - Malcom X >* "Innocent until proven guilty", no... not in Canada!! > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up= for IBM's >Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >Click now!= http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Frank W. <F.W...@wi...> - 2003-12-15 12:08:01
|
Hello, I tried to compile wxWindows under Cygwin and obviously all seems to be ok = no errors and so on. But as I compare the result with the DevPack for MinGW I discovered that = no libs had been built. As I remember there are 2 files with the suffix = *.a in the wxWindwos DevPack f=FCr MingGW but I got nothing of them. What might I did wrong. Are there any descriptions of compiling wxWindows = under Cygwin? I hope somebody can give me a hint Greetings Frank |
|
From: Jack C. <jac...@ya...> - 2003-12-15 01:58:56
|
Thank you, THANK YOU, Sir. Problem solved! How did you know it's the arguments in Main() that's causing all the trouble? Man I've been searching on the net for 4 hours, on GCC, Cygwin, MingW, SDL, and whole bunch of tutorials just to get my simple OpenGL triangle to compile. You saved my life, Damien. Thank you, thank you. Jack (by the way, how can I simply reply to a message to Dev-C++'s mailing list like you did, without copying everything manually? And, are you gonna stay on this list for long? It's hard to find real treasure like you.) >Damien A wrote: > >Does you SDL_main match the prototype? Meaning, does your main function >have arguments? If not, make sure it does. ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |
|
From: Damien A <g_...@ho...> - 2003-12-15 01:18:52
|
<html><div style='background-color:'><DIV class=RTE> <P><BR>Does you SDL_main match the prototype? Meaning, does your main function have arguments? If not, make sure it does.</P> <P><BR> </P></DIV> <DIV></DIV>>From: Jack Chen <JAC...@YA...> <DIV></DIV>>To: dev...@li... <DIV></DIV>>Subject: RE: [Dev-C++] Need help with linker error from SDL + OpenGL <DIV></DIV>>Date: Sun, 14 Dec 2003 19:37:06 -0500 (EST) <DIV></DIV>>MIME-Version: 1.0 <DIV></DIV><mailto:dev...@li...?subject=unsubscribe><mailto:dev...@li...><mailto:dev...@li...?subject=help><mailto:dev...@li...?subject=subscribe> <DIV></DIV>>Yeah I had that. It was the default settings that came with the SDL <DIV></DIV>>project, but I still got that problem: <DIV></DIV>> <DIV></DIV>>[Linker error] undefined reference to `SDL_main' <DIV></DIV>> <DIV></DIV>>Jack <DIV></DIV>> <DIV></DIV>> >Damien A wrote: <DIV></DIV>> <DIV></DIV>> >When compiling SDL programs on Dev-C++, make sure your linker <DIV></DIV>>arguments >start as follows: <DIV></DIV>> > <DIV></DIV>> >-lmingw32 -lsdlmain -lsdl <DIV></DIV>> > <DIV></DIV>> >Any additional libraries can follow those. <DIV></DIV>> <DIV></DIV>>______________________________________________________________________ <DIV></DIV>>Post your free ad now! http://personals.yahoo.ca <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>------------------------------------------------------- <DIV></DIV>>This SF.net email is sponsored by: IBM Linux Tutorials. <DIV></DIV>>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's <DIV></DIV>>Free Linux Tutorials. Learn everything from the bash shell to sys admin. <DIV></DIV>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click <DIV></DIV>>_______________________________________________ <DIV></DIV>>Dev-cpp-users mailing list <DIV></DIV>>Dev...@li... <DIV></DIV>>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm <DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users <DIV></DIV></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...?subject=help></mailto:dev...@li...></mailto:dev...@li...?subject=unsubscribe></div><br clear=all><hr>STOP MORE SPAM with <a href="http://g.msn.com/8HMBEN/2728??PS=">the new MSN 8</a> and get 2 months FREE*</html> |
|
From: Jack C. <jac...@ya...> - 2003-12-15 00:37:07
|
Yeah I had that. It was the default settings that came with the SDL project, but I still got that problem: [Linker error] undefined reference to `SDL_main' Jack >Damien A wrote: >When compiling SDL programs on Dev-C++, make sure your linker arguments >start as follows: > >-lmingw32 -lsdlmain -lsdl > >Any additional libraries can follow those. ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |
|
From: Damien A <g_...@ho...> - 2003-12-15 00:30:05
|
<html><div style='background-color:'><DIV class=RTE> <P>When compiling SDL programs on Dev-C++, make sure your linker arguments start as follows:</P> <P>-lmingw32 -lsdlmain -lsdl </P> <P>Any additional libraries can follow those.<BR></P></DIV> <DIV></DIV>>From: Jack Chen <JAC...@YA...> <DIV></DIV>>To: dev...@li... <DIV></DIV>>Subject: [Dev-C++] Need help with linker error from SDL + OpenGL <DIV></DIV>>Date: Sun, 14 Dec 2003 19:22:08 -0500 (EST) <DIV></DIV>>MIME-Version: 1.0 <DIV></DIV><mailto:dev...@li...?subject=unsubscribe><mailto:dev...@li...><mailto:dev...@li...?subject=help><mailto:dev...@li...?subject=subscribe> <DIV></DIV>> <DIV></DIV>>Hi, does anyone here know how to fix this problem? <DIV></DIV>> <DIV></DIV>>I installed SDL for Dev-C++ and ran the sample program no problem, but <DIV></DIV>>when I used OpenGL in SDL there's a linker error: <DIV></DIV>> <DIV></DIV>>[Linker error] undefined reference to `SDL_main' <DIV></DIV>> <DIV></DIV>>no other errors. Does anyone know how to fix this problem? <DIV></DIV>> <DIV></DIV>>Thanks in advance for any help. <DIV></DIV>> <DIV></DIV>>JackC <DIV></DIV>> <DIV></DIV>>______________________________________________________________________ <DIV></DIV>>Post your free ad now! http://personals.yahoo.ca <DIV></DIV>> <DIV></DIV>> <DIV></DIV>>------------------------------------------------------- <DIV></DIV>>This SF.net email is sponsored by: IBM Linux Tutorials. <DIV></DIV>>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's <DIV></DIV>>Free Linux Tutorials. Learn everything from the bash shell to sys admin. <DIV></DIV>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click <DIV></DIV>>_______________________________________________ <DIV></DIV>>Dev-cpp-users mailing list <DIV></DIV>>Dev...@li... <DIV></DIV>>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm <DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users <DIV></DIV></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...?subject=help></mailto:dev...@li...></mailto:dev...@li...?subject=unsubscribe></div><br clear=all><hr>Add photos to your messages with <a href="http://g.msn.com/8HMBEN/2749??PS=">MSN 8. </a> Get 2 months FREE*.</html> |
|
From: Jack C. <jac...@ya...> - 2003-12-15 00:22:08
|
Hi, does anyone here know how to fix this problem? I installed SDL for Dev-C++ and ran the sample program no problem, but when I used OpenGL in SDL there's a linker error: [Linker error] undefined reference to `SDL_main' no other errors. Does anyone know how to fix this problem? Thanks in advance for any help. JackC ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |
|
From: <age...@co...> - 2003-12-14 17:23:40
|
I am not sure of the name. I do know that several viruses use this is a chief way of killing the system. A whacked up installation of a program can also do that. It could be anything from Windows to some video game you have installed. -- ~~Scott Simontis~~ Programmer > Hello, > > Are you sure for the virus?i have checked it with updated virus scan. > what is the name of the virus please? |
|
From: Michal M. <mol...@se...> - 2003-12-13 21:42:28
|
Marcel Koopman wrote: > Hello, > > How do i get libxml2.6 to work in Dev-c++? > The only devpackage i can find is 2.4.22, which does not include stuff i > need (xmlreader.h). maybe you could try official 2.6.3 binaries: http://www.zlatkovic.com/libxml.en.html (but I didn't tried them) |
|
From: Marcel K. <pu...@ho...> - 2003-12-13 21:19:38
|
Hello, How do i get libxml2.6 to work in Dev-c++? The only devpackage i can find is 2.4.22, which does not include stuff i need (xmlreader.h). I do have the libxml 2.6.22 source for windows downloaded, do i need to compile this? And how? Or should i make a dev-package? Thanks, Marcel |
|
From: <or...@vp...> - 2003-12-13 14:01:48
|
hu...@cl... wrote: > Hei all, > whats the diference between this statements : > > int v[1000]; > memset(v,'\0',sizeof(v)); > > and ..... > > int v[1000]; > memset(v,0x00,sizeof(v)); Actually, nothing. 0x00 and '\0' means the same thing. 0x00 is simply 0 in decimal form. '\0' means the ascii-code of the \0 character (note: NOT the ascii-code of '0') as far as I know, and it is also 0. So the behaviour of the two memset's are identical. It depends on the context which one is more appropriate. If you wish to initialize a character buffer with the same characters, for example, with the letter 'a', then the first form is more straight-forward: char v[1000]; memset(v,'a',sizeof(v)); /* v[1000-1] = '\0' */ But in your case, the second is better, as you initialize an integer array, and I suspect, that you wish to zero it out. int v[1000]; memset(v,0,sizeof(v)); -- Greetings, Balázs |
|
From: <hu...@cl...> - 2003-12-13 13:38:42
|
Hei all, <br>whats the diference between this statements : <br> <br>int v[1000]; <br>memset(v,'\0',sizeof(v)); <br> <br>and ..... <br> <br>int v[1000]; <br>memset(v,0x00,sizeof(v)); <br> <br>Thanks<p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet Adira em http://acesso.clix.pt e comece logo a navegar<br> |
|
From: Ferdinando F. <s2...@st...> - 2003-12-13 10:26:27
|
On Sat, 13 Dec 2003 age...@co... wrote: > I think .rc files vary between compilers. As far as I know, they're a Windows standard: to me some problem has only occurred for pathnames, because Dev-C++ required '/' instead of '\\' - or something similar, I can't recall. For the problem itself, line indicated by windres is only to find involved object, so error can be anywhere (again, I don't really remember - too much time I don't write my own resource files): I think he hasn't defined the value of IDI_MYICON, tipically not including the resource.h file. Note that Dev-C++ handles resources with a private part, so an #include should always be present in the rc. Ferdinando |
|
From: Per W. <pw...@ia...> - 2003-12-13 10:17:51
|
It's the reverse. There are a number of mathematical operations available on complex that doesn't make sense with int. pow, cos, sin, sqrt, tan, polar, ... sin and cos returns a result in the -1..1 range. An integer can only store, -1,0,1 which obvisoulsy means you can only process the angles 0, 90, 180, 270. A complex number is by mathematical definition a superset of a floating point number, containing a real and an imaginary part (each a floating point number) so obviously you can't use two integers. /Per W On Sat, 13 Dec 2003, Mohamed Iqbal wrote: > > > Some of the matematical operations are not meaningful if you can't > > represent a fractional value. > > > > /Per W > > > can you give examples for that. which basic operations make sense with > int but not with complex<int>? > > Mohammed > > > > > On Thu, 11 Dec 2003, Mohamed Iqbal wrote: > > > > > 26.2/2: The effect of instantiating the template complex for any type > other > > > than float, double or long double is unspecified. > > > > > > Does anybody know the reason for that? > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > > > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Mohamed I. <mi...@ac...> - 2003-12-13 04:48:02
|
> Some of the matematical operations are not meaningful if you can't > represent a fractional value. > > /Per W can you give examples for that. which basic operations make sense with int but not with complex<int>? Mohammed > > On Thu, 11 Dec 2003, Mohamed Iqbal wrote: > > > 26.2/2: The effect of instantiating the template complex for any type other > > than float, double or long double is unspecified. > > > > Does anybody know the reason for that? > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > |