Horde3D http://horde3d.org/forums/ |
|
building own app http://horde3d.org/forums/viewtopic.php?f=2&t=1619 |
Page 1 of 1 |
Author: | h3xp10d3 [ 05.01.2012, 07:59 ] |
Post subject: | building own app |
hi all! : ) i've build h3d and samples work fine ( just Knight's fps not stable ) but when i try to build any other app it fails using win xp + latest mingw here code i took from h3d site main.cpp Code: #include"glfw.h" #include"Horde3D.h" #include"Horde3DUtils.h" int main() { glfwInit(); if( !glfwOpenWindow(640,480,8,8,8,8,24,8,GLFW_WINDOW) ) { glfwTerminate(); return 1; } h3dInit(); h3dRelease(); glfwCloseWindow(); glfwTerminate(); } building like this: g++ main.cpp -lglfw dll files near main.cpp, libglfw.a in "mingw/lib" glfw.h in "mingw/include" and geting this: can anyone please describe how to build your app with h3d on windows from a to z ( no vs ) ? are there any differences inside h3d app for win, linux ? |
Author: | h3xp10d3 [ 05.01.2012, 10:29 ] |
Post subject: | Re: building own app |
i have searched through make files and i think i found solution: Code: g++ main.cpp -lhorde3dutils.dll -lhorde3d.dll -lglfw -lopengl32 it compiles clear and runs with no errors if someone got any comments, will be glad to hear : ) |
Author: | Volker [ 05.01.2012, 10:55 ] |
Post subject: | Re: building own app |
No reason to comment, you've solved it quite correctly. The symbols that were missing are part of the libraries you've linked in your solution. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |