RSS

fatal error LNK1104: cannot open file ‘PocoFoundation.lib’

14 Jun

When using openframeworks and building the application, occasionally you may encounter the below error:

fatal error LNK1104: cannot open file ‘PocoFoundation.lib’

Searching the internet, and there seems to be no satisfactory solutions. While there is a simple trick:

  1. Right click the project in Visual Studio
  2. Select Properties
  3. Go to Linker Tab
  4. In the Ignore Specific Libraries, type in “PocoFoundations.lib”
  5. Rebuild, done.

image

Advertisements
 
2 Comments

Posted by on June 14, 2012 in openFrameworks, Programming

 

Tags: ,

2 responses to “fatal error LNK1104: cannot open file ‘PocoFoundation.lib’

  1. Philippe

    June 15, 2012 at 6:52 am

    I had the same problem, and used that solution.
    However you can have some linking problem from time to time (with a few referecences not found).

    It might be better to compile the thing that complains with /DPOCO_STATIC (and the /MD trigger)

     
  2. xinyustudio

    June 15, 2012 at 9:45 am

    Philippe, thanks for sharing your solution here! Yes, this works occasionally, and may be regarded as first-aid in case one would not like to bother rebuilding the Poco Lib. Cheers and happy coding!

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: