Hi ,
I'm trying to compile vBox OSE and get following error :
src\VBox\Runtime\r3\win\path-win.cpp(114) : error C2664: 'RTStrToUtf16Tag' : cannot convert parameter 2 from 'LPWSTR *' to 'PRTUTF16 *'
It seems that RTStrToUtf16Tag need PRTUTF16 * but given a LPWSTR * , how to fix this problem ? Seems there are lots of such
call . Thanks in advance .
compiling error
Re: compiling error
Could anybody help me with this ? If nobody give me some advice , I have to fix the code by hand .
Is this really needed ? Many thanks .
Is this really needed ? Many thanks .
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: compiling error
No one knows what you are doing. OSE could be compiled on serveal hosts with several compilers in several versions.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
Re: compiling error
I'm compiling OSE 4.1.8 on Windows host , the compiler is VS2008 . Thanks .stefan.becker wrote:No one knows what you are doing. OSE could be compiled on serveal hosts with several compilers in several versions.
-
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: compiling error
Seems that your compiler is more pedantic than the compiler we are using. This will be fixed when we switch to a newer compiler.
Re: compiling error
Haha , found it , just change a line in VCC70.kmk fromFrank Mehnert wrote:Seems that your compiler is more pedantic than the compiler we are using. This will be fixed when we switch to a newer compiler.
TOOL_VCC70_CXXFLAGS ?= -TP -c -nologo
to
TOOL_VCC70_CXXFLAGS ?= -TP -c -nologo -Zc:wchar_t-
Thanks!