Skip to main content
Known Participant
May 9, 2018 7:58 PM UTC
Answered

LNK1104: cannot open file 'libcpmt.lib'

I downloaded the Acrobat SDK samples and opened the 'All' solution.  When I try to build, for example, BatesNumbering, I get a LNK1104 error because it cannot open LIBCPMT.lib.

I am using the Visual Studio 2013 (v120) Platform Toolset within Visual Studio 2017.

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
May 10, 2018 4:47 PM UTC

This will probably be making your life MUCH harder and I'd strongly recommend you work with the intended release. That said, it's a standard Microsoft library and you should be able to find it and adjust your project settings if you're comfortable with C linking setups.

8 replies

Legend
May 10, 2018 9:36 PM UTC

I'm sure the problem is soluble, and so will each of the other problems that comes up. It just may take longer and be more frustrating. As I said, this is a Microsoft standard LIB file, so just locate it and adjust the settings.

Translate
Legend
May 10, 2018 4:54 PM UTC

That's the recommended path. I use VMs to keep these things tidy.

Translate
R0b_EvansAuthor
Known Participant
May 10, 2018 4:58 PM UTC

I will install VS 2013 today and report on the outcome.

Translate
Test Screen NameCorrect answer
Legend
May 10, 2018 4:47 PM UTC

This will probably be making your life MUCH harder and I'd strongly recommend you work with the intended release. That said, it's a standard Microsoft library and you should be able to find it and adjust your project settings if you're comfortable with C linking setups.

Translate
R0b_EvansAuthor
Known Participant
May 10, 2018 4:52 PM UTC

So, what you are saying is that I should install VS 2013 and use it instead of using VS 2017 with the 2013 toolset?

Translate
Legend
May 10, 2018 7:38 AM UTC

Is that the Visual Studio release it was designed for? If not you’re probably going to have to do a lot of troubleshooting and adapting; I can’t recommend that course.

Translate
R0b_EvansAuthor
Known Participant
May 10, 2018 3:56 PM UTC

According to the SDK documentation, it was designed for Visual Studio 2013 (v120).  I do not have VS 2013 installed, but, of course, VS 2017 has that toolset available in the property settings.  When I initially opened the All solution in VS 2017, I did not convert the projects away from VS 2013.

Translate