Untitled

 avatar
unknown
plain_text
a year ago
8.4 kB
4
Indexable
<command-line>: warning: ISO C++11 requires whitespace after the macro name
In file included from ExampleProject.cpp:2:
vendor/Drizzle3D/Drizzle3D.h:519:28: warning: converting to non-pointer type ‘GLuint’ {aka ‘unsigned int’} from NULL [-Wconversion-null]
  519 |         GLuint textureID = NULL;                      |                            ^~~~                 vendor/Drizzle3D/Drizzle3D.h:520:22: warning: converting to non-pointer type ‘GLuint’ {aka ‘unsigned int’} from NULL [-Wconversion-null]
  520 |         GLuint mat = NULL;                            |                      ^~~~
In file included from ExampleProject.cpp:2:
vendor/Drizzle3D/Drizzle3D.h:587:21: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
  587 |         int flags = NULL;
      |                     ^~~~
vendor/Drizzle3D/Drizzle3D.h:607:123: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-nul]  607 | , const char* format = NULL, int flags = NULL);
      |                                          ^~~~

/bin/ld: /tmp/ccoSYT8a.o: in function `Update(Drizzle3D::App*)':                                                ExampleProject.cpp:(.text+0x7c): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xc4): undefined reference to `Drizzle3D::GetTexture(char const*)'           /bin/ld: ExampleProject.cpp:(.text+0xf4): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x120): undefined reference to `Drizzle3D::GetTexture(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x150): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x17c): undefined reference to `Drizzle3D::RenderingLayer::returnLight(float)'
/bin/ld: ExampleProject.cpp:(.text+0x1d0): undefined reference to `Drizzle3D::RenderingLayer::returnLight(float)'
/bin/ld: ExampleProject.cpp:(.text+0x208): undefined reference to `Drizzle3D::RenderingLayer::returnCamera(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x25c): undefined reference to `Drizzle3D::RenderingLayer::returnCamera(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x2b0): undefined reference to `Drizzle3D::RenderingLayer::returnCamera(char const*)'
/bin/ld: /tmp/ccoSYT8a.o: in function `ImGUICode(std::shared_ptr<Drizzle3D::ImGuiLayer>)':
ExampleProject.cpp:(.text+0x3e8): undefined reference to `ImGui::SetCurrentContext(ImGuiContext*)'
/bin/ld: ExampleProject.cpp:(.text+0x490): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x4bc): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x4e8): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x510): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x53c): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: /tmp/ccoSYT8a.o:ExampleProject.cpp:(.text+0x56c): more undefined references to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)' follow
/bin/ld: /tmp/ccoSYT8a.o: in function `ImGUICode(std::shared_ptr<Drizzle3D::ImGuiLayer>)':
ExampleProject.cpp:(.text+0x590): undefined reference to `ImGui::Button(char const*, ImVec2 const&)'
/bin/ld: ExampleProject.cpp:(.text+0x5d0): undefined reference to `ImGui::Button(char const*, ImVec2 const&)'
/bin/ld: ExampleProject.cpp:(.text+0x778): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x7a8): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x7d8): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x804): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: ExampleProject.cpp:(.text+0x830): undefined reference to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)'
/bin/ld: /tmp/ccoSYT8a.o:ExampleProject.cpp:(.text+0x85c): more undefined references to `ImGui::SliderFloat(char const*, float*, float, float, char const*, int)' follow
/bin/ld: /tmp/ccoSYT8a.o: in function `main':
ExampleProject.cpp:(.text+0xa84): undefined reference to `Drizzle3D::App::App(char*, int, int)'
/bin/ld: ExampleProject.cpp:(.text+0xa90): undefined reference to `Drizzle3D::FirstPersonCamera::FirstPersonCamera(Drizzle3D::App&)'
/bin/ld: ExampleProject.cpp:(.text+0xab0): undefined reference to `Drizzle3D::Skybox::Skybox(Drizzle3D::App&, char const*, float)'
/bin/ld: ExampleProject.cpp:(.text+0xaf0): undefined reference to `Drizzle3D::EventDispatcher::AddEventListener(Drizzle3D::EventType, void (*)(GLFWwindow*, std::unique_ptr<Drizzle3D::Event, std::default_delete<Drizzle3D::Event> >, std::any), std::any)'
/bin/ld: ExampleProject.cpp:(.text+0xbc4): undefined reference to `Drizzle3D::LoadObjFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/bin/ld: ExampleProject.cpp:(.text+0xc00): undefined reference to `Drizzle3D::RenderingLayer::DrawVerts(std::pair<std::vector<float, std::allocator<float> >, std::vector<unsigned int, std::allocator<unsigned int> > >, glm::mat<4, 4, float, (glm::qualifier)0>)'
/bin/ld: ExampleProject.cpp:(.text+0xc18): undefined reference to `Drizzle3D::RenderingLayer::AddObject(char const*, Drizzle3D::Object)'
/bin/ld: ExampleProject.cpp:(.text+0xc54): undefined reference to `Drizzle3D::GetTexture(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xc84): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xcfc): undefined reference to `Drizzle3D::LoadObjFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/bin/ld: ExampleProject.cpp:(.text+0xd38): undefined reference to `Drizzle3D::RenderingLayer::DrawVerts(std::pair<std::vector<float, std::allocator<float> >, std::vector<unsigned int, std::allocator<unsigned int> > >, glm::mat<4, 4, float, (glm::qualifier)0>)'
/bin/ld: ExampleProject.cpp:(.text+0xd50): undefined reference to `Drizzle3D::RenderingLayer::AddObject(char const*, Drizzle3D::Object)'
/bin/ld: ExampleProject.cpp:(.text+0xd8c): undefined reference to `Drizzle3D::GetTexture(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xdbc): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xe34): undefined reference to `Drizzle3D::LoadObjFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/bin/ld: ExampleProject.cpp:(.text+0xe70): undefined reference to `Drizzle3D::RenderingLayer::DrawVerts(std::pair<std::vector<float, std::allocator<float> >, std::vector<unsigned int, std::allocator<unsigned int> > >, glm::mat<4, 4, float, (glm::qualifier)0>)'
/bin/ld: ExampleProject.cpp:(.text+0xe88): undefined reference to `Drizzle3D::RenderingLayer::AddObject(char const*, Drizzle3D::Object)'
/bin/ld: ExampleProject.cpp:(.text+0xec4): undefined reference to `Drizzle3D::GetTexture(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xef4): undefined reference to `Drizzle3D::RenderingLayer::returnObject(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0xfd0): undefined reference to `Drizzle3D::RenderingLayer::AddCamera(char const*, Drizzle3D::Camera)'
/bin/ld: ExampleProject.cpp:(.text+0x1004): undefined reference to `Drizzle3D::RenderingLayer::SwitchCamera(char const*)'
/bin/ld: ExampleProject.cpp:(.text+0x1014): undefined reference to `Drizzle3D::App::Run()'
/bin/ld: /tmp/ccoSYT8a.o: in function `Drizzle3D::App::~App()':
ExampleProject.cpp:(.text._ZN9Drizzle3D3AppD2Ev[_ZN9Drizzle3D3AppD5Ev]+0x50): undefined reference to `Drizzle3D::Window::~Window()'
collect2: error: ld returned 1 exit status
root@localhost:~/Desktop/Drizzle3D/ExampleProject# clear && g++ -L../Drizzle3D/x64/Debug -lDrizzle3D -Ivendor -Ivendor/Drizzle3D -DDrizzle3D_LINUX-std=c++20 -fpermissive *.cpp
Leave a Comment