LINK : fatal error LNK1181: cannot open input file 'core.lib'

LINK : fatal error LNK1181: cannot open input file 'core.lib'

tperam
Advocate Advocate
3,156 Views
4 Replies
Message 1 of 5

LINK : fatal error LNK1181: cannot open input file 'core.lib'

tperam
Advocate
Advocate

LINK : fatal error LNK1181: cannot open input file 'core.lib'

 

Hi,

   I am getting the above Link Error on Build of a C++ File in Fusion 360 Microsoft Visual Studio Academic.

 

Where is file core.lib located?

 

How can I solve this issue?

 

 

Please help.

 

Regards,

Thurai

Accepted solutions (2)
3,157 Views
4 Replies
Replies (4)
Message 2 of 5

tperam
Advocate
Advocate

This happened even after reinstalling Fusion 360.

 

Regards,

Thurai

0 Likes
Message 3 of 5

tperam
Advocate
Advocate
Accepted solution

Fusion 360 Visual Studio is giving the following Error on compiling any Code: LINK : fatal error LNK1181: cannot open input file 'core.lib'

C:\Users\tpera\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\CPP\lib

Fusion Object File Library Updated on June 29, 2020 at 5:10 AM 649 KB

 

But my Laptop Same Directory Has 3 Files:

Cam, Core, fusion All of them Fusion Object File Library Updated on June 29, 2020 at 5:10 AM.

 

My Desktop has only one Fusion Object Library file: fusion. May be the Linker in the Desktop is looking for core.lib in the core object library, which is not there. This is a possibility why my Desktop is giving the Link Error LNK1181.

 

Then I copied the core and cam Fusion Object Files from the Laptop to my Desktop. Then My Desktop Visual Studio Academic Compiled and Linked my C++ File successfully.

 

So the error Occured because Fusion 360 when updated the Object Library on June 29, 2020 at 5:10 AM did not install the cam and core object Library Files in Windows 10 Professional operating system. My Laptop has regular windows 10 operating system.

 

Regards,

Thurai

Message 4 of 5

nnikbin
Collaborator
Collaborator
Accepted solution

Thank you so much @tperam for reporting the issue and the solution.

I had the exact same problem on my desktop with Windows 10 Pro. Then as you adviced, I installed Fusion 360 on my laptop (Windows 10 Home) and copied the cam.lib and core.lib from my laptop into Windows 10 Pro machine. The issue resolved.

I will appreciate it if Autodesk publish a patch for this issue ASAP.

Message 5 of 5

tperam
Advocate
Advocate
I am glad to have been lucky to find it.

Regards,
Thurai
0 Likes