Need Help with Using Boost 1.33 w/ .Net 2005
Hello, 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 C:\boost\lib\boost_date_time-vc80-mt-gd.lib C:\boost\lib\boost_filesystem-vc80-mt-1_33_1.lib C:\boost\lib\boost_filesystem-vc80-mt.lib C:\boost\lib\boost_filesystem-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_filesystem-vc80-mt-gd.lib C:\boost\lib\boost_iostreams-vc80-mt-1_33_1.lib C:\boost\lib\boost_iostreams-vc80-mt.lib C:\boost\lib\boost_iostreams-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_iostreams-vc80-mt-gd.lib C:\boost\lib\boost_program_options-vc80-mt-1_33_1.lib C:\boost\lib\boost_program_options-vc80-mt.lib C:\boost\lib\boost_program_options-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_program_options-vc80-mt-gd.lib C:\boost\lib\boost_regex-vc80-mt-1_33_1.lib C:\boost\lib\boost_regex-vc80-mt.lib C:\boost\lib\boost_regex-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_regex-vc80-mt-gd.lib C:\boost\lib\boost_serialization-vc80-mt-1_33_1.lib C:\boost\lib\boost_serialization-vc80-mt.lib C:\boost\lib\boost_serialization-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_serialization-vc80-mt-gd.lib C:\boost\lib\boost_signals-vc80-mt-1_33_1.lib C:\boost\lib\boost_signals-vc80-mt.lib C:\boost\lib\boost_signals-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_signals-vc80-mt-gd.lib C:\boost\lib\boost_thread-vc80-mt-1_33_1.lib C:\boost\lib\boost_thread-vc80-mt.lib C:\boost\lib\boost_thread-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_thread-vc80-mt-gd.lib C:\boost\lib\boost_wserialization-vc80-mt-1_33_1.lib C:\boost\lib\boost_wserialization-vc80-mt.lib C:\boost\lib\boost_wserialization-vc80-mt-gd-1_33_1.lib C:\boost\lib\boost_wserialization-vc80-mt-gd.lib C:\boost\lib\libboost_date_time-vc80-mt-1_33_1.lib C:\boost\lib\libboost_date_time-vc80-mt.lib C:\boost\lib\libboost_date_time-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_date_time-vc80-mt-gd.lib C:\boost\lib\libboost_date_time-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_date_time-vc80-mt-s.lib C:\boost\lib\libboost_date_time-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_date_time-vc80-mt-sgd.lib C:\boost\lib\libboost_filesystem-vc80-mt-1_33_1.lib C:\boost\lib\libboost_filesystem-vc80-mt.lib C:\boost\lib\libboost_filesystem-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_filesystem-vc80-mt-gd.lib C:\boost\lib\libboost_filesystem-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_filesystem-vc80-mt-s.lib C:\boost\lib\libboost_filesystem-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_filesystem-vc80-mt-sgd.lib C:\boost\lib\libboost_iostreams-vc80-mt-1_33_1.lib C:\boost\lib\libboost_iostreams-vc80-mt.lib C:\boost\lib\libboost_iostreams-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_iostreams-vc80-mt-gd.lib C:\boost\lib\libboost_iostreams-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_iostreams-vc80-mt-s.lib C:\boost\lib\libboost_iostreams-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_iostreams-vc80-mt-sgd.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-1_33_1.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-gd.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-s.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_prg_exec_monitor-vc80-mt-sgd.lib C:\boost\lib\libboost_program_options-vc80-mt-1_33_1.lib C:\boost\lib\libboost_program_options-vc80-mt.lib C:\boost\lib\libboost_program_options-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_program_options-vc80-mt-gd.lib C:\boost\lib\libboost_program_options-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_program_options-vc80-mt-s.lib C:\boost\lib\libboost_program_options-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_program_options-vc80-mt-sgd.lib C:\boost\lib\libboost_regex-vc80-mt-1_33_1.lib C:\boost\lib\libboost_regex-vc80-mt.lib C:\boost\lib\libboost_regex-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_regex-vc80-mt-gd.lib C:\boost\lib\libboost_regex-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_regex-vc80-mt-s.lib C:\boost\lib\libboost_regex-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_regex-vc80-mt-sgd.lib C:\boost\lib\libboost_serialization-vc80-mt-1_33_1.lib C:\boost\lib\libboost_serialization-vc80-mt.lib C:\boost\lib\libboost_serialization-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_serialization-vc80-mt-gd.lib C:\boost\lib\libboost_serialization-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_serialization-vc80-mt-s.lib C:\boost\lib\libboost_serialization-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_serialization-vc80-mt-sgd.lib C:\boost\lib\libboost_signals-vc80-mt-1_33_1.lib C:\boost\lib\libboost_signals-vc80-mt.lib C:\boost\lib\libboost_signals-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_signals-vc80-mt-gd.lib C:\boost\lib\libboost_signals-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_signals-vc80-mt-s.lib C:\boost\lib\libboost_signals-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_signals-vc80-mt-sgd.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-1_33_1.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-gd.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-s.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_test_exec_monitor-vc80-mt-sgd.lib C:\boost\lib\libboost_thread-vc80-mt-1_33_1.lib C:\boost\lib\libboost_thread-vc80-mt.lib C:\boost\lib\libboost_thread-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_thread-vc80-mt-gd.lib C:\boost\lib\libboost_thread-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_thread-vc80-mt-s.lib C:\boost\lib\libboost_thread-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_thread-vc80-mt-sgd.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-1_33_1.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-gd.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-s.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_unit_test_framework-vc80-mt-sgd.lib C:\boost\lib\libboost_wave-vc80-mt-1_33_1.lib C:\boost\lib\libboost_wave-vc80-mt.lib C:\boost\lib\libboost_wave-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_wave-vc80-mt-gd.lib C:\boost\lib\libboost_wave-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_wave-vc80-mt-s.lib C:\boost\lib\libboost_wave-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_wave-vc80-mt-sgd.lib C:\boost\lib\libboost_wserialization-vc80-mt-1_33_1.lib C:\boost\lib\libboost_wserialization-vc80-mt.lib C:\boost\lib\libboost_wserialization-vc80-mt-gd-1_33_1.lib C:\boost\lib\libboost_wserialization-vc80-mt-gd.lib C:\boost\lib\libboost_wserialization-vc80-mt-s-1_33_1.lib C:\boost\lib\libboost_wserialization-vc80-mt-s.lib C:\boost\lib\libboost_wserialization-vc80-mt-sgd-1_33_1.lib C:\boost\lib\libboost_wserialization-vc80-mt-sgd.lib C:\boost\lib\boost_date_time-vc80-mt-1_33_1.dll C:\boost\lib\boost_date_time-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_filesystem-vc80-mt-1_33_1.dll C:\boost\lib\boost_filesystem-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_iostreams-vc80-mt-1_33_1.dll C:\boost\lib\boost_iostreams-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_program_options-vc80-mt-1_33_1.dll C:\boost\lib\boost_program_options-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_regex-vc80-mt-1_33_1.dll C:\boost\lib\boost_regex-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_serialization-vc80-mt-1_33_1.dll C:\boost\lib\boost_serialization-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_signals-vc80-mt-1_33_1.dll C:\boost\lib\boost_signals-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_thread-vc80-mt-1_33_1.dll C:\boost\lib\boost_thread-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_wserialization-vc80-mt-1_33_1.dll C:\boost\lib\boost_wserialization-vc80-mt-gd-1_33_1.dll C:\boost\lib\boost_date_time-vc80-mt-1_33_1.lib C:\boost\lib\boost_date_time-vc80-mt.lib C:\boost\lib\boost_date_time-vc80-mt-gd-1_33_1.lib -- 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
change boost::filesystem::path p(m_gusFobComponentsFileFullPath, boost::filesystem::native); to boost::filesystem::path p(m_gusFobComponentsFileFullPath, boost::filesystem::no_check); The name checker of boost::filesystem is wrong, because is regarded ':' as invalid charactor.
participants (2)
-
Allen
-
yxh