Numitore
Member
|
Fail to build WINDOW IO Tutorial
Hi, I'm trying this great engine and I noticed that I can't buil the WINDOW IO tutorial. Here it's the output:
1>------ Build started: Project: 13 - Window IO, Configuration: Debug Win32 ------
1> Main.cpp
1>c:\esenthel\projects\_build_\13 - window io\source\main.cpp(21): error C2664: 'EE::WindowIO &EE::WindowIO::create(const EE::Str &,const EE::Str &,const EE::Str &,void (__cdecl *)(const EE::Str &,Ptr),void (__cdecl *)(const EE::Str &,Ptr),Ptr)' : cannot convert argument 4 from 'void (__cdecl *)(EE::Str,Ptr)' to 'void (__cdecl *)(const EE::Str &,Ptr)'
1> None of the functions with this name in scope match the target type
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any advice about how to solve it?
|
|
03-22-2015 03:45 PM |
|
Esenthel
Administrator
|
RE: Fail to build WINDOW IO Tutorial
void (__cdecl *)(EE::Str,Ptr)' to 'void (__cdecl *)(const EE::Str &,Ptr)
You need to replace (Str name) func parameter to (C Str &name)
|
|
03-23-2015 12:04 AM |
|