I can't seem to build anything since the build directory was changed from build/lib to src.
2010-01-21 - HEAD (Does NOT work)
2008-09-30 - 62d9b0d0b389acdc538557142bb2156ee6044dd7 (Does NOT work)
2008-08-26 - f0149dfa8c1554fe8b5256ce21c1d8c948e5a631 (DOES work)
I assume I must be doing something horribly wrong ;) I'm using Visual Studio 2008, Windows 7. Steps I do to attempt to build:
1. Open "Visual Studio 2008 Command Prompt"
2. configure.bat msvc9
3. cd ./src
4. nmake clean install
Below is the error message. I do notice the configure script still says "build/lib" even in HEAD.
SettingenvironmentforusingMicrosoftVisualStudio2008x86tools.STLportConfigurationToolforWindowsSettingcompiler:MicrosoftVisualC++2008Settingplatform:WindowsXPDoneconfiguringSTLport.Gotobuild/libfolderandtype"nmake clean install"tobuildandinstallSTLporttothe"lib"and"bin"folders.Gotobuild/test/unitfolderandtypenmakecleaninstalltobuildunittestsandinstalltheminbinfolder.Microsoft(R)ProgramMaintenanceUtilityVersion9.00.21022.08Copyright(C)MicrosoftCorporation.Allrightsreserved.cl/nologo/W4/EHsc/Zm800/GL/MD/Zi/O2/DWINVER=0x0501/DWIN32/D_WINDOWS/DNDEBUG/I../stlport/c/Foobj\vc9\shared\dll_main.o/Fdobj\vc9\shared\stlport.6.0.pdbdll_main.cppdll_main.cppS:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(62):errorC4980:'__value':useofthiskeywordrequires/clr:oldSyntaxcommandlineoptionS:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(62):errorC2059:syntaxerror:'__value'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(65):seereferencetoclasstemplateinstantiation'stlp_std::tr1::detail::__instance<_Tp>'beingcompiledS:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(62):errorC2059:syntaxerror:'='S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(62):errorC2238:unexpectedtoken(s)preceding';'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(87):errorC2059:syntaxerror:'__value'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(89):seereferencetoclasstemplateinstantiation'stlp_std::tr1::detail::__uoc_aux<T>'beingcompiledS:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(87):errorC2059:syntaxerror:'='S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(87):errorC2238:unexpectedtoken(s)preceding';'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(150):errorC2589:'__value':illegaltokenonrightsideof'::'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(151):seereferencetoclasstemplateinstantiation'stlp_std::tr1::detail::__is_union_or_class<_Tp>'beingcompiledS:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(150):errorC2059:syntaxerror:'::'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(150):errorC3630:errorwhenprocessingthetoken'__value'S:\stlport-bc395e7f8d7a9c36f51a44499b3e9fd11c50a5a5.tar\stlport\stlport\type_traits(150):fatalerrorC1190:managedtargetedcoderequiresa'/clr'optionNMAKE:fatalerrorU1077:'"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"':returncode'0x2'
Thanks, what step am I missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anybody, who want to see Windows support in the future, should contribute (platform-specific code) in the project. I will review patches, but will not code for Windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I fixed the problem by renaming __value to __stlvalue since a grep did not reveal any other usage of __value anywhere else in the sources so i believe its ok. All other errors in the type_traits.cpp will automatically go away.
There are a lot more errors. I suggest you try:
nmake clean install > buildlog.txt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you mickstl your info helped :) As you already mentioned
1. Replacing "__value" with "__stlvalue" in all locations of "type_traits" fixed the errors above.
2. Commenting out the "template class _STLP_CLASS_DECLSPEC _LimG<bool>;" line in dll_main.cpp fixed the new errors that occurred.
And then the "nmake clean install" in src built correctly :) Lets hope I can use the new lib files fine *crosses fingers*.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't seem to build anything since the build directory was changed from build/lib to src.
2010-01-21 - HEAD (Does NOT work)
2008-09-30 - 62d9b0d0b389acdc538557142bb2156ee6044dd7 (Does NOT work)
2008-08-26 - f0149dfa8c1554fe8b5256ce21c1d8c948e5a631 (DOES work)
I assume I must be doing something horribly wrong ;) I'm using Visual Studio 2008, Windows 7. Steps I do to attempt to build:
1. Open "Visual Studio 2008 Command Prompt"
2. configure.bat msvc9
3. cd ./src
4. nmake clean install
Below is the error message. I do notice the configure script still says "build/lib" even in HEAD.
Thanks, what step am I missing?
Anybody, who want to see Windows support in the future, should contribute (platform-specific code) in the project. I will review patches, but will not code for Windows.
I have similar problems. BUT the strange thing is that the following "error"
\stlport\type_traits(62) : error C4980: '__value' : use of this keyword requires /clr:oldSyntax command line option
does not arise in some builds. Chec out my build log here:https://sourceforge.net/projects/stlport/forums/forum/490892/topic/3525691
I fixed the problem by renaming __value to __stlvalue since a grep did not reveal any other usage of __value anywhere else in the sources so i believe its ok. All other errors in the type_traits.cpp will automatically go away.
There are a lot more errors. I suggest you try:
nmake clean install > buildlog.txt
Thank you mickstl your info helped :) As you already mentioned
1. Replacing "__value" with "__stlvalue" in all locations of "type_traits" fixed the errors above.
2. Commenting out the "template class _STLP_CLASS_DECLSPEC _LimG<bool>;" line in dll_main.cpp fixed the new errors that occurred.
And then the "nmake clean install" in src built correctly :) Lets hope I can use the new lib files fine *crosses fingers*.
I have discovered some conflicts in some code. Eg: https://sourceforge.net/projects/stlport/forums/forum/490891/topic/3526792?message=8015464
Do i just commit? Are there any guidelines for submissions?