Compiling and running Tuto01Basic

38 views
Skip to first unread message

atul kumar

unread,
Jan 6, 2013, 2:11:31 AM1/6/13
to fw4spl-...@googlegroups.com
Hi there,

Happy new year.

I am a researcher at IRCAD-Taiwan and I was trying to compile the example Tuto01Basic given in tutorial of the fw4spl webpage, in Ubuntu 12.04 on a 64 bit computer.
I followed the steps and tried to compile the example with the command:

racy Tuto01Basic ( as mentioned in the tutorial).

The compilation gives the following error:
*******************************************************************************

Softwares/fw4spl/Src/fw4spl/SrcLib/core/fwRuntime/src/operations.cpp: In function 'boost::shared_ptr<fwRuntime::profile::Profile> fwRuntime::startProfile(const boost::filesystem3::path&)':
Softwares/fw4spl/Src/fw4spl/SrcLib/core/fwRuntime/src/operations.cpp:131:50: error: 'const class boost::filesystem3::path' has no member named 'native_file_string'
Softwares/fw4spl/Src/fw4spl/SrcLib/core/fwRuntime/src/operations.cpp:133:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
g++ -o Softwares/fw4spl/Build/fwRuntime_0-3_nux_64_gcc4-6-3_D/src/IExecutable.os -c -pipe -Winvalid-pch -Wunknown-pragmas -Werror=return-type -UNDEBUG -O0 -ggdb3 -m64 -O0 -fPIC -DBOOST_ALL_DYN_LINK -DBOOST_LIB_DIAGNOSTIC -DBOOST_LINKING_PYTHON -DBOOST_DEBUG_PYTHON -D__ARCH__=\"64\" -D__linux -DDEBUG -D_DEBUG -DSPYLOG_LEVEL=3 -DFWRUNTIME_VER=\"0-3\" -DPRJ_NAME=\"fwRuntime\" -D_USE_BOOST_REGEX -DFWRUNTIME_EXPORTS -ISoftwares/fw4spl/Src/fw4spl/SrcLib/core/fwRuntime/include -ISoftwares/fw4spl/Src/fw4spl/SrcLib/core/fwCore/include -ISoftwares/fw4spl/BinPkgs/libxml2_2-7-7_nux_64_gcc4-4-3_D/include/libxml2 -ISoftwares/fw4spl/BinPkgs/zlib_1-2-5_nux_64_gcc4-4-3_D/include -ISoftwares/fw4spl/BinPkgs/icu4c_4-6_nux_64_gcc4-4-3_D/include -ISoftwares/fw4spl/BinPkgs/libiconv_1-13-1_nux_64_gcc4-4-3_D/include -ISoftwares/fw4spl/BinPkgs/boost_1-47-0_nux_64_gcc4-4-3_D/include/boost-1_47 Softwares/fw4spl/Src/fw4spl/SrcLib/core/fwRuntime/src/IExecutable.cpp
scons: *** [Softwares/fw4spl/Build/fwRuntime_0-3_nux_64_gcc4-6-3_D/src/operations.os] Error 1
scons: building terminated because of errors.
Build failed

Failed building Softwares/fw4spl/Build/fwRuntime_0-3_nux_64_gcc4-6-3_D/src/operations.os: Error 1

Exception TypeError: "'NoneType' object is not callable" in <bound method Popen.__del__ of <subprocess.Popen object at 0x1d66c50>> ignored
Exception TypeError: "'NoneType' object is not callable" in <bound method Popen.__del__ of <subprocess.Popen object at 0x1d66c10>> ignored
************************************************************************************************************


In the error message I find that 
error: 'const class boost::filesystem3::path' has no member named 'native_file_string' is found for many files.

I would really appreciated for your help so that I can compile and run the example successfully.


Looking forward for your reply.

Regards,
Atul

Johan Moreau

unread,
Jan 7, 2013, 10:21:20 PM1/7/13
to fw4spl-...@googlegroups.com
Hi Atul

I think your problem is you don't have the good binpkgs. In fact, if you want use fw4spl 0.9, you must use  sconspiracy 0.5 and sconspiracy-binpkg 0.5 (http://code.google.com/p/sconspiracy/source/checkout?repo=binpkg). I uploaded a pre-packaged binary version available on :
http://code.google.com/p/fw4spl/downloads/list
(2 .tar.bz2)

I recommand you to use only 0.9.0 version of fw4spl (latest tag is 0.9.0.3). We introduce multithread design in core in 0.9.1 and it will be unstable during few weeks...

Sincerely,
/Johan

atul kumar

unread,
Jan 15, 2013, 4:27:16 AM1/15/13
to fw4spl-...@googlegroups.com
Hi Johan,

Thank you so much for your reply.

We followed the instructions in your reply and now we are getting the following error:

+-[ERROR]: LibExtException ====================================================
|  Libext <camp> not found, required by fwCamp_0-1_nux_64_gcc4-6-3_D
|  (/home/atul/Softwares/fw4spl/Src/fw4spl/SrcLib/core/fwCamp/bin/build.options)
+------------------------------------------------------------------------------

We will need your further help for this issue. Please reply at your earliest convenience.

Thank you so much. Our team really appreciate your help.

Regards,
Atul


atul kumar

unread,
Jan 22, 2013, 2:19:25 AM1/22/13
to fw4spl-...@googlegroups.com
Thank you so much Johan.

We could successfully compile and run many tutorials now.

Thanks for your kind help.

Regards,
Atul

रविवार, 6 जनवरी 2013 3:11:31 pm UTC+8 को, atul kumar ने लिखा:
Reply all
Reply to author
Forward
0 new messages