Click here to Skip to main content
15,881,172 members
Articles / Desktop Programming / MFC

OAG Library (OpenGL) Part 1 - Setting Up the Library for an MFC Application

Rate me:
Please Sign up or sign in to vote.
4.40/5 (11 votes)
7 Aug 2011CPOL3 min read 56K   56  
OAG is a library written in C++. With this library, you can create OpenGL based applications.
��<html>

<head>

<META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-16">

</head>

<body>

<pre>

<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>

Build Log

</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>

<h3>Build started: Project: WindowsViewer, Configuration: Release|Win32</h3>

</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Command Lines

</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creating temporary file "c:\Libs_Projects\OAGLibrary\Workspaces\VC9\OpenGL\WindowsViewer\Release\RSP00003341845636.rsp" with contents

[

/O2 /Oi /GL /I &quot;..\..\..\..\..\WinAPIs\FTGL-2.1.3rc5&quot; /I &quot;..\..\..\..\..\WinAPIs\FTGL-2.1.3rc5\include&quot; /I &quot;..\..\..\..\..\WinAPIs\freetype-2.3.11\include&quot; /I &quot;..\..\..\..\..\WinAPIs\XmlParserInterface&quot; /I &quot;..\..\..\..\..\WinAPIs\LibXML\include&quot; /D &quot;WIN32&quot; /D &quot;NDEBUG&quot; /D &quot;_LIB&quot; /D &quot;_AFXDLL&quot; /FD /EHsc /MD /Gy /Fo&quot;Release\\&quot; /Fd&quot;Release\vc90.pdb&quot; /W3 /c /Zi /TP ..\..\..\..\OpenGL\src\WindowsViewer\WinGraphicContext.cpp


..\..\..\..\OpenGL\src\WindowsViewer\WinRenderer.cpp

]

Creating command line "cl.exe @c:\Libs_Projects\OAGLibrary\Workspaces\VC9\OpenGL\WindowsViewer\Release\RSP00003341845636.rsp /nologo /errorReport:prompt"

Creating temporary file "c:\Libs_Projects\OAGLibrary\Workspaces\VC9\OpenGL\WindowsViewer\Release\RSP00003841845636.rsp" with contents

[

/OUT:&quot;..\..\..\..\bin\VC9\WindowsViewer.lib&quot; /LTCG


.\Release\WinGraphicContext.obj


.\Release\WinRenderer.obj

]

Creating command line "lib.exe @c:\Libs_Projects\OAGLibrary\Workspaces\VC9\OpenGL\WindowsViewer\Release\RSP00003841845636.rsp /NOLOGO"

</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Output Window

</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Compiling...

WinGraphicContext.cpp

 WINVER not defined. Defaulting to 0x0600 (Windows Vista)

WinRenderer.cpp

 WINVER not defined. Defaulting to 0x0600 (Windows Vista)

..\..\..\..\OpenGL\src\WindowsViewer\WinRenderer.cpp(128) : warning C4244: 'argument' : conversion from 'const int' to 'const float', possible loss of data

..\..\..\..\OpenGL\src\WindowsViewer\WinRenderer.cpp(128) : warning C4244: 'argument' : conversion from 'const int' to 'const float', possible loss of data

Creating library...

</pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2>

Results

</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Build log was saved at "file://c:\Libs_Projects\OAGLibrary\Workspaces\VC9\OpenGL\WindowsViewer\Release\BuildLog.htm"

WindowsViewer - 0 error(s), 2 warning(s)

</pre></table><table   width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2>

</font></table></body></html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Brazil Brazil
I live in Matão, a small city in Brazil. I studied as Programmer in a College for Software Development in Database.
After finishing the College I have been working with java, c# and Computer Graphics with searches for OpenGL.

Comments and Discussions