Re: [Cppcms-users] undefined reference to `cppcms::widgets::text::size(int)'
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-08-19 10:36:46
|
> $ svn update > U src/form.cpp > > > Updated to revision 1375. > $ cd build/ > $ make > $ sudo make install > > As before I added the following line to your form example: > name.size(20); > The code compiles, now, but the application crashes when I browse it: > > cppcms/examples/forms$ ./hello -c config.js > ./hello: symbol lookup error: ./hello: undefined symbol: > _ZN6cppcms7widgets4text4sizeEi > Are you sure you installed this correctly? Because it seems that hello loads an old shared object instead of new one, othewise you would get a error on linking stage. Artyom |