missing windows libs for C++

missing windows libs for C++

meeloo
Participant Participant
2,786 Views
12 Replies
Message 1 of 13

missing windows libs for C++

meeloo
Participant
Participant

Hi,

 

I'm starting to port a simple C++ fusion script from the Mac to Windows. When I build visual studio complains that it can't link against core.lib and indeed, the lib folder on my PC is totally empty. The includes are fine and the C++ sources are built without error though. 

Any idea what could have gone wrong in my Fusion 360 installation?

 

Thanks!

 

S.

0 Likes
Accepted solutions (1)
2,787 Views
12 Replies
Replies (12)
Message 2 of 13

meeloo
Participant
Participant

I just tried to reinstall fusion (deinstall + install again after re downloading the installer) and it sadly didn't fix the problem. The $(APPDATA)/Autodesk/Autodesk Fusion 360/API/CPP/include folder is ok, but $(APPDATA)/Autodesk/Autodesk Fusion 360/API/CPP/lib is empty. 

On the mac the equivalent folder are correctly populated with the libs and I didn't have to do anything special.

0 Likes
Message 3 of 13

BrianEkins
Mentor
Mentor

I have the same problem on my Windows machine.  I suspect it's an issue with the latest update because I successfully compiled a C++ program a few days ago but now it fails.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 4 of 13

meeloo
Participant
Participant

Hi Brian and thanks for your confirmation that I'm not mad :-).

Do you know of a way to roll back to a previous version? Is it at all possible? 

0 Likes
Message 5 of 13

BrianEkins
Mentor
Mentor

It's not possible to go back.  I just got confirmation from an Autodesk developer that there was a change made in the installer that caused the .lib not to be installed.  They'll be fixing that but don't know yet when the fix will be out.  They might be able to provide the .lib files themselves as a workaround until then.  They'll post here with more news.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 6 of 13

meeloo
Participant
Participant
Thanks for the I formation. If they could post the libs before the release is due that would be much welcome as I’m currently stuck!

S.
0 Likes
Message 7 of 13

goyals
Autodesk
Autodesk
Accepted solution

PFA lib files for your reference. We will try to fix this problem ASAP. Thanks.



Shyam Goyal
Sr. Software Dev. Manager
0 Likes
Message 8 of 13

meeloo
Participant
Participant

Awesome! Thank you so much, I could build and test my plugin right away and it worked fine! 🙏🏻

0 Likes
Message 9 of 13

Anonymous
Not applicable

I seem to be missing both the lib and include header files.  I've downloaded the libs above, how can i get the c++ include headers?

0 Likes
Message 10 of 13

goyals
Autodesk
Autodesk

In last Fusion update, We fixed this problem. Are you still noticing it? Thanks.



Shyam Goyal
Sr. Software Dev. Manager
0 Likes
Message 11 of 13

Anonymous
Not applicable

Sorry for confusing threads, I'm actually missing libs and headers on mac, not windows.  I've started a separate thread for the same. 

 

I've installed, un-installed, and re-installed the latest Fusion 360, and the lib and include folders are missing, so seems this is still an issue.  

 

Until this is resolved, is it possible to get a zip with latest mac libs and headers?  As of now, I am blocked on my mac plugin development.  Thanks in advance for your help!

0 Likes
Message 12 of 13

goyals
Autodesk
Autodesk

I am really surprised to hear it because this problem was never noticed on Mac and only impacted Windows. Just to keep you going, I attached the include and lib folder for Mac here.



Shyam Goyal
Sr. Software Dev. Manager
0 Likes
Message 13 of 13

Anonymous
Not applicable

Thank you @goyals.   

 

Just to close the thread,  it turns out that I was looking in the wrong place.  The path to the lib and include folder were specified incorrectly in the plugin that i was using as a template for my plugin, namely $(USER_LIBRARY_DIR)/Containers/com.autodesk.mas.fusion360/Data/Library/Application\ Support/Autodesk/Autodesk\ Fusion\ 360/API

 

However, when i go to $(USER_LIBRARY_DIR)/Application\ Support/Autodesk/Autodesk\ Fusion\ 360/API, I can find all the files needed.   Thank you again, appreciate the help!

0 Likes