georges/type.h No such file ro directory?

Added by warmsun over 4 years ago

hi, guys . I have compiled the "NeL, Ryzom Core Client and Server" "NeL and Ryzom Core Client" .when I compile the " Ryzom Core Tools " ,I get some No file error like:
georges/type.h No such file ro directory
sound/driver/dsound/source_dsound.h No such file ro directory

thanks for any help :)


Replies (5)

RE: georges/type.h No such file ro directory? - Added by warmsun over 4 years ago

when compile snowballs ,
23>.\src\snowballs_client.cpp(212) : error C2065: 'MB_OK' : undeclared identifier
23>.\src\snowballs_client.cpp(212) : error C2065: 'MB_ICONSTOP' : undeclared identifier
23>.\src\snowballs_client.cpp(212) : error C3861: 'MessageBox': identifier not found
23>.\src\snowballs_client.cpp(1062) : error C2146: syntax error : missing ';' before identifier 'WinMain'
23>.\src\snowballs_client.cpp(1062) : error C2065: 'HINSTANCE' : undeclared identifier
23>.\src\snowballs_client.cpp(1062) : error C2146: syntax error : missing ')' before identifier 'hInstance'
23>.\src\snowballs_client.cpp(1062) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
23>.\src\snowballs_client.cpp(1062) : error C2059: syntax error : ')'
23>.\src\snowballs_client.cpp(1066) : error C2143: syntax error : missing ';' before '{'
23>.\src\snowballs_client.cpp(1066) : error C2447: '{' : missing function header (old-style formal list?)

some one can help me?

RE: georges/type.h No such file ro directory? - Added by gnuser over 4 years ago

Add

#include "windows.h"

in snowballs_client.cpp

like this:

#if defined(NL_OS_WINDOWS)
#    include <direct.h>
#    include <tchar.h>
#include <windows.h>
#endif

RE: georges/type.h No such file ro directory? - Added by warmsun over 4 years ago

:).it reduce a fail, i still have 5 failed like that , i need to add #include "windows.h" in 5 different place?

RE: georges/type.h No such file ro directory? - Added by warmsun over 4 years ago

everything are all right. the compile is success, I don't understand why the code don't do #include "windows.h" ?

RE: georges/type.h No such file ro directory? - Added by molator over 4 years ago

Some tools are old tools and can only built using some trick.

(1-5/5)