John Gaughan | 1 Aug 2004 01:25
Gravatar

Re: Re: Mingw compatible DirectX 9 SDK

Aaron W. LaFramboise wrote:
> Have you considered SDL or Allegro?  There is also GLUT.

Last time I looked at these they had issues, but that was a few years 
ago. I should probably take another look, especially if they work with 
MinGW.

--

-- 
John Gaughan
http://www.johngaughan.net/
john@...

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Brian Kropf | 1 Aug 2004 07:22
Picon
Favicon

Re: Re: Mingw compatible DirectX 9 SDK

John Gaughan wrote:

> Aaron W. LaFramboise wrote:
>
>> Have you considered SDL or Allegro?  There is also GLUT.
>
>
> Last time I looked at these they had issues, but that was a few years 
> ago. I should probably take another look, especially if they work with 
> MinGW.
>
Issues??  AFAIK SDL is pretty solid for cross-platform development (it 
wraps up directsound and directinput on windows).

brian

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Earnie Boyd | 1 Aug 2004 11:57
Picon

Re: 64 bit off_t

off64_t is already defined, at least in CVS source.  It's up to you to 
use it.  So in your source you would say something like:

#if _LARGEFILE_SOURCE
#define OFF_T off64_t
#else
#define OFF_T off_t
#endif

Earnie

Sascha Sommer wrote:

>Is there a chance that a patch would be accepted that makes off_t 64 bit when 
>defining a special flag like _LARGEFILE_SOURCE?
>As far as I can see only _off_t is used in the function and struct prototypes.
>
>Regards,
>Sascha
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by OSTG. Have you noticed the changes on
>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>one more big change to announce. We are now OSTG- Open Source Technology
>Group. Come see the changes on the new OSTG site. www.ostg.com
>_______________________________________________
>MinGW-users mailing list
>MinGW-users@...
>
(Continue reading)

Sascha Sommer | 1 Aug 2004 14:06
Picon
Favicon

Re: 64 bit off_t

On Sunday 01 August 2004 11:57, Earnie Boyd wrote:
> off64_t is already defined, at least in CVS source.  It's up to you to
> use it.  So in your source you would say something like:
>
> #if _LARGEFILE_SOURCE
> #define OFF_T off64_t
> #else
> #define OFF_T off_t
> #endif
>

I see and there are also some 64bit fileio funcs.
Do you plan to make some compile switch to change all file operations to 
64bits, or do I need to use these functions manually?

Sascha

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

(Continue reading)

SourceForge.net | 1 Aug 2004 16:01
Picon
Favicon

[mingw - C/C++] Cross compilation problem


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2692358
By: thedd

Hello,

i've setup a cross compilation toolchains:
- Host = GNU/Linux (mdk10)
- Build = GNU/Linux (mdk10)
- Target = mingw32msvc

the actual versions:
- gcc-3.2.3
- binutils-2.13
- mingw-runtime-3.0
- w32api-2.3

i used http://www.libsdl.org/extras/win32/cross/build-cross.sh

now i would like to compile the nehe opengl lesson02

1/ Compilation problem: i had to remove WINAPI from WinMain to make the file
compile. Is it normal?

2/ Linking problem:

g++ -Wall -O3 -DNDEBUG -c nehe-lesson02.cc -o nehe-lesson02.o
g++  -mwindows -L/usr/local/cross-win32/i686-mingw32msvc/lib/ -o nehe-lesson02.exe
nehe-lesson02.o -lglu32 -lopengl32
(Continue reading)

Neil Yu | 1 Aug 2004 17:19
Picon
Favicon

Re: Re: Weak Support of Opengl32

> Hi Neil
> What I meant was to order  the -l dependencies the way I had as they
> need to be included such that exports are located before they are
> needed to link from lowest and oldest to highest  Opengl32 was
> first then came glu32 then glut32 and my ordering was all on one line
> -lopengl32 -lglu32 -lgdi32 -luser32 -lglut32 -mwindows
> this gets ld.exe the exports before the imports so it
> can link the assembled program correctly. I added
> -mwindows in case your problem has anything to
> do with console windows.
> 
> -- 
> Alan Donaly
> d.donaly@...

In the ld manual it indicate the _imp_* is the import lib, i try to use 
parameter --compat-implib,But no good result.
and which version of mingw you are use ? i compiled in win2000 and you ? 
finally could you send your libopengl32.a to me, thanks

Neil
"attonie@..."

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
(Continue reading)

SourceForge.net | 1 Aug 2004 18:05
Picon
Favicon

[mingw - C/C++] RE: Cross compilation problem


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2692439
By: now3d

Does libopengl32.a have glViewport in it too?

And does libglu32.a have gluPerspective in it as well?

now3d

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=286529

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

SourceForge.net | 1 Aug 2004 18:09
Picon
Favicon

[mingw - C/C++] RE: Cross compilation problem


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2692443
By: thedd

Yes of course, it juste to show that the library is valid:

/usr/local/cross-win32/i686-mingw32msvc/bin/nm
/usr/local/cross-win32/i686-mingw32msvc/lib/libopengl32.a | grep glViewport
00000000 T _glViewport <at> 16
00000000 I __imp__glViewport <at> 16

/usr/local/cross-win32/i686-mingw32msvc/bin/nm
/usr/local/cross-win32/i686-mingw32msvc/lib/libglu32.a  | grep gluPerspective
00000000 T _gluPerspective <at> 32
00000000 I __imp__gluPerspective <at> 32

HTH

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=286529

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
(Continue reading)

SourceForge.net | 1 Aug 2004 21:37
Picon
Favicon

[mingw - C/C++] RE: Cross compilation problem


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2692612
By: now3d

Maybe library symbol format needs changing.

Were libopengl32.a and libglu32.a created by a different compiler toolchain?

Those symbols should not have "_" prefix I think.

Perhaps there is a tool to do this? reimp?

Otherwise you can try individually to test with:

objcopy --redefine-sym _glViewport=glViewport

now3d

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=286529

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
(Continue reading)

SourceForge.net | 1 Aug 2004 21:40
Picon
Favicon

[mingw - C/C++] RE: Cross compilation problem


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2692617
By: thedd

Ok, i fixed the problem.

I 've updated and rebuilt with new version!
- gcc3.4.1
- binutils 2.15.90
- w32api 3.5
- mingw runtime 3.3

Now my GLU sample compile and run, but not my GLUT :(

Ok, there is a version a glut wich comes with mingw (i don't wich version).

Now i have a GLUT sample wich need a more recent version of GLUT:
g++  -mconsole -o nehe-lesson04-glut.exe nehe-lesson04-glut.o -lglut -lglu32
-lopengl32
nehe-lesson04-glut.o(.text+0x3bf):nehe-lesson04-glut.cc: undefined reference
to `___glutInitWithExit <at> 12'
nehe-lesson04-glut.o(.text+0x480):nehe-lesson04-glut.cc: undefined reference
to `___glutCreateWindowWithExit <at> 8'
collect2: ld returned 1 exit status

So i've downloaded the last version of windows glut (dll, header and def file)
and i've done:

glut-3.7.6-bin $ ls -1
(Continue reading)


Gmane