Page 1 of 1
Almost there-STLPort Link problems
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 1:54am
by codepunk
More Info
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 2:49am
by codepunk
BTW, the 2 classes from STLPort that I use are <string> and <map>. Could the problem be that these classes somehow use functionality contained within the iostreams library?
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 2:53am
by Kzinti
Looks like it. The only reason you would need to link with STLport is if you are using the streams.
Make sure the I/O streams are completely disabled in your stl_user_config.h file.
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 3:33am
by codepunk
I DID IT!!!!
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 8:20pm
by codepunk
Finally. Here's all I had to do. In the user config file supplied by PocketFrog you can see a #define that is commented named: _STLP_NO_CUSTOM_IO.
Simply uncommenting that macro allowed me to link fine. I get the truncated warning but that's easy enough to #pragma out.
Now I get to see if my project works on an actual device.
-Mark[/code]
![Post Post](./styles/pm3/imageset/icon_post_target.gif)
Posted:
Sep 27, 2002 @ 9:17pm
by Kzinti
That's a new problem I haven't encountered before. I will update my stl_user_config.h that ships with PF.
Thanks!