Displaying 20 results from an estimated 1000 matches similar to: "using win32 static libs"
2013 Sep 29
2
MSVS: debug flac.exe uses release libogg_static.lib
With current settings, MSVS links debug version of flac.exe (and other .exe and .dll files) with the release version of libogg_static.lib. MSVS issues a "warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library"
What's the reason in this setting?
What is better:
* to change the settings so that MSVS will link debug .exe files with
2008 Apr 16
1
C++ Linker Warnings
Hi,
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
I read up about libcmt.lib and found it is a statically linked library that
supports
2002 Feb 07
1
Vorbisfile Linker Question
I'm having some trouble getting vorbisfile to link into my project under Windows. I downloaded all the source, and after re-compiling all the dlls and libs with my project's proper settings (Multithreaded, 1-byte alignment), everything works peachy when I use the dlls from the *_dynamic project files. When I try to use the *_static .libs though I get the following linker error:
2008 Aug 28
1
Building wxruby on windows with Visual C++ Express Edition
Hello,
Sorry for bothering You with so many questions, but I''m trying to build
wxruby from svn and wxWindgets 2.8.8 using Visual C++ 2008 Express
Edition.
I builded wxWindgets following instructions
http://wiki.wxwidgets.org/Compiling_WxWidgets and
http://wxruby.rubyforge.org/wiki/wiki.pl?HowToBuildWxWidgets
It compiled without any errors.
But on linking step of wxruby build process error
2005 Jun 06
1
linker error in debug
Hi!
I'm trying to make a debug build of my application
which uses the oggvorbis sdk. The libraries that it
uses are:
ogg_static_d.lib
vorbis_static_d.lib
vorbisfile_static_d.lib
When I try to build it, I get these linker errors:
GameClient error LNK2005: _exit already defined in
MSVCRTD.lib(MSVCR71D.dll)
GameClient error LNK2005: __exit already defined in
MSVCRTD.lib(MSVCR71D.dll)
2013 Sep 29
2
MSVS: debug flac.exe uses release libogg_static.lib
Ralph Giles wrote:
>> With current settings, MSVS links debug version of flac.exe (and other
>> .exe and .dll files) with the release version of libogg_static.lib.
>> MSVS issues a "warning LNK4098: defaultlib 'libcmt.lib' conflicts with use
>> of other libs; use /NODEFAULTLIB:library"
>
> Sounds like a bug. Debug targets should link to debug builds
2002 Jun 24
1
Date: Tue, 25 Jun 2002 00:06:12 +0300
Hello!
I'm trying to compile decoder_example.c example (MS VC 7) using debug static
ogg/vorbis libs with no luck. I got linker errors:
Linking...
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _malloc already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _free already defined in
LIBCD.lib(dbgheap.obj)
MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _memmove already
2004 Aug 06
2
compiling in windows
<p><p>Hi, I'm trying to compile speex in windows and I get this error: Linking...MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _malloc already defined in LIBCD.lib(dbgheap.obj)MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _free already defined in LIBCD.lib(dbgheap.obj)MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _memmove already defined in LIBCD.lib(memmove.obj)MSVCRTD.lib(MSVCRTD.dll) :
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
On Thu, Oct 23, 2014 at 3:38 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> On Thu, Oct 23, 2014 at 2:57 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> On Thu, Oct 23, 2014 at 2:46 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> 2014-10-23 11:34 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>>>> On Thu, Oct
2014 Oct 23
2
[LLVMdev] compiler-rt with MSVC 2013
compiler-rt libs must be built with /MT, so the MSVS build is doing
the wrong thing here.
2014-10-23 12:52 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
> On Thu, Oct 23, 2014 at 3:42 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> On Thu, Oct 23, 2014 at 3:38 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>>> On Thu, Oct 23, 2014 at 2:57
2013 Sep 30
0
MSVS: debug flac.exe uses release libogg_static.lib
lvqcl wrote:
> Ralph Giles wrote:
>
> >> With current settings, MSVS links debug version of flac.exe (and other
> >> .exe and .dll files) with the release version of libogg_static.lib.
> >> MSVS issues a "warning LNK4098: defaultlib 'libcmt.lib' conflicts with use
> >> of other libs; use /NODEFAULTLIB:library"
> >
> > Sounds
2017 Feb 27
2
lli can't find vsprintf
thank you! yes, i guess that is the problem.
unfortunately libcmt doesn't work. could it have another name for lli?
The function missing seems to be part of libcmt since i get a similar error
on linking if i remove the libcmt
D:\llvm\examples\helloworld>lli -load=libcmt hello.bc
Error opening 'libcmt': libcmt: Can't open: The specified module could not
be found. (0x7E)
2020 Feb 23
2
Change default config of clang on Windows
I'm getting trouble using clang with compiled libc++ on MSVC.
1. why clang chooses `link` over `lld-link` by default? I don't really wish
to write `-fuse-ld=lld-link` every single time I build something.
2. why `lld-link` doesn't search inside default `lib` directory? I need to
manually show him where it is although I put that binary in `<LLVM
root>\lib\`
3. why clang invokes
2011 Sep 29
1
[LLVMdev] Beginner Question on Linking
I am following along in http://llvm.org/docs/GettingStartedVS.html with a
Hello World bitcode file. I can run the file using the command `lli
HelloWorld.bc`, but now I want to link it into an executable file (on
windows). The next thing the document says to run is `llc -filetype=obj
HelloWorld.bc` which runs fine and now I have a `HelloWorld.obj` file. It's
the last step that is giving me some
2017 Feb 25
2
lli can't find vsprintf
Hi
i am wondering if someone could give me some tips on how to debug/solve
this problem. I am trying to use LLI on Windows. I build llvm and clang
using cmake.
clang -c hello.c -emit-llvm -o hello.bc
lli hello.bc
D:\llvm\examples\helloworld>lli hello.bc
LLVM ERROR: Program used external function '___stdio_common_vsprintf' which
could not be resolved!
But, I can generate the exe though
2014 Oct 23
3
[LLVMdev] compiler-rt with MSVC 2013
On Thu, Oct 23, 2014 at 2:46 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
> 2014-10-23 11:34 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
>> On Thu, Oct 23, 2014 at 2:24 PM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>>> I don't think this is the right approach.
>>>
>>> Currently we intentionally define malloc etc
2017 Mar 31
2
Invoking lld for PE/COFF (Windows) linking
On 3/30/2017 9:03 PM, Reid Kleckner via llvm-dev wrote:
> On Thu, Mar 30, 2017 at 5:57 PM, Edward Diener via llvm-dev
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
> Actually just doing:
>
> clang++ -c t.cpp -o t.o --target=x86_64-windows-msvc -fmsc-version=1900
> clang++ t.o -o t.exe --target=x86_64-windows-msvc
2013 Mar 19
3
Patch to add Unicode filename support for win32 flac
On 19.3.2013 15:49, JonY wrote:
> On 3/19/2013 19:59, Janne Hyv?rinen wrote:
>> On 18.3.2013 12:25, Erik de Castro Lopo wrote:
>>> JonY wrote:
>>>
>>>> Before anyone does anything, see __wgetmainargs
>>>> <http://msdn.microsoft.com/en-us/library/ff770599.aspx>.
>>>>
>>>> It can expand wildcards. Since it already
2010 Jan 31
2
[LLVMdev] Compiling Kaleidoscope on Windows
I don't suppose anyone knows what (or how to find out what) the actual
command to compile Kaleidoscope is? I followed cmake/nmake down
through maybe half a dozen levels before getting lost, so I tried to
develop a compiler invocation from scratch. I got as far as
cl /EHsc /I\d\llvm-2.6\include /I\llvm\include /wd4355 toy.cpp
which successfully generated toy.obj and spat out 86 link time
2007 Feb 28
1
Linking problem when using speex with visual studio 6.0
Hi, dear all
I got the following problem when using speex1.2beta1 with VS 6.0:
LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs;
use /NODEFAULTLIB:library
libspeex.lib(sb_celp.obj) : error LNK2001: unresolved external symbol
_lpc_window
libspeex.lib(nb_celp.obj) : error LNK2001: unresolved external symbol
_lpc_window
I compiled speex1.2beta1 under win32