0
오류'SQRT': 'SQRT': 오버로드 된 함수 C에 모호한 전화 : assimp 포함 프로그램 파일 과부하 기능 t .. assimp vector3.inl
오류 C2668에 모호한 전화
vector3.inl assimp \ 내가 주 CPP 파일에 'scene.h'를 포함 할 때 occures :
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
GLFWwindow* window;
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#define MESH_FILE "cube.obj"
using namespace glm;
#include "common/shader.hpp"
#include "common/controls.hpp"
나는 그것이 충돌 무엇을 얻을 수 있습니까?
'glm' 네임 스페이스에 sqrt 함수가 있습니까? –
@ratchetfreak 나는 그것이 수학 라이브러리이기 때문에 그렇다고 생각하지만 왜 충돌 하는가? – RevanReborn
왜냐하면'sqrt (var)'는 표준 sqrt 또는 glm one을 참조 할 수 있기 때문이다. –