Click here to Skip to main content
15,879,474 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: LibJPEG, Configuration: Debug|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\WinAPIs\LibJPEG\Debug\RSP00000149205660.rsp" with contents

[

/Od /D &quot;WIN32&quot; /D &quot;_DEBUG&quot; /D &quot;_LIB&quot; /Gm /EHsc /RTC1 /MDd /Fo&quot;Debug\\&quot; /Fd&quot;Debug\vc90.pdb&quot; /W3 /c /ZI /TC .\files\jaricom.c


.\files\wrtarga.c


.\files\wrrle.c


.\files\wrppm.c


.\files\wrjpgcom.c


.\files\wrgif.c


.\files\wrbmp.c


.\files\transupp.c


.\files\rdtarga.c


.\files\rdswitch.c


.\files\rdrle.c


.\files\rdppm.c


.\files\rdgif.c


.\files\rdcolmap.c


.\files\rdbmp.c


.\files\jutils.c


.\files\jquant2.c


.\files\jquant1.c


.\files\jmemnobs.c


.\files\jmemmgr.c


.\files\jidctint.c


.\files\jidctfst.c


.\files\jidctflt.c


.\files\jfdctint.c


.\files\jfdctfst.c


.\files\jfdctflt.c


.\files\jerror.c


.\files\jdtrans.c


.\files\jdsample.c


.\files\jdpostct.c


.\files\jdmerge.c


.\files\jdmaster.c


.\files\jdmarker.c


.\files\jdmainct.c


.\files\jdinput.c


.\files\jdhuff.c


.\files\jddctmgr.c


.\files\jdcolor.c


.\files\jdcoefct.c


.\files\jdatasrc.c


.\files\jdatadst.c


.\files\jdarith.c


.\files\jdapistd.c


.\files\jdapimin.c


.\files\jctrans.c


.\files\jcsample.c


.\files\jcprepct.c


.\files\jcparam.c


.\files\jcomapi.c


.\files\jcmaster.c


.\files\jcmarker.c


.\files\jcmainct.c


.\files\jcinit.c


.\files\jchuff.c


.\files\jcdctmgr.c


.\files\jccolor.c


.\files\jccoefct.c


.\files\jcarith.c


.\files\jcapistd.c


.\files\jcapimin.c

]

Creating command line "cl.exe @c:\Libs_Projects\WinAPIs\LibJPEG\Debug\RSP00000149205660.rsp /nologo /errorReport:prompt"

Creating temporary file "c:\Libs_Projects\WinAPIs\LibJPEG\Debug\RSP00000249205660.rsp" with contents

[

/OUT:&quot;C:\Libs_Projects\WinAPIs\LibJPEG\Debug\LibJPEGd.lib&quot; .\Debug\jaricom.obj


.\Debug\jcapimin.obj


.\Debug\jcapistd.obj


.\Debug\jcarith.obj


.\Debug\jccoefct.obj


.\Debug\jccolor.obj


.\Debug\jcdctmgr.obj


.\Debug\jchuff.obj


.\Debug\jcinit.obj


.\Debug\jcmainct.obj


.\Debug\jcmarker.obj


.\Debug\jcmaster.obj


.\Debug\jcomapi.obj


.\Debug\jcparam.obj


.\Debug\jcprepct.obj


.\Debug\jcsample.obj


.\Debug\jctrans.obj


.\Debug\jdapimin.obj


.\Debug\jdapistd.obj


.\Debug\jdarith.obj


.\Debug\jdatadst.obj


.\Debug\jdatasrc.obj


.\Debug\jdcoefct.obj


.\Debug\jdcolor.obj


.\Debug\jddctmgr.obj


.\Debug\jdhuff.obj


.\Debug\jdinput.obj


.\Debug\jdmainct.obj


.\Debug\jdmarker.obj


.\Debug\jdmaster.obj


.\Debug\jdmerge.obj


.\Debug\jdpostct.obj


.\Debug\jdsample.obj


.\Debug\jdtrans.obj


.\Debug\jerror.obj


.\Debug\jfdctflt.obj


.\Debug\jfdctfst.obj


.\Debug\jfdctint.obj


.\Debug\jidctflt.obj


.\Debug\jidctfst.obj


.\Debug\jidctint.obj


.\Debug\jmemmgr.obj


.\Debug\jmemnobs.obj


.\Debug\jquant1.obj


.\Debug\jquant2.obj


.\Debug\jutils.obj


.\Debug\rdbmp.obj


.\Debug\rdcolmap.obj


.\Debug\rdgif.obj


.\Debug\rdppm.obj


.\Debug\rdrle.obj


.\Debug\rdswitch.obj


.\Debug\rdtarga.obj


.\Debug\transupp.obj


.\Debug\wrbmp.obj


.\Debug\wrgif.obj


.\Debug\wrjpgcom.obj


.\Debug\wrppm.obj


.\Debug\wrrle.obj


.\Debug\wrtarga.obj

]

Creating command line "lib.exe @c:\Libs_Projects\WinAPIs\LibJPEG\Debug\RSP00000249205660.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...

jcapimin.c

jcapistd.c

jcarith.c

jccoefct.c

jccolor.c

jcdctmgr.c

jchuff.c

jcinit.c

jcmainct.c

jcmarker.c

jcmaster.c

jcomapi.c

jcparam.c

jcprepct.c

jcsample.c

jctrans.c

jdapimin.c

jdapistd.c

jdarith.c

jdatadst.c

Generating Code...

Compiling...

jdatasrc.c

jdcoefct.c

jdcolor.c

jddctmgr.c

jdhuff.c

jdinput.c

jdmainct.c

jdmarker.c

jdmaster.c

jdmerge.c

jdpostct.c

jdsample.c

jdtrans.c

jerror.c

c:\libs_projects\winapis\libjpeg\files\jerror.c(193) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf'

c:\libs_projects\winapis\libjpeg\files\jerror.c(199) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(366) : see declaration of 'sprintf'

jfdctflt.c

jfdctfst.c

jfdctint.c

jidctflt.c

jidctfst.c

jidctint.c

Generating Code...

Compiling...

jmemmgr.c

c:\libs_projects\winapis\libjpeg\files\jmemmgr.c(1106) : warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h(447) : see declaration of 'getenv'

c:\libs_projects\winapis\libjpeg\files\jmemmgr.c(1109) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'

jmemnobs.c

jquant1.c

jquant2.c

jutils.c

rdbmp.c

rdcolmap.c

rdgif.c

rdppm.c

rdrle.c

rdswitch.c

c:\libs_projects\winapis\libjpeg\files\rdswitch.c(90) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'

c:\libs_projects\winapis\libjpeg\files\rdswitch.c(183) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'

c:\libs_projects\winapis\libjpeg\files\rdswitch.c(280) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'

c:\libs_projects\winapis\libjpeg\files\rdswitch.c(312) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'

c:\libs_projects\winapis\libjpeg\files\rdswitch.c(346) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(324) : see declaration of 'sscanf'

rdtarga.c

transupp.c

wrbmp.c

wrgif.c

wrjpgcom.c

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(442) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(456) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(465) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of 'strcat'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(466) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of 'strcat'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(485) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(492) : warning C4996: 'setmode': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _setmode. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\io.h(318) : see declaration of 'setmode'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(492) : warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(722) : see declaration of 'fileno'

c:\libs_projects\winapis\libjpeg\files\wrjpgcom.c(512) : warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

        c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(237) : see declaration of 'fopen'

wrppm.c

wrrle.c

wrtarga.c

jaricom.c

Generating Code...

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\WinAPIs\LibJPEG\Debug\BuildLog.htm"

LibJPEG - 0 error(s), 17 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