Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile with current version of externals: #1

Open
Kulitorum opened this issue Nov 10, 2020 · 0 comments
Open

Does not compile with current version of externals: #1

Kulitorum opened this issue Nov 10, 2020 · 0 comments

Comments

@Kulitorum
Copy link

1>------ Build started: Project: GraphicsTemplateApp, Configuration: Debug x64 ------
1>PickableApplication.cpp
1>F:\GraphicsTemplateApp-master\Source\Application\PickableApplication.cpp(123,72): error C2664: 'bool ImGui::InputFloat3(const char *,float [],const char *,ImGuiInputTextFlags)': cannot convert argument 3 from 'int' to 'const char *'
1>F:\GraphicsTemplateApp-master\Source\Application\PickableApplication.cpp(123,71): message : Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
1>F:\GraphicsTemplateApp-master\Externals\imgui\imgui.h(516,29): message : see declaration of 'ImGui::InputFloat3'
1>PickableObject.cpp
1>F:\GraphicsTemplateApp-master\Source\DrawableObjects\PickableObject.cpp(58,50): error C2664: 'Magnum::Shaders::Phong &Magnum::Shaders::Phong::setLightPosition(Magnum::UnsignedInt,const Magnum::Vector4 &)': cannot convert argument 2 from 'initializer list' to 'const Magnum::Vector4 &'
1>F:\GraphicsTemplateApp-master\Source\DrawableObjects\PickableObject.cpp(58,50): message : Reason: cannot convert from 'initializer list' to 'const Magnum::Vector4'
1>F:\GraphicsTemplateApp-master\Source\DrawableObjects\PickableObject.cpp(58,50): message : No constructor could take the source type, or constructor overload resolution was ambiguous
1>F:\GraphicsTemplateApp-master\Externals\magnum\src\Magnum/Shaders/Phong.h(859,16): message : see declaration of 'Magnum::Shaders::Phong::setLightPosition'
1>MyApplication.cpp
1>Generating Code...
1>Done building project "GraphicsTemplateApp.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 28 up-to-date, 0 skipped ==========

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant