hello_world => undefined reference to 'std::basic_string'

83 views
Skip to first unread message

gfan

unread,
Dec 4, 2009, 7:16:08 PM12/4/09
to nixysa-users
Hello,

I am new to nixysa. I can not build hello_world under Window/XP.

1. F:\work\nixysatest\examples\hello_world>c:\gchrome\depot_tools
\python_bin\scons.bat
---------------------------------------------------
Creating library file: libhelloworld.a
F:\work\nixysatest\nixysa\static_glue\npapi\common.o(.text
+0xb0):common.cc: undefined reference to `std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=
(wchar_t const*)'
...
scons: *** [helloworld.dll] Error 1

-------------------------------------------------------------------------

2. g++ -v:
--------------------------------------
gcc version 3.2 (mingw special 20020817-1)
-------------------------------------------

3. F:\work\nixysatest\examples\hello_world>c:\gchrome\depot_tools
\python_bin\scons.bat -v
-----------------------------------
engine: v1.2.0.d20090919.r4369[MODIFIED], 2009/09/19 16:58:54,
----------------------------------------------

Can someone point out where I missed?

Thanks,
-Guoxin

Reed Bement

unread,
Dec 4, 2009, 9:40:28 PM12/4/09
to nixysa...@googlegroups.com
I also had trouble with helloworld example. Try building the complex sample, using the *.sln file. -Reed
> --
>
> You received this message because you are subscribed to the Google Groups "nixysa-users" group.
> To post to this group, send email to nixysa...@googlegroups.com.
> To unsubscribe from this group, send email to nixysa-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nixysa-users?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages