Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue when building 'shader loader' in C++

2 REPLIES 2
Reply
Message 1 of 3
sone0206YA3T6
272 Views, 2 Replies

Issue when building 'shader loader' in C++

Hello Everyone.

I'm writing a shader in C++ for the first time as a homework during winter vacation but stuck with a problem whenever I build a shader loader.
Does anyone know how to solve the Error 'unresolved external symbol "Sahder1Mtd"'?
I'm beginner in C++ as well and couldn't find any solution from internet..
Any help will be appreciated. Thanks.

672-cpperror.png

2 REPLIES 2
Message 2 of 3
maxtarpini
in reply to: sone0206YA3T6

Add 'const' .. extern const AtNodeMethods* mymethod

Message 3 of 3

It works after adding 'const'.
Thank you very much!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report