Jump to content

PFWGui - Source Code Now Available


Patrik
 Share

Recommended Posts

  • 5 weeks later...

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...