ParaToxic Posted March 12, 2012 Share Posted March 12, 2012 Have you used gui->enable2D before and gui->desable2D after the draw command? Quote Link to comment Share on other sites More sharing options...
tjheldna Posted March 12, 2012 Share Posted March 12, 2012 Hmm I didn't have those two commands. I have now added them in now, but still no luck. I think you have saved me from the question after this one! Cheers Quote Link to comment Share on other sites More sharing options...
tjheldna Posted March 16, 2012 Share Posted March 16, 2012 I think I worked out what my problem was. If i set GodRays(1) and or SetAntialias(1) it causes the Gui Elements to not show except for text. Very nice plugin you have here, very useful. Thanks for sharing!!! Cheers! Quote Link to comment Share on other sites More sharing options...
jaydubeww Posted April 15, 2012 Share Posted April 15, 2012 Great looking gui! But I'm having some trouble. Firstly, I'm new to c++ and all that jazz. However, I was able to compile Freetype 2.4.8 and FTGL 2.1.3-rc5. After adding the Freetype and FTGL environment variables and compiling, I receive these errors: ||=== PFWGui, Debug Win32 ===| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\ksignal\Signal1.cpp||In member function 'virtual void ksignal1::Signal1<Parameter>::disconnect(const BaseSlot1<Parameter>&)':| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\ksignal\Signal1.cpp|36|error: need 'typename' before 'std::vector<BaseSlot1<Parameter>*>::iterator' because 'std::vector<BaseSlot1<Parameter>*>' is a dependent scope| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\ksignal\Signal1.cpp|36|error: expected ';' before 'it'| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\ksignal\Signal1.cpp|38|error: 'it' was not declared in this scope| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\ksignal\Slot1.h|100|error: 'slot' was not declared in this scope| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiAxis.cpp||In member function 'virtual void GuiAxis::draw()':| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiAxis.cpp|48|error: no matching function for call to 'GuiPainter::drawAxis(int&, int, int&, int, float&, float&, float&, GuiColor, GuiFont*&, bool&, int&)'| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiPainter.h|167|note: candidate is: void GuiPainter::drawAxis(int, int, int, int, float, float, float, GuiColor&, GuiFont*, bool, int)| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiAxis.cpp|50|error: no matching function for call to 'GuiPainter::drawAxis(int, int&, int, int&, float&, float&, float&, GuiColor, GuiFont*&, bool&, int&)'| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiPainter.h|167|note: candidate is: void GuiPainter::drawAxis(int, int, int, int, float, float, float, GuiColor&, GuiFont*, bool, int)| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiAxis.cpp||In member function 'void GuiAxis::calculateSizes()':| C:\Programming\CPPTools\common\PFWGui\PFWGui\Src\GuiAxis.cpp|114|error: 'sprintf' was not declared in this scope| ||=== Build finished: 9 errors, 0 warnings ===| Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
ParaToxic Posted April 16, 2012 Share Posted April 16, 2012 Try to use this DLL of FTGL : ftgl.dll Have you add PFWGui.lib and opengl32.lib to the linkerlibryry? Quote Link to comment Share on other sites More sharing options...
jaydubeww Posted April 16, 2012 Share Posted April 16, 2012 Oops, I wasn't very specific in my last post. Those errors are from trying to compile pfwgui into a lib, not my project. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.