'pow' : no matching overloaded function found \n"
来源:互联网 发布:apache默认网站目录 编辑:程序博客网 时间:2024/05/23 19:20
"float spec=pow(max(dot(cameraDir,reflectDir),0.0),32);"
Fragment Shader Compile Error!
message = 0x009df15c "ERROR: 0:1: 'pow' : no matching overloaded function found \n"
I find the answer by check StackOverFlow。
the second param of pow() is defined as float.so i changed to
"float spec=pow(max(dot(cameraDir,reflectDir),0.0),32.0);"
it works good.
0 0
- 'pow' : no matching overloaded function found \n"
- error C2668: ‘pow’ : ambiguous call to overloaded function
- g++ error: no matching function
- no matching symbolic information found
- no matching symbolic information found
- No matching provisioning profiles found
- no matching provisioning profiles found
- No matching provisioning profiles found
- No matching provisioning profiles found
- no matching provisioning profile found
- no matching provisioning profile found
- No matching provisioning profile found
- No matching provisioning profiles found
- System::Text::StringBuilder::AppendFormat' : no overloaded function takes 7 arguments
- no instance of overloaded function "AfxMessageBox" matches the argument list
- error: overloaded function with no contextual type information
- Leetcode NO.50 Pow(x, n)
- Leetcode No.50: Pow(x, n)
- Java构造和解析Json数据的两种方法详解一
- centos7 install flash-plugin
- PAT1023
- 广东省强网杯2015 writeup
- hackthegame<第十一关>
- 'pow' : no matching overloaded function found \n"
- c# 四则混合运算算法
- 谈抉择
- AES算法实现_加密 JAVA
- Fiddler2 配置
- centos7中yum安装ntfs-3g
- win7+mbr安装黑苹果
- [matlab]基础与应用笔记5
- 在JS中操作json数据