- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mywindows application project is all right compiled with VS2003+IVF10.0 but the following errors occurs when using VS2008RTM+IVF10.1.021:
Build Log |
|
Output |
Linking... Link /OUT:"DebugWinApp1.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:Documents and SettingslxtMy DocumentsVisual Studio 2008ProjectsWinApp1WinApp1debugwinapp1.exe.intermediate.manifest" /DEBUG /PDB:"C:Documents and SettingslxtMy DocumentsVisual Studio 2008ProjectsWinApp1WinApp1debugwinapp1.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"C:Documents and SettingslxtMy DocumentsVisual Studio 2008ProjectsWinApp1WinApp1debugwinapp1.lib" "DebugSource1.obj" "Debug/Resource1.res" ipo: error #11035: Fatal error cannot open glaux.lib Link: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1) Link: error error_during_IPO_compilation: problem during multi-file optimization compilation (code 1) WinApp1 - 3 error(s), 0 warning(s) |
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "Aux" routines were often considered a "hack" by the OpenGL community and many recommended against their use. But they sure did make things easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks!
The following is my code used to draw 3D graphic:
Subroutine Wedge( )
use IFwin
use Ifopngl
use VarGlob
Implicit None
call fglClear(ior(GL_COLOR_BUFFER_BIT,GL_DEPTH_BUFFER_BIT))
call fglLoadIdentity()
call fglTranslatef(-1.5 ,0.0 ,-6.0 )
call fglBegin(GL_POLYGON)
call fglColor3f(1.0 ,0.0 ,0.0 )
call fglVertex3f( 0.0 , 1.0 , 0.0 )
call fglColor3f(0.0 ,1.0 ,0.0 )
call fglVertex3f(-1.0 ,-1.0 , 1.0 )
call fglColor3f(0.0 ,0.0 ,1.0 )
call fglVertex3f( 1.0 ,-1.0 , 1.0 )
call fglColor3f(1.0 ,0.0 ,0.0 )
call fglVertex3f( 0.0 , 1.0 , 0.0 )
call fglColor3f(0.0 ,0.0 ,1.0 )
call fglVertex3f( 1.0 ,-1.0 , 1.0 )
call fglColor3f(0.0 ,1.0 ,0.0 )
call fglVertex3f( 1.0 ,-1.0 , -1.0 )
call fglColor3f(1.0 ,0.0 ,0.0 )
call fglVertex3f( 0.0 , 1.0 , 0.0 )
call fglColor3f(0.0 ,1.0 ,0.0 )
call fglVertex3f( 1.0 ,-1.0 , -1.0 )
call fglColor3f(0.0 ,0.0 ,1.0 )
call fglVertex3f(-1.0 ,-1.0 , -1.0 )
call fglColor3f(1.0 ,0.0 ,0.0 )
call fglVertex3f( 0.0 , 1.0 , 0.0 )
call fglColor3f(0.0 ,0.0 ,1.0 )
call fglVertex3f(-1.0 ,-1.0 ,-1.0 )
call fglColor3f(0.0 ,1.0 ,0.0 )
call fglVertex3f(-1.0 ,-1.0 , 1.0 )
call fglEnd()
call fglLoadIdentity()
call fglTranslatef(1.5 ,0.0 ,-6.0 )
call fglRotatef(45,1.0 ,0.0 ,0.0 )
call fglColor3f(0.5 ,0.5 ,1.0 )
call fglBegin(GL_QUADS)
call fglColor3f(0.0 ,1.0 ,0.0 )
call fglVertex3f( 1.0 , 1.0 ,-1.0 )
call fglVertex3f(-1.0 , 1.0 ,-1.0 )
call fglVertex3f(-1.0 , 1.0 , 1.0 )
call fglVertex3f( 1.0 , 1.0 , 1.0 )
call fglColor3f(1.0 ,0.5 ,0.0 )
call fglVertex3f( 1.0 ,-1.0 , 1.0 )
call fglVertex3f(-1.0 ,-1.0 , 1.0 )
call fglVertex3f(-1.0 ,-1.0 ,-1.0 )
call fglVertex3f( 1.0 ,-1.0 ,-1.0 )
call fglColor3f(1.0 ,0.0 ,0.0 )
call fglVertex3f( 1.0 , 1.0 , 1.0 )
call fglVertex3f(-1.0 , 1.0 , 1.0 )
call fglVertex3f(-1.0 ,-1.0 , 1.0 )
call fglVertex3f( 1.0 ,-1.0 , 1.0 )
call fglColor3f(1.0 ,1.0 ,0.0 )
call fglVertex3f( 1.0 ,-1.0 ,-1.0 )
call fglVertex3f(-1.0 ,-1.0 ,-1.0 )
call fglVertex3f(-1.0 ,
1.0 ,-1.0 )
call fglVertex3f( 1.0 , 1.0 ,-1.0 )
call fglColor3f(0.0 ,0.0 ,1.0 )
call fglVertex3f(-1.0 , 1.0 , 1.0 )
call fglVertex3f(-1.0 , 1.0 ,-1.0 )
call fglVertex3f(-1.0 ,-1.0 ,-1.0 )
call fglVertex3f(-1.0 ,-1.0 , 1.0 )
call fglColor3f(1.0 ,0.0 ,1.0 )
call fglVertex3f( 1.0 , 1.0 ,-1.0 )
call fglVertex3f( 1.0 , 1.0 , 1.0 )
call fglVertex3f( 1.0 ,-1.0 , 1.0 )
call fglVertex3f( 1.0 ,-1.0 ,-1.0 )
call fglEnd()
return
end Subroutine Wedge
Subroutine Teapot( )
use IFwin
use Ifopngl
use VarGlob
Implicit None
call fglClear(ior(GL_COLOR_BUFFER_BIT,GL_DEPTH_BUFFER_BIT))
call fglMatrixMode(GL_MODELVIEW)
call fglLoadIdentity()
call fglTranslatef(0.0,0.0,-6.0)
call fglRotatef(45.0,1.0,0.0,0.0)
call fglRotatef(30.0,0.0,1.0,0.0)
call fglColor3f ( 1.0,1.0,0.0 )
call fauxWireTeapot(1.0_8)
return
End Subroutine Teapot
How should I do to use the code?I have no any mentality!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved the problem like this:
Copy Glaux.lib from Opengl1.1 to C:Program FilesMicrosoft SDKsWindowsv6.0ALib
then compile the code,all is right!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I amupgrading from VS2005 to VS2008 and fromIVF 9 toIVF 10.1.025
Asmentioned aboveMicrosoft have removed the file glaux.lib from the VS 2008 installation (for IA32 development) which means we are getting a link error "cannot find fileglaux.lib"
The problem appears to be due to routines which haveUSE DFOPNGL(which in turn USEs IFOPNGL)The ifopngl.f90 file (inIVF v10) has a statement
!DEC$ objcomment lib:"glaux.lib"
Steve : How did you get on with the changes? Presumably the IFOPNGL.f90 will have to be modified too?
Is there a change we can make to allow our code to compile?
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sorry to say that I have not made progress on this, and I see I have made a mistake in assuming that the OBJCOMMENT directive was harmless. I'll get this fixed as soon as I can.
In the meantime, you can either create an empty glaux.lib, copy it from VS2005 (or perhaps the Windows Server 2003 Platform SDK), or add glaux.lib to "Ignore libraries" in the Linker properties.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page