dev-cpp-users Mailing List for Dev-C++ (Page 172)
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: Ni J. <ni_...@ba...> - 2004-11-04 14:11:21
|
Hi, All.
=20
I am writing to ask for help from the Dev-C++ user community with the
problem of calling dll from visual basic.
=20
I wrote a dll by using Dev-C++ and the dll works fine with an interface
written in Dev-C++. However, when I tried to call the dll from an =
interface
written in visual basic, I run into problem.
=20
1. The dll contains a function with prototype shown below. It
concatenates the time to the string "name".
=20
Void reportTime (char *name);
=20
I call the function in dll from visual basic by using the
following declare statement
=20
Private Declare Sub reportTime Lib =
"c:\dlltest-4\dlltest-4.dll"
(ByVal name As String)
=20
I get an error message "bad dll calling convention". =20
=20
2. So I made some change to the prototype of the function in dll by
adding _stdcall as shown below.
=20
Void _stdcall reportTime (char *name);
=20
The declare statement is the same in the visual basic interface.
=20
This time, I do not get the error message shown above and I can tell =
that
the string "name" is passed into dll and the function can concatenate =
the
time to the string. However, after the dll returns the control back to =
the
interface, the string "name" in the interface does not reflect the
manipulation done in dll. I do not know what to do.=20
=20
Thank you in advance for your time and help.
=20
Jean Ni
=20
=20
|
|
From: Per W. <pw...@ia...> - 2004-11-04 09:42:47
|
Is there a question hidden somewhere within your text? /Per W On Wed, 3 Nov 2004, Noorez Kassam wrote: > When I tried to put all the parts for my library one directory deeper, th= e > compile process didn't work! It froze while linking the static library > > _________________________________________________________________ > Designer Mail isn't just fun to send, it's fun to receive. Use special > stationery, fonts and colors. > http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines > Start enjoying all the benefits of MSN=AE Premium right now and get the > first two months FREE*. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&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: Noorez K. <dar...@ho...> - 2004-11-04 02:53:15
|
When I tried to put all the parts for my library one directory deeper, the compile process didn't work! It froze while linking the static library _________________________________________________________________ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: maHo <luk...@gm...> - 2004-11-03 23:27:20
|
On Tue, 02 Nov 2004 15:10:48 -0200, Daniel K. O. <dan...@ya...> wrote: > Vizer Tibor wrote: > > >Do You know high traffic c/c++ mailing lists? > >(IDE related, or ANSI, whatever) > > > > > > Try a news group, as Per Westermark said: http://news.individual.net comp.lang.c comp.lang.c.moderated comp.lang.c++ comp.lang.c++.moderated and many many others, rather high traffic. regards maHo |
|
From: <ms...@wp...> - 2004-11-03 07:03:58
|
Dnia 2004-11-03 03:09, Użytkownik Derek Clarke napisał: > There is an available DirectX9 DevPak - try using that instead. Thanks for reply. I tried it. DevPak which can be downloaded by Package Manager is little old (DirectX was updated last time in october). What is more there is used the same trick with d3dx9d.lib and d3dx9d.dll (d3dx9.lib is absent). Because it is out of date I hoped that this problem was resoled in meantime. Regards Marcin |
|
From: Petri K. <ke...@we...> - 2004-11-03 00:13:26
|
Have you get the glui.h from here: http://devpaks.org/index.php ? (OpenGL dir) There they are in devpack formats (Tools/Package manager etc..) I put glui, opengui and freeglut devpacks. But then...even though there is glui.h the test program seem to need <gl/gl.h> Do you have that gl.h ? >-----Alkuperäinen viesti----- >I'm trying to use the library GLUI.H , but there are a lot of erros >when I try to compile. > >Someone had the same experience? |
|
From: Scott S. <ssi...@sp...> - 2004-11-02 22:29:01
|
Thank you for all the help. I added the return type, changed height to
height_, and in a few places, changed a -> to a . I then had to do one
cast, and now everything works fine so far. Thank you for your help.
Thank you for all the help.
--Scott Simontis--
Per Westermark wrote:
> First of all, you forgot to specify bool as return type for the LoadTGA()
> member function.
>
> Then you have also misspelled the some property fields 'height' instead of
> 'height_' for example.
>
> /Per W
>
> On Tue, 2 Nov 2004, Scott Simontis wrote:
>
>
>>Here it is:
>>
>>TGALOADER.H
>>
>>#ifndef TGALOADER_H
>>#define TGALOADER_H
>>
>>#include <gl/gl.h>
>>#include <string>
>>using std::string;
>>
>>class TGAImage
>>{
>> public:
>> bool LoadTGA( TGAImage* texture, string filename, GLuint texType );
>> private:
>> GLubyte* imageData_;
>> GLuint bpp_;
>> GLuint width_;
>> GLuint height_;
>> GLuint texID_;
>>};
>>
>>#endif
>>
>>
>>TGALOADER.CPP
>>
>>#include "tgaloader.h"
>>#include <gl/gl.h>
>>#include <string>
>>#include <cstdio>
>>using std::string;
>>
>>TGAImage::LoadTGA( TGAImage* texture, string filename, GLuint texType )
>>{
>> GLubyte tgaHeader[12] = { 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
>> GLubyte imgHeader[12]; //The files header, to be compared with the
>>above header
>> GLubyte header[6]; //Width, height, and bpp info
>> GLuint bpp;
>> GLuint imageSize;
>> GLuint swap;
>> GLuint type = GL_RGBA;
>>
>> FILE* image = fopen( filename.c_str(), "rb" );
>>
>> if( NULL == image ||
>> fread( imgHeader, 1, sizeof(imgHeader), image ) !=
>>sizeof(imgHeader) ||
>> memcmp( tgaHeader, imgHeader, sizeof(tgaHeader) ) != 0 ||
>> fread( header, 1, sizeof(header), image ) != sizeof(header) )
>> {
>> if( NULL == image )
>> {
>> return false;
>> }
>> else
>> {
>> fclose( image );
>> return false;
>> }
>> }
>>
>> texture->width_ = header[1] * 256 + header[0];
>> texture->height_ = header[3] * 256 + header[2];
>>
>> if( texture->width_ <= 0 ||
>> texture->height <= 0 ||
>> ( header[4] != 24 && header[4] != 32 ) )
>> {
>> fclose( image );
>> return false;
>> }
>>
>> texture->bpp_ = header[4];
>> bpp = texture->bpp_ / 8; //Get the bytes per pixel from the bits
>>per pixel
>> imageSize = texture->width_ * texture->height_ * bpp;
>> texture->imageData_ = (GLubyte*)malloc( imageSize );
>>
>> if( NULL == texture->imageData_ ||
>> fread( texture->imageData_, 1, imageSize, image ) != imageSize )
>> {
>> if( texture->imageData_ != NULL )
>> {
>> free( texture->imageData_ );
>> }
>> fclose( image );
>> return false;
>> }
>>
>> for( int i = 0; i < int(imageSize); i+= bpp )
>> {
>> swap = texture->imageData_[i];
>> texture->imageData_[i] = texture->imageData_[i + 2];
>> texture->imageData_[i + 2] = swap;
>> }
>> fclose( image );
>>
>> glGenTextures( 1, &texture[0]->texID_ );
>> glBindTexture( GL_TEXTURE_2D, &texture[0]->texID_ );
>>
>> if( 0 == texType )
>> {
>> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER,
>>GL_NEAREST );
>> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>GL_NEAREST );
>> }
>> if( 1 == texType )
>> {
>> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
>> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
>> }
>>
>>
>> if( 24 == texture[0].bpp_ )
>> {
>> type = GL_RGB;
>> }
>>
>> glTexImage2D( GL_TEXTURE_2D, 0, type, texture[0].width_,
>>texture[0]->height_, 0, GL_UNSIGNED_BYTE, texture[0]->imageData_ );
>>
>> return true;
>>}
>>
>>--Scott Simontis--
>>
>>Per Westermark wrote:
>>
>>>It is nice that you have posted your error messages. However, since we
>>>can't see your code, we can't say what you are doing wrong.
>>>
>>>/Per W
>>>
>>>On Mon, 1 Nov 2004, Scott Simontis wrote:
>>>
>>>
>>>
>>>>I am working on a TGA file loader for OpenGL. I keep getting lots of
>>>>errors. It looks like the header file for the TGA loader isn't being
>>>>seen, so the definition cannot be found. Does anyone know why it isn't
>>>>working? Its about 130 lines of code or so, and is at
>>>>http://home.comcast.net/~ageofscott/tgacode.zip
>>>>compilation errors are below:
>>>>
>>>>
>>>>Compiler: Default compiler
>>>>Building Makefile: "C:\Code\scifair\Makefile.win"
>>>>Executing make...
>>>>mingw32-make.exe -f "C:\Code\scifair\Makefile.win" all
>>>>g++.exe -c tgaloader.cpp -o tgaloader.o -I"C:/Dev-Cpp/include/c++/3.3.1"
>>>> -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32"
>>>>-I"C:/Dev-Cpp/include/c++/3.3.1/backward"
>>>>-I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"
>>>> -I"C:/Dev-Cpp/include/GL" -I"C:/Dev-Cpp/include/SDL"
>>>>-I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/allegro/include"
>>>>-I"C:/wx/include" -I"C:/Code"
>>>>
>>>>tgaloader.cpp:29: error: ISO C++ forbids declaration of `LoadTGA' with
>>>>no type
>>>>
>>>>tgaloader.cpp:29: error: prototype for `int TGAImage::LoadTGA(TGAImage*,
>>>>std::string, GLuint)' does not match any in class `TGAImage'
>>>>tgaloader.h:18: error: candidate is: bool TGAImage::LoadTGA(TGAImage*,
>>>>std::string, GLuint)
>>>>tgaloader.cpp:29: error: `int TGAImage::LoadTGA(TGAImage*, std::string,
>>>>GLuint)' and `bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint)'
>>>>cannot be overloaded
>>>>
>>>>tgaloader.cpp: In member function `int TGAImage::LoadTGA(TGAImage*,
>>>>std::string, GLuint)':
>>>>tgaloader.cpp:60: error: 'class TGAImage' has no member named 'height'
>>>>tgaloader.cpp:91: error: base operand of `->' has non-pointer type
>>>>`TGAImage'
>>>>tgaloader.cpp:92: error: base operand of `->' has non-pointer type
>>>>`TGAImage'
>>>>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
>>>>`TGAImage'
>>>>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
>>>>`TGAImage'
>>>>
>>>>mingw32-make.exe: *** [tgaloader.o] Error 1
>>>>
>>>>Execution terminated
>>>>
>>>>Thanks in advanced for any help.
>>>>--
>>>>--Scott Simontis--
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by:
>>>>Sybase ASE Linux Express Edition - download now for FREE
>>>>LinuxWorld Reader's Choice Award Winner for best database on Linux.
>>>>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Daniel K. O. <dan...@ya...> - 2004-11-02 17:11:24
|
Vizer Tibor wrote: >Do You know high traffic c/c++ mailing lists? >(IDE related, or ANSI, whatever) > > Try a news group, as Per Westermark said: http://news.individual.net Daniel K. O. |
|
From: Daniel K. O. <dan...@ya...> - 2004-11-02 16:53:59
|
Reid Thompson wrote: >In the past I've discovered that copying and pasting source from web pages or other non-plain text electronic documents can result in the inclusion of non-printing characters. > Exactly. If you open the Dev-C++ help, go to Getting Help -> FAQ, and try to copy/paste the code, you'll have this problem. Daniel K. O. |
|
From: Per W. <pw...@ia...> - 2004-11-02 15:22:13
|
First of all, you forgot to specify bool as return type for the LoadTGA()
member function.
Then you have also misspelled the some property fields 'height' instead of
'height_' for example.
/Per W
On Tue, 2 Nov 2004, Scott Simontis wrote:
> Here it is:
>
> TGALOADER.H
>
> #ifndef TGALOADER_H
> #define TGALOADER_H
>
> #include <gl/gl.h>
> #include <string>
> using std::string;
>
> class TGAImage
> {
> public:
> bool LoadTGA( TGAImage* texture, string filename, GLuint texType );
> private:
> GLubyte* imageData_;
> GLuint bpp_;
> GLuint width_;
> GLuint height_;
> GLuint texID_;
> };
>
> #endif
>
>
> TGALOADER.CPP
>
> #include "tgaloader.h"
> #include <gl/gl.h>
> #include <string>
> #include <cstdio>
> using std::string;
>
> TGAImage::LoadTGA( TGAImage* texture, string filename, GLuint texType )
> {
> GLubyte tgaHeader[12] = { 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
> GLubyte imgHeader[12]; //The files header, to be compared with the
> above header
> GLubyte header[6]; //Width, height, and bpp info
> GLuint bpp;
> GLuint imageSize;
> GLuint swap;
> GLuint type = GL_RGBA;
>
> FILE* image = fopen( filename.c_str(), "rb" );
>
> if( NULL == image ||
> fread( imgHeader, 1, sizeof(imgHeader), image ) !=
> sizeof(imgHeader) ||
> memcmp( tgaHeader, imgHeader, sizeof(tgaHeader) ) != 0 ||
> fread( header, 1, sizeof(header), image ) != sizeof(header) )
> {
> if( NULL == image )
> {
> return false;
> }
> else
> {
> fclose( image );
> return false;
> }
> }
>
> texture->width_ = header[1] * 256 + header[0];
> texture->height_ = header[3] * 256 + header[2];
>
> if( texture->width_ <= 0 ||
> texture->height <= 0 ||
> ( header[4] != 24 && header[4] != 32 ) )
> {
> fclose( image );
> return false;
> }
>
> texture->bpp_ = header[4];
> bpp = texture->bpp_ / 8; //Get the bytes per pixel from the bits
> per pixel
> imageSize = texture->width_ * texture->height_ * bpp;
> texture->imageData_ = (GLubyte*)malloc( imageSize );
>
> if( NULL == texture->imageData_ ||
> fread( texture->imageData_, 1, imageSize, image ) != imageSize )
> {
> if( texture->imageData_ != NULL )
> {
> free( texture->imageData_ );
> }
> fclose( image );
> return false;
> }
>
> for( int i = 0; i < int(imageSize); i+= bpp )
> {
> swap = texture->imageData_[i];
> texture->imageData_[i] = texture->imageData_[i + 2];
> texture->imageData_[i + 2] = swap;
> }
> fclose( image );
>
> glGenTextures( 1, &texture[0]->texID_ );
> glBindTexture( GL_TEXTURE_2D, &texture[0]->texID_ );
>
> if( 0 == texType )
> {
> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER,
> GL_NEAREST );
> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
> GL_NEAREST );
> }
> if( 1 == texType )
> {
> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
> glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
> }
>
>
> if( 24 == texture[0].bpp_ )
> {
> type = GL_RGB;
> }
>
> glTexImage2D( GL_TEXTURE_2D, 0, type, texture[0].width_,
> texture[0]->height_, 0, GL_UNSIGNED_BYTE, texture[0]->imageData_ );
>
> return true;
> }
>
> --Scott Simontis--
>
> Per Westermark wrote:
> > It is nice that you have posted your error messages. However, since we
> > can't see your code, we can't say what you are doing wrong.
> >
> > /Per W
> >
> > On Mon, 1 Nov 2004, Scott Simontis wrote:
> >
> >
> >>I am working on a TGA file loader for OpenGL. I keep getting lots of
> >>errors. It looks like the header file for the TGA loader isn't being
> >>seen, so the definition cannot be found. Does anyone know why it isn't
> >>working? Its about 130 lines of code or so, and is at
> >>http://home.comcast.net/~ageofscott/tgacode.zip
> >>compilation errors are below:
> >>
> >>
> >>Compiler: Default compiler
> >>Building Makefile: "C:\Code\scifair\Makefile.win"
> >>Executing make...
> >>mingw32-make.exe -f "C:\Code\scifair\Makefile.win" all
> >>g++.exe -c tgaloader.cpp -o tgaloader.o -I"C:/Dev-Cpp/include/c++/3.3.1"
> >> -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32"
> >>-I"C:/Dev-Cpp/include/c++/3.3.1/backward"
> >>-I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"
> >> -I"C:/Dev-Cpp/include/GL" -I"C:/Dev-Cpp/include/SDL"
> >>-I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/allegro/include"
> >>-I"C:/wx/include" -I"C:/Code"
> >>
> >>tgaloader.cpp:29: error: ISO C++ forbids declaration of `LoadTGA' with
> >>no type
> >>
> >>tgaloader.cpp:29: error: prototype for `int TGAImage::LoadTGA(TGAImage*,
> >>std::string, GLuint)' does not match any in class `TGAImage'
> >>tgaloader.h:18: error: candidate is: bool TGAImage::LoadTGA(TGAImage*,
> >>std::string, GLuint)
> >>tgaloader.cpp:29: error: `int TGAImage::LoadTGA(TGAImage*, std::string,
> >>GLuint)' and `bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint)'
> >>cannot be overloaded
> >>
> >>tgaloader.cpp: In member function `int TGAImage::LoadTGA(TGAImage*,
> >>std::string, GLuint)':
> >>tgaloader.cpp:60: error: 'class TGAImage' has no member named 'height'
> >>tgaloader.cpp:91: error: base operand of `->' has non-pointer type
> >>`TGAImage'
> >>tgaloader.cpp:92: error: base operand of `->' has non-pointer type
> >>`TGAImage'
> >>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
> >>`TGAImage'
> >>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
> >>`TGAImage'
> >>
> >>mingw32-make.exe: *** [tgaloader.o] Error 1
> >>
> >>Execution terminated
> >>
> >>Thanks in advanced for any help.
> >>--
> >>--Scott Simontis--
> >>
> >>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by:
> >>Sybase ASE Linux Express Edition - download now for FREE
> >>LinuxWorld Reader's Choice Award Winner for best database on Linux.
> >>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Manish S. <mas...@sa...> - 2004-11-02 14:31:51
|
One can try out Programmers-Town yahoogroups..It's sort of ok group with not so high(approx-200-300 mails per month) traffic... Manish -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Vizer Tibor Sent: Tuesday, November 02, 2004 4:36 PM To: dev...@li... Subject: [Dev-C++] mailing lists Hi All! Do You know high traffic c/c++ mailing lists? (IDE related, or ANSI, whatever) I've subscribed a lot of lists, but I'm getting more mailing list reminders, than any small idea of programming... I've tried google, but methink it is much easier to create a list, than to find a working one. So the net is full of nonworking or _very_ low traffic lists. You may send your tips in private, I will post my collection to the dev-cpp list, if anyone interested... Thank You, Tibor PS.: Sorry about my English accent :) ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dick _______________________________________________ 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: Reid T. <Rei...@at...> - 2004-11-02 14:04:21
|
> On 2 Nov 2004 at 1:03, fred mira wrote: >>=20 >> I get error messages (6 for the first and 4 for the second) > which are >>> stray' \204' in program. >>=20 >> these messages are after the following : >> in function ' int main(int,char**)' which is not assigned as error. >=20 > I just copied both of the code samples that you gave and pasted them > both into Dev-C++. They both compiled and ran just fine. >=20 > However, the error message you're getting makes it sound like you've > got a stray ascii character in the text file. Octal 204 is the =E4 > character (if that came across.) I don't see that character in the > examples you listed. Are you sure the code samples are exactly what > you're trying to compile?=20 >=20 > Watson (the pencil neck) Davis In the past I've discovered that copying and pasting source from web = pages or other non-plain text electronic documents can result in the = inclusion of non-printing characters. Not sure if fred copied and = pasted, but I'd guess that if he started with a clean file and typed in = the code the errors would go away. reid |
|
From: Scott S. <ssi...@sp...> - 2004-11-02 13:41:05
|
Here it is:
TGALOADER.H
#ifndef TGALOADER_H
#define TGALOADER_H
#include <gl/gl.h>
#include <string>
using std::string;
class TGAImage
{
public:
bool LoadTGA( TGAImage* texture, string filename, GLuint texType );
private:
GLubyte* imageData_;
GLuint bpp_;
GLuint width_;
GLuint height_;
GLuint texID_;
};
#endif
TGALOADER.CPP
#include "tgaloader.h"
#include <gl/gl.h>
#include <string>
#include <cstdio>
using std::string;
TGAImage::LoadTGA( TGAImage* texture, string filename, GLuint texType )
{
GLubyte tgaHeader[12] = { 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
GLubyte imgHeader[12]; //The files header, to be compared with the
above header
GLubyte header[6]; //Width, height, and bpp info
GLuint bpp;
GLuint imageSize;
GLuint swap;
GLuint type = GL_RGBA;
FILE* image = fopen( filename.c_str(), "rb" );
if( NULL == image ||
fread( imgHeader, 1, sizeof(imgHeader), image ) !=
sizeof(imgHeader) ||
memcmp( tgaHeader, imgHeader, sizeof(tgaHeader) ) != 0 ||
fread( header, 1, sizeof(header), image ) != sizeof(header) )
{
if( NULL == image )
{
return false;
}
else
{
fclose( image );
return false;
}
}
texture->width_ = header[1] * 256 + header[0];
texture->height_ = header[3] * 256 + header[2];
if( texture->width_ <= 0 ||
texture->height <= 0 ||
( header[4] != 24 && header[4] != 32 ) )
{
fclose( image );
return false;
}
texture->bpp_ = header[4];
bpp = texture->bpp_ / 8; //Get the bytes per pixel from the bits
per pixel
imageSize = texture->width_ * texture->height_ * bpp;
texture->imageData_ = (GLubyte*)malloc( imageSize );
if( NULL == texture->imageData_ ||
fread( texture->imageData_, 1, imageSize, image ) != imageSize )
{
if( texture->imageData_ != NULL )
{
free( texture->imageData_ );
}
fclose( image );
return false;
}
for( int i = 0; i < int(imageSize); i+= bpp )
{
swap = texture->imageData_[i];
texture->imageData_[i] = texture->imageData_[i + 2];
texture->imageData_[i + 2] = swap;
}
fclose( image );
glGenTextures( 1, &texture[0]->texID_ );
glBindTexture( GL_TEXTURE_2D, &texture[0]->texID_ );
if( 0 == texType )
{
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER,
GL_NEAREST );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
GL_NEAREST );
}
if( 1 == texType )
{
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
}
if( 24 == texture[0].bpp_ )
{
type = GL_RGB;
}
glTexImage2D( GL_TEXTURE_2D, 0, type, texture[0].width_,
texture[0]->height_, 0, GL_UNSIGNED_BYTE, texture[0]->imageData_ );
return true;
}
--Scott Simontis--
Per Westermark wrote:
> It is nice that you have posted your error messages. However, since we
> can't see your code, we can't say what you are doing wrong.
>
> /Per W
>
> On Mon, 1 Nov 2004, Scott Simontis wrote:
>
>
>>I am working on a TGA file loader for OpenGL. I keep getting lots of
>>errors. It looks like the header file for the TGA loader isn't being
>>seen, so the definition cannot be found. Does anyone know why it isn't
>>working? Its about 130 lines of code or so, and is at
>>http://home.comcast.net/~ageofscott/tgacode.zip
>>compilation errors are below:
>>
>>
>>Compiler: Default compiler
>>Building Makefile: "C:\Code\scifair\Makefile.win"
>>Executing make...
>>mingw32-make.exe -f "C:\Code\scifair\Makefile.win" all
>>g++.exe -c tgaloader.cpp -o tgaloader.o -I"C:/Dev-Cpp/include/c++/3.3.1"
>> -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32"
>>-I"C:/Dev-Cpp/include/c++/3.3.1/backward"
>>-I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"
>> -I"C:/Dev-Cpp/include/GL" -I"C:/Dev-Cpp/include/SDL"
>>-I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/allegro/include"
>>-I"C:/wx/include" -I"C:/Code"
>>
>>tgaloader.cpp:29: error: ISO C++ forbids declaration of `LoadTGA' with
>>no type
>>
>>tgaloader.cpp:29: error: prototype for `int TGAImage::LoadTGA(TGAImage*,
>>std::string, GLuint)' does not match any in class `TGAImage'
>>tgaloader.h:18: error: candidate is: bool TGAImage::LoadTGA(TGAImage*,
>>std::string, GLuint)
>>tgaloader.cpp:29: error: `int TGAImage::LoadTGA(TGAImage*, std::string,
>>GLuint)' and `bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint)'
>>cannot be overloaded
>>
>>tgaloader.cpp: In member function `int TGAImage::LoadTGA(TGAImage*,
>>std::string, GLuint)':
>>tgaloader.cpp:60: error: 'class TGAImage' has no member named 'height'
>>tgaloader.cpp:91: error: base operand of `->' has non-pointer type
>>`TGAImage'
>>tgaloader.cpp:92: error: base operand of `->' has non-pointer type
>>`TGAImage'
>>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
>>`TGAImage'
>>tgaloader.cpp:111: error: base operand of `->' has non-pointer type
>>`TGAImage'
>>
>>mingw32-make.exe: *** [tgaloader.o] Error 1
>>
>>Execution terminated
>>
>>Thanks in advanced for any help.
>>--
>>--Scott Simontis--
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by:
>>Sybase ASE Linux Express Edition - download now for FREE
>>LinuxWorld Reader's Choice Award Winner for best database on Linux.
>>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Per W. <pw...@ia...> - 2004-11-02 12:44:07
|
The net is full of nonworking or _very_ low traffic lists because a lot of people is doing exactly what you do: Creating a new list. Most high-volume places aren't actually mailing lists but are either news groups or web forums. They have so much traffic that you normally don't want all posts sent out as mails. /Per W On Tue, 2 Nov 2004, Vizer Tibor wrote: > Hi All! > Do You know high traffic c/c++ mailing lists? > (IDE related, or ANSI, whatever) > I've subscribed a lot of lists, but I'm getting more mailing list > reminders, than any small idea of programming... > I've tried google, but methink it is much easier to create a list, than > to find a working one. > So the net is full of nonworking or _very_ low traffic lists. > You may send your tips in private, I will post my collection to the > dev-cpp list, if anyone interested... > > Thank You, > Tibor > > PS.: Sorry about my Englis |
|
From: Per W. <pw...@ia...> - 2004-11-02 12:40:56
|
Octal specification works fine, but more often hexadecimal is more intuitive, i.e. "\x40" for '@'. What was the question about the = operator? using c strings, = assigns the pointer to a string, to the actual string contents. Using the std::string data type on the lefthand side, = assigns a new c string to the c++ object, i.e. calls the operator= method for the std::string class object. /Per W On Tue, 2 Nov 2004, Thomas Witt wrote: > Patel, Nilesh M wrote: > > Just wondering does anyone know what this syntax would be used for: > > > > Example: > > > > start = "\002"; > > finish = "\026"; > > > > I know that it might be a repeat delimiter (\) but now sure how it is used. Tried looking online for some help but very vague references. > > > > Thanks. > > > This is the syntax to write ASCII characters directy inside a string. > E.g. \097 should be equal to 'a' > > But how can you use the = operator to Strings in Cpp? > > -=#=- > mfg Thomas > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Vizer T. <viz...@ma...> - 2004-11-02 11:06:29
|
Hi All! Do You know high traffic c/c++ mailing lists? (IDE related, or ANSI, whatever) I've subscribed a lot of lists, but I'm getting more mailing list reminders, than any small idea of programming... I've tried google, but methink it is much easier to create a list, than to find a working one. So the net is full of nonworking or _very_ low traffic lists. You may send your tips in private, I will post my collection to the dev-cpp list, if anyone interested... Thank You, Tibor PS.: Sorry about my English accent :) |
|
From: Thomas W. <wi...@we...> - 2004-11-02 09:31:55
|
Patel, Nilesh M wrote: > Just wondering does anyone know what this syntax would be used for: > > Example: > > start = "\002"; > finish = "\026"; > > I know that it might be a repeat delimiter (\) but now sure how it is used. Tried looking online for some help but very vague references. > > Thanks. This is the syntax to write ASCII characters directy inside a string. E.g. \097 should be equal to 'a' But how can you use the = operator to Strings in Cpp? -=#=- mfg Thomas |
|
From: Per W. <pw...@ia...> - 2004-11-02 08:48:56
|
It is nice that you have posted your error messages. However, since we can't see your code, we can't say what you are doing wrong. /Per W On Mon, 1 Nov 2004, Scott Simontis wrote: > I am working on a TGA file loader for OpenGL. I keep getting lots of > errors. It looks like the header file for the TGA loader isn't being > seen, so the definition cannot be found. Does anyone know why it isn't > working? Its about 130 lines of code or so, and is at > http://home.comcast.net/~ageofscott/tgacode.zip > compilation errors are below: > > > Compiler: Default compiler > Building Makefile: "C:\Code\scifair\Makefile.win" > Executing make... > mingw32-make.exe -f "C:\Code\scifair\Makefile.win" all > g++.exe -c tgaloader.cpp -o tgaloader.o -I"C:/Dev-Cpp/include/c++/3.3.1" > -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" > -I"C:/Dev-Cpp/include/c++/3.3.1/backward" > -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include" > -I"C:/Dev-Cpp/include/GL" -I"C:/Dev-Cpp/include/SDL" > -I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/allegro/include" > -I"C:/wx/include" -I"C:/Code" > > tgaloader.cpp:29: error: ISO C++ forbids declaration of `LoadTGA' with > no type > > tgaloader.cpp:29: error: prototype for `int TGAImage::LoadTGA(TGAImage*, > std::string, GLuint)' does not match any in class `TGAImage' > tgaloader.h:18: error: candidate is: bool TGAImage::LoadTGA(TGAImage*, > std::string, GLuint) > tgaloader.cpp:29: error: `int TGAImage::LoadTGA(TGAImage*, std::string, > GLuint)' and `bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint)' > cannot be overloaded > > tgaloader.cpp: In member function `int TGAImage::LoadTGA(TGAImage*, > std::string, GLuint)': > tgaloader.cpp:60: error: 'class TGAImage' has no member named 'height' > tgaloader.cpp:91: error: base operand of `->' has non-pointer type > `TGAImage' > tgaloader.cpp:92: error: base operand of `->' has non-pointer type > `TGAImage' > tgaloader.cpp:111: error: base operand of `->' has non-pointer type > `TGAImage' > tgaloader.cpp:111: error: base operand of `->' has non-pointer type > `TGAImage' > > mingw32-make.exe: *** [tgaloader.o] Error 1 > > Execution terminated > > Thanks in advanced for any help. > -- > --Scott Simontis-- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: <wa...@wa...> - 2004-11-02 07:03:57
|
On 2 Nov 2004 at 1:03, fred mira wrote:
> Hello ,
> This is a follow up with respect to my question about the execution
> window which closes after Run.
>
> First, I am using Dev C++ (4.9.9.0) and I have Windows XP.
>
> When I use :
>
> #include <stdio.h>
> int main(int argc, char **argv)
> {
> printf ("Press ENTER to continue.\n");
> getchar (); /* wait for input */
> return 0;
> }
>
> OR
>
> #include <stdlib.h>
> int main(int argc, char **argv)
> {
> system ("pause"); /* execute M$-DOS' pause command */
> return 0;
> }
>
>
> I get error messages (6 for the first and 4 for the second) which are
> : stray' \204' in program.
>
> these messages are after the following :
> in function ' int main(int,char**)' which is not assigned as error.
I just copied both of the code samples that you gave and pasted them
both into Dev-C++. They both compiled and ran just fine.
However, the error message you're getting makes it sound like you've
got a stray ascii character in the text file. Octal 204 is the =E4
character (if that came across.) I don't see that character in the
examples you listed. Are you sure the code samples are exactly what
you're trying to compile?
Watson (the pencil neck) Davis
|
|
From: fred m. <man...@ya...> - 2004-11-02 06:03:41
|
Hello ,
This is a follow up with respect to my question about the execution window which closes after Run.
First, I am using Dev C++ (4.9.9.0) and I have Windows XP.
When I use :
#include <stdio.h>
int main(int argc, char **argv)
{
printf ("Press ENTER to continue.\n");
getchar (); /* wait for input */
return 0;
}
OR
#include <stdlib.h>
int main(int argc, char **argv)
{
system ("pause"); /* execute M$-DOS' pause command */
return 0;
}
I get error messages (6 for the first and 4 for the second) which are :
stray' \204' in program.
these messages are after the following :
in function ' int main(int,char**)' which is not assigned as error.
thanks.
---------------------------------
Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.
|
|
From: Scott S. <ssi...@sp...> - 2004-11-02 02:19:21
|
I am working on a TGA file loader for OpenGL. I keep getting lots of errors. It looks like the header file for the TGA loader isn't being seen, so the definition cannot be found. Does anyone know why it isn't working? Its about 130 lines of code or so, and is at http://home.comcast.net/~ageofscott/tgacode.zip compilation errors are below: Compiler: Default compiler Building Makefile: "C:\Code\scifair\Makefile.win" Executing make... mingw32-make.exe -f "C:\Code\scifair\Makefile.win" all g++.exe -c tgaloader.cpp -o tgaloader.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/GL" -I"C:/Dev-Cpp/include/SDL" -I"C:/Dev-Cpp/include/allegro" -I"C:/Dev-Cpp/allegro/include" -I"C:/wx/include" -I"C:/Code" tgaloader.cpp:29: error: ISO C++ forbids declaration of `LoadTGA' with no type tgaloader.cpp:29: error: prototype for `int TGAImage::LoadTGA(TGAImage*, std::string, GLuint)' does not match any in class `TGAImage' tgaloader.h:18: error: candidate is: bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint) tgaloader.cpp:29: error: `int TGAImage::LoadTGA(TGAImage*, std::string, GLuint)' and `bool TGAImage::LoadTGA(TGAImage*, std::string, GLuint)' cannot be overloaded tgaloader.cpp: In member function `int TGAImage::LoadTGA(TGAImage*, std::string, GLuint)': tgaloader.cpp:60: error: 'class TGAImage' has no member named 'height' tgaloader.cpp:91: error: base operand of `->' has non-pointer type `TGAImage' tgaloader.cpp:92: error: base operand of `->' has non-pointer type `TGAImage' tgaloader.cpp:111: error: base operand of `->' has non-pointer type `TGAImage' tgaloader.cpp:111: error: base operand of `->' has non-pointer type `TGAImage' mingw32-make.exe: *** [tgaloader.o] Error 1 Execution terminated Thanks in advanced for any help. -- --Scott Simontis-- |
|
From: fred m. <man...@ya...> - 2004-11-01 21:10:04
|
Hello,
I have a problem related to the execution window (the Dos prompt window). When I run a program after compiling it, the Dos window appears for a milisecond and then it's gone. I have tried what is said in FAQ which is :
// Q: My window keeps closing, how do I change that ?
// A: You can do it this way:
// #include <stdio.h>
// int main(int argc, char **argv)
// {
// printf ("Press ENTER to continue.\n");
// getchar (); /* wait for input */
// return 0;
// }
// Or this way:
// #include <stdlib.h>
// int main(int argc, char **argv)
// {
// system ("pause"); /* execute M$-DOS' pause command */
// return 0;
// }
But I got error messages with "printf" or with "system".
Can you help me?
---------------------------------
Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.
|
|
From: Patel, N. M <Nil...@qu...> - 2004-11-01 20:15:35
|
Just wondering does anyone know what this syntax would be used for: Example: start =3D "\002"; =66inish =3D "\026"; I know that it might be a repeat delimiter (\) but now sure how it is used.= = Tried looking online for some help but very vague references.=20 Thanks. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D The contents of this message, together with any attachments, are intended = only for the use of the person(s) to which they are addressed and may = contain confidential and/or privileged information. Further, any medical = information herein is confidential and protected by law. It is unlawful for= = unauthorized persons to use, review, copy, disclose, or disseminate = confidential medical information. If you are not the intended recipient, = immediately advise the sender and delete this message and any attachments. = Any distribution, or copying of this message, or any attachment, is = prohibited. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D |
|
From: Alfredo C. <al...@cl...> - 2004-11-01 16:51:01
|
El Lun 01 Nov 2004 10:43, escribi=F3: > Alfredo Cole wrote: > >I noticed that the static library was not compiled in that package. Could > > I have a copy of your makefile so that I can use the static version of > > the library? > > I didn't have time to hand-edit the Makefile, so here is the .dev file I > used. Save it on the win32 subdirectory, and open it on Dev-C++. > > http://www.inf.ufrgs.br/~dkosmari/libodbc++.dev > > To compile the static lib you have to remove the -DODBCXX_DLL and change > the project type to static lib. > > > > Daniel K. O. Many thanks! Regards. =2D-=20 Alfredo J. Cole Grupo ACyC www.acyc.com - www.clshonduras.com - SolCom - www.acycdomains.com |
|
From: Daniel K. O. <dan...@ya...> - 2004-11-01 16:45:18
|
Alfredo Cole wrote: >I noticed that the static library was not compiled in that package. Could I >have a copy of your makefile so that I can use the static version of the >library? > > I didn't have time to hand-edit the Makefile, so here is the .dev file I used. Save it on the win32 subdirectory, and open it on Dev-C++. http://www.inf.ufrgs.br/~dkosmari/libodbc++.dev To compile the static lib you have to remove the -DODBCXX_DLL and change the project type to static lib. Daniel K. O. |