[prev in list] [next in list] [prev in thread] [next in thread]
List: theora
Subject: Re: [theora] C++ Linker Warnings
From: Marco Era <marcoera () yahoo ! it>
Date: 2008-04-16 7:29:56
Message-ID: 4805AAF4.40909 () yahoo ! it
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Lee Wilson ha scritto:
>
>
> I have been trying to link to theora static libs I built with VC++
> 2005 from libtheora-1.0beta2 and libogg-1.1.3. I get a couple of link
> warnings, the most significant is:
>
>
>
> LINK : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of
> other libs; use /NODEFAULTLIB:library
>
Just open libtheora project and change the c library option from libcmt
to msvcrt; this can be done from menu project > properties >
configuration properties > C/C++ > code generation > runtime library.
Then build the libtheora project again and link your program to the
result libraries.
Regards.
Marco Era
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1250"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Lee Wilson ha scritto:
<blockquote cite="mid:E1JlvOo-0000lG-N8@smtp.po.exetel.com.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:black;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;" lang="EN-AU"><o:p></o:p><br>
I have been trying to link
to theora static libs I built with VC++ 2005 from libtheora-1.0beta2
and
libogg-1.1.3. I get a couple of link warnings, the most significant is:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;" lang="EN-AU"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="1"><span
style="font-size: 8pt; font-family: "Courier New";">LINK : warning
LNK4098: defaultlib 'libcmt.lib'
conflicts with use of other libs; use /NODEFAULTLIB:library</span></font></p>
</div>
</blockquote>
<small><font face="Arial">Just open libtheora project and change the c
library option from libcmt to msvcrt; this can be done from menu
project > properties > configuration properties > C/C++ >
code generation > runtime library.<br>
<br>
Then build the </font></small><small><font face="Arial">libtheora </font></small><small><font
face="Arial">project again and link your program to the result
libraries.<br>
<br>
Regards.<br>
Marco Era<br>
<br>
<br>
</font></small>
</body>
</html>
_______________________________________________
theora mailing list
theora@xiph.org
http://lists.xiph.org/mailman/listinfo/theora
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic