stlport

Has anyone already done the work to make STLPort build with VS2008 and/or an x64 build with VS2005?

At present it seems that VS2008 still isn't supported either in the 5.1.5 release or in the STLPort CVS repository. If someone has already done this work then it would be useful to share, if possible :) Likewise it would be useful to know about the changes required for a VS2005 or 2008 x64 build. ...

LNK2001 error when compiling apps referencing STLport-5.1.4 with VC++ 2008

I apologize in advance for the long post... I used to be able to build our VC++ solutions (we're on VS 2008) when we listed the STLPort include and library directories under VS Menu > Tools > Options > VC++ Directories > Directories for Include and Library files. However, we wanted to transition to a build process that totally relies o...

Using STL port in VS2008

Hi there, I am working on porting our C++ code from eVC 4.0 to Visual Studio 2008. Our target is Windows Mobile 6.1 and we are using the Windows Mobile 6.0 SDK for our app. Our code used stl port when compiled in eVC 4 and we would like to continue to use stl port if at all possible. Does anyone know what steps are necessary to inc...

Which allocator are available in STLPORT, and how to use them

We're using STLPORT and we'd like to change stlport's default allocator: instead of vector<int>, we'd like to try vector<int, otherallocator> Which alternative allocator are available in stlport, and what are their features? How do I use them? ...

too few template-parameter-lists with stlport in Android-NDK

When trying to compile some c++ code with the Android-ndk in cygwin i keep getting the error" error: too few template-parameter-lists" many times. I am not sure if using the STLport would have an influence on this error but i have that installed as well. I doubt this had anything to do with the problem because i am pretty sure i was gett...

STLport crash (race condition, Darwin only?)

When I run STLport on Darwin I get a strange crash. (Haven't seen it anywhere else than on Mac, but exactly same thing crash on both i686 and PowerPC.) This is what it looks like in gdb: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 [Switching to process 21097] 0x000000010120f...

How to use std::allocator in my own container class

I am trying to write a container class which uses STL allocators. What I currently do is to have a private member std::allocator<T> alloc_; (this will later be templated so that the user can pick a different allocator) and then call T* ptr = alloc_.allocate(1,0); to get a pointer to a newly allocated 'T' object (and used alloc_.con...

STLport5.2.1 question in VC6.0

hi all, today i install the STLPort5.2.1 to my VC6.0 and i test it out, it's okay in the console project, but it issue following question in the MFC project: Compiling... testMFCDlg.cpp d:\sw\vc6\vc98\stlport-5.2.1\stlport\errno.h(55) : fatal error C1189: #error : errno has been defined before inclusion of errno.h header. Error exe...

Link error when using stlport in visual studio 2008and visibroker

Hello all Im using stlport 5.21 and link it with visibriker client libs When I compile it with stlport im getting this error: in this method : __cdecl CORBA::ORB_init 1>Client.cpp 1>Linking... 1>Client.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class stlp_std::basic_ostream > & __cdecl operator<<(class ...

STLport issues.

I am using STLPort version 5-1.0 on windows , visual studio 2005. i get comepile errors in http://maniadminplugin.googlecode.com/svn/trunk/stlport/include/stlport/stl/_cstdlib.h errors are as follows. they basically complain about not finding types/functions under std. Any clue as to why? Error 1 error C2039: 'div_t' : is not a me...

How to ensure that you are building against STLport.

I am using Visual C++ 2005 to build a couple of libraries and an executable. I include the STLport location in the Additional Include Path of the libraries and include the library in the input to linker for executable. The library however seems to reffer to stl symbols (such as string) without the stl port namespace. This results in a l...

std::string insert method has ambiguous overloads?

Environment: VS2005 C++ using STLPort 5.1.4. Compiling the following code snippet: std::string copied = "asdf"; char ch = 's'; copied.insert(0,1,ch); I receive an error: Error 1 error C2668: 'stlpx_std::basic_string<_CharT,_Traits,_Alloc>::insert' : ambiguous call to overloaded function It appears that the problem is the in...

STLport compatibility

I get the impression STLport has substantial potential performance gains over Dinkumware's STL - so I'm considering porting a large MSVC solution to STLport to try it out. The solution has several external dependencies, some of them 3rd party. I see vague mentions of linkage/runtime issues to be expected - must indeed such a migration...

use stlport in managed c++

Is it possible to use stlport within a Managed C++ DLL? In my project i get several 'unresolved token'-errors from the linker for stlport stuff. e.g.: 1>moc_ParentWidget.obj : error LNK2020: unresolved token (0A000819) "public: __thiscall stlp_std::allocator<unsigned short>::~allocator<unsigned short>(void)" (??1?$allocator@G@stlp_std@...

Problem with the compiling of the STLport under Snow Leopard

I am trying to build the latest version of stlprot under Snow Leopard. Steps for the compiling i have made: ./configure sudo make && make check make && make check are working fine. the problem occurs, if i call 'sudo make install', i get an error: /bin/sh: /usr/local/include/stlport: No such file or directory Can't create /usr/loca...

Visual C++ says "LNK1104: cannot open file 'stlport_statix.lib'"

When trying to link my C++ solution in Visual Studio 2008, I get the message "LNK1104: cannot open file 'stlport_statix.lib'". I have installed STLport, and the correct path is set in Tools->Options->Projects And Solutions->VC++ Directories->Library Files. STLport does however not provide a file called stlport_statix.lib, only stlport_s...