07-03-2007, 10:24 AM
I'm triing to compile Vdrift with Visual Studio, but i'm having a lot of problems with the libraries.
When i try to compile the source i have a lot of errors, for example:
I have installed the openAL libraries but there's the following error:
fatal error C1083: Cannot open include file: 'AL/al.h': No such file or directory
In the file "settings.cpp" the compiler give to me the follwing errors:
...\controls.h(77) : see declaration of 'CONTROL::controltype'
...\controls.h(115) : error C2440: '=' : cannot convert from '_MEDIA_TYPE' to 'ControllerEnum' Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
...\settings.cpp(926) : error C3861: 'sort': identifier not found
...\settings.cpp(928) : error C3861: 'unique': identifier not found
...\settings.cpp(944) : error C3861: 'mkdir': identifier not found
in the file net.cpp:
...\gamestate.h(125) : error C2039: 'sort' : is not a member of 'std'
...\gamestate.h(125) : error C3861: 'sort': identifier not found
excetera...
Is a problem of libraries or compatibility with Visual Studio? Some one know what i have to do?
thanks.
When i try to compile the source i have a lot of errors, for example:
I have installed the openAL libraries but there's the following error:
fatal error C1083: Cannot open include file: 'AL/al.h': No such file or directory
In the file "settings.cpp" the compiler give to me the follwing errors:
...\controls.h(77) : see declaration of 'CONTROL::controltype'
...\controls.h(115) : error C2440: '=' : cannot convert from '_MEDIA_TYPE' to 'ControllerEnum' Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
...\settings.cpp(926) : error C3861: 'sort': identifier not found
...\settings.cpp(928) : error C3861: 'unique': identifier not found
...\settings.cpp(944) : error C3861: 'mkdir': identifier not found
in the file net.cpp:
...\gamestate.h(125) : error C2039: 'sort' : is not a member of 'std'
...\gamestate.h(125) : error C3861: 'sort': identifier not found
excetera...
Is a problem of libraries or compatibility with Visual Studio? Some one know what i have to do?
thanks.