Boost logo

Boost :

From: Allen (allen.saucier_at_[hidden])
Date: 2007-01-05 11:11:39


Hello, I know that I've asked this before but I have received no
response. So, I hope it is permissible to ask again. I really need
help with understanding what is happening as I really need boost to work
for me.

I'm a newbie to boost & am trying to use the "filesystem" library with
.Net 2005. I've gotten boost to compile & produce the following
libraries for windows vc-8_0 tool set: (@ bottom of email)

The problem I'm having is 2 fold:

1. which ones do I use ( I think I know, but...)
2. I am using
  C:\boost\lib\boost_filesystem-vc80-mt-1_33_1.lib
  C:\boost\lib\boost_filesystem-vc80-mt-1_33_1.dll
3. I've got the dll in the directory my executable runs from
4. I'm including the library w/in my project

But, every time I run my application, it bombs on the following code:

std::cerr << "file selection has changed: Fname/Folder:" << std::endl;
Glib::ustring gus_fname =
m_filechooserbuttonChooseComponentsFile->get_filename();
std::cerr << "file name:=" << gus_fname << std::endl << std::endl;

Glib::ustring gus_fname_foler =
m_filechooserbuttonChooseComponentsFile->get_current_folder();
std::cerr << "folder:=" << gus_fname_foler << std::endl << std::endl;

m_gusFobComponentsFileFullPath = gus_fname;

std::cerr << "using paths..." << std::endl;
boost::filesystem::path p(m_gusFobComponentsFileFullPath,
boost::filesystem::native); (**** BOMB ****)

The variable, m_gusFobComponentsFileFullPath, has the value:
C:\projects\cramOSG_console\trunk\CRAMComponents.fob

For the life of me, I can not figure out why boost is crashing. An
older version of boost works just fine w/ this code and I am wondering
if I'm using the correct libraries or perhaps what was compiled is not
correct.
The error give is not a simple one to debug. The application simply
crashes @ the point noted when run. Under the debugger, it simply
crashes in a "locked" file and since I'm not using the debug version of
the libs, I can't walk into the code.

Would someone please help me? Thank you so much ahead of time. I
appreciate your advice and comments.

--Allen

boost-request_at_[hidden] wrote:
> Send Boost mailing list submissions to
> boost_at_[hidden]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.boost.org/mailman/listinfo.cgi/boost
> or, via email, send a message with subject or body 'help' to
> boost-request_at_[hidden]
>
> You can reach the person managing the list at
> boost-owner_at_[hidden]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Boost digest..."
>
>
> The boost archives may be found at: http://lists.boost.org/MailArchives/boost/
>
> Today's Topics:
>
> 1. Re: Proposal to add a Boost.FSM library (Alexander Nasonov)
> 2. Re: Boost threads + MSVSC + /Za + client code (Roland Schwarz)
> 3. Re: [regex] Link problem with VC8 regex build
> (simon.sebright_at_[hidden])
> 4. 'pyconfig.h': No such file or directory (Roland Schwarz)
> 5. Re: 'pyconfig.h': No such file or directory (Roland Schwarz)
> 6. Review Request: Statistical Distributions and Mathematical
> Special Functions (John Maddock)
> 7. Error in libs/regex/build/gcc-shared.mak (current cvs)
> (Neal Becker)
> 8. Re: Error in libs/regex/build/gcc-shared.mak (current cvs)
> (Richard Hadsell)
> 9. [Boost-bugs] [ boost-Support Requests-1628807 ] serialization
> and namespaces incompatability (SourceForge.net)
> 10. Re: Review Request: Statistical Distributions and
> Mathematical Special Functions (Ronald Garcia)
> 11. Support requests report (Marshall Clow)
> 12. Patches report (Marshall Clow)
> 13. Bug Report (Marshall Clow)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 5 Jan 2007 11:24:54 +0300
> From: Alexander Nasonov <alnsn_at_[hidden]>
> Subject: Re: [boost] Proposal to add a Boost.FSM library
> To: boost_at_[hidden]
> Message-ID: <20070105082454.GA1106_at_x1000.localdomain>
> Content-Type: text/plain; charset=us-ascii
>
> Andrey Semashev wrote:
>
>> Seems that Intel has problems in parsing function pointer types inside
>> template parameter types. I've attached a changed version that might
>> fix the problem, please, try it if you have some time.
>>
>
> %time /usr/local/intel_cc_80/bin/icpc -I../../../.. -I/usr/pkg/include -c *.cpp
> 27.303u 2.431s 0:30.70 96.8% 9952+47860k 0+436io 0pf+0w
>
> It now compiles the test.
>
>
>> I think, I'll update the documentation as you requested in your post
>> in a couple of days and put the new version to the Vault. It will have
>> all fixes I have made so far. BTW, it will have a fix that denies
>> cross-casting between states, as you noticed earlier. Though, a
>> conforming compiler is needed for the protection to work.
>>
>
> Please, also add a complete example from tutorial to libs/fsm/example.
> This would help a lot to reviewers of your library.
>
>

-- 
Sincerely, Allen
Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"As for I and my house, we shall follow the Lord"  Joshua 25:14

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk