tagged [linker]

How do I make a fully statically linked .exe with Visual Studio Express 2005?

How do I make a fully statically linked .exe with Visual Studio Express 2005? My current preferred C++ environment is the free and largely excellent Microsoft Visual Studio 2005 Express edition. From ...

10 Sep at 04:30

ld cannot find an existing library

ld cannot find an existing library I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find specified libraries. The specific example here is Image...

Linking static libraries to other static libraries

Linking static libraries to other static libraries I have a small piece of code that depends on many static libraries (a_1-a_n). I'd like to package up that code in a static library and make it availa...

28 Jul at 19:56

"/usr/bin/ld: cannot find -lz"

"/usr/bin/ld: cannot find -lz" I am trying to compile Android source code under Ubuntu 10.04. I get an error saying, > /usr/bin/ld: cannot find -lz Can you please tell me how can I fix it? What does `...

22 Oct at 22:31

Problem Linking "static" Methods in C++

Problem Linking "static" Methods in C++ I want to call a few "static" methods of a CPP class defined in a different file but I'm having linking problems. I created a test-case that recreates my proble...

22 Sep at 18:48

error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup I don't know what's wrong with it.. I can't find where the error is, commenting out the implementation doesn't...

30 Jan at 20:43

Xamarin Android - Linker and ServiceStack.Text

Xamarin Android - Linker and ServiceStack.Text I'm having trouble getting an application to work with full linking. This is my setup (my assembly names changed): - - - I'm attempting to deserialize a ...

Linker error: "linker input file unused because linking not done", undefined reference to a function in that file

Linker error: "linker input file unused because linking not done", undefined reference to a function in that file I'm having trouble with the linking of my files. Basically, my program consists of: - ...

28 Sep at 01:39

Trying to include a library, but keep getting 'undefined reference to' messages

Trying to include a library, but keep getting 'undefined reference to' messages I am attempting to use the libtommath library. I'm using the NetBeans IDE for my project on Ubuntu linux. I have downloa...

The State of Linkers for .NET apps (aka "Please Sir, May I have a Linker" 2009 edition)

The State of Linkers for .NET apps (aka "Please Sir, May I have a Linker" 2009 edition) Many people here are probably familiar with one of [Joel Spolsky](http://www.joelonsoftware.com/) most popular b...

9 Aug at 22:33

Exposing 3rd Party C++ Functions and Classes

Exposing 3rd Party C++ Functions and Classes I'm writing a C++ application that makes heavy use of OpenCV. Unfortunately, some of the OpenCV code I'd like to make use of hasn't been exposed by their A...

8 Feb at 14:35