Click here to Skip to main content
15,922,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I researching for audio processing, I looked for MKVToolnix to support this problem.Hence, When I download MKVToolnix 4.8.0 project release. After that, I build solution on Visual studio 2008, I imported libraries to support for project such as boost,expat, libcurl, .etc. I do not running this project it and the output error the following :
....
>output_control.cpp
9>e:\mkvproject\src\common\common.h(20) : fatal error C1083: Cannot open include file: 'boost/foreach.hpp': No such file or directory
9>pr_generic.cpp
9>e:\mkvproject\src\common\common.h(20) : fatal error C1083: Cannot open include file: 'boost/foreach.hpp': No such file or directory
9>timecode_factory.cpp
9>e:\mkvproject\src\common\common.h(20) : fatal error C1083: Cannot open include file: 'boost/foreach.hpp': No such file or directory
9>Generating Code...
9>Build log was saved at "file://E:\MkvProject\Debug\merge\BuildLog.htm"
9>merge - 7 error(s), 0 warning(s)
========== Build: 0 succeeded, 10 failed, 0 up-to-date, 0 skipped ==========
...


I hope so everyone to solver its.

Thanks everyone.
Posted
Updated 24-Jun-11 0:28am
v2

It looks that:
  • The boost library[^] is required by MKVToolnix.
  • You haven't it properly installed (or not installed at all) it on your system.
 
Share this answer
 
v2
Hi.

You have to check the project settings (the include paths to be more precisely). To check this, right-click on your project and choose "settings". A new window should open then. Left click on C/C++ and you should see the entry "Additional include paths" (or something quite alike because my version is in another language). Check if the path of your boost\foreach.hpp file is included there and if it isn't, add it. You should be able to compile your project afterwards.

Regards,
Baldur
 
Share this answer
 
Comments
dung 27-Jun-11 4:24am    
Hi,
In progress to running this project. I to see the bug to following :
7>------ Build started: Project: extract, Configuration: Debug Win32 ------
7>Linking...
7>common.lib(ebml.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
7>LINK : fatal error LNK1104: cannot open file 'libboost_regex-vc90-mt-sgd-1_46_1.lib'
7>Build log was saved at "file://E:\MKVProject\Debug\extract\BuildLog.htm"
7>extract - 1 error(s), 1 warning(s)
========== Build: 6 succeeded, 1 failed, 0 up-to-date, 0 skipped ======

I don't understant it. I addes include path but not expect.
Baldur 1-Jul-11 9:20am    
Hi.
The include paths you added were for the compiler. As you can see, the code can be compiled now, but your linker doesn't find the lib it needs. Generally spoken, your code is compiled first. After this was done successfully, the linker tries to link the compiled files together. This is what doesn't work in your case.

To solve this problem, once again, right-click on your project and chosse "settings". Again, the new window should open. Left click on "Linker" and you should see the entry "additional library paths" (or something quite alike - remember, my version is in another language). Check if the path and name of your libboost_regex-vc90-mt-sgd-1_46_1.lib library is included there and if it isn't, add it. Then the linker should be able to do its work so that you can run your project.
dung 6-Jul-11 4:05am    
Hi Baldur,
I'm trying order folder in MKVToolNix project, All the projects in solution I build success but I'm try build 1 project with name Extract(output .exe) then receive error here :

1>------ Rebuild All started: Project: input, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'input', configuration 'Debug|Win32'
2>------ Rebuild All started: Project: rmff, Configuration: Debug Win32 ------
2>Deleting intermediate and output files for project 'rmff', configuration 'Debug|Win32'
2>Compiling...
1>Compiling...
1>r_aac.cpp
2>rmff.c
2>mb_file_io.c
2>Generating Code...
2>Creating library...
2>Build log was saved at "file://E:\1-Code\mkvtoolnix_v2\Debug\rmff\BuildLog.htm"
2>rmff - 0 error(s), 0 warning(s)
3>------ Rebuild All started: Project: common, Configuration: Debug Win32 ------
3>Deleting intermediate and output files for project 'common', configuration 'Debug|Win32'
3>Compiling...
3>ac3.cpp
3>base64.cpp
1>r_ac3.cpp
3>bitvalue.cpp
1>r_asf.cpp
3>chapters.cpp
1>r_avc.cpp
3>checksums.cpp
1>r_avi.cpp
3>cli_parser.cpp
1>r_cdxa.cpp
3>command_line.cpp
3>common.cpp
1>r_corepicture.cpp
3>compression.cpp
1>r_dirac.cpp
3>cue_parser.cpp
1>r_dts.cpp
3>debugging.cpp
1>r_flac.cpp
3>dirac.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
1>r_flv.cpp
3>dts.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
3>ebml.cpp
1>r_matroska.cpp
3>editing.cpp
1>r_mp3.cpp
3>element_mapping.cpp
3>element_parser.cpp
1>r_mpeg_es.cpp
3>element_writer.cpp
1>r_mpeg_ps.cpp
3>endian.cpp
3>extern_data.cpp
1>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
1>r_mpeg_ts.cpp
3>Generating Code...
1>r_ogm.cpp
3>Compiling...
3>formatting.cpp
1>r_ogm_flac.cpp
3>fs_sys_helpers.cpp
1>r_qtmp4.cpp
3>hacks.cpp
1>r_real.cpp
3>id3.cpp
1>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
3>iso639.cpp
1>Generating Code...
3>kate.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
3>kax_analyzer.cpp
1>Compiling...
1>r_srt.cpp
3>kax_file.cpp
3>locale.cpp
1>r_ssa.cpp
3>locale_string.cpp
1>r_truehd.cpp
3>math.cpp
3>memory.cpp
1>r_tta.cpp
3>mm_io.cpp
3>mm_multi_file_io.cpp
1>r_usf.cpp
3>mp3.cpp
1>r_vc1.cpp
3>mpeg1_2.cpp
1>r_vobbtn.cpp
3>mpeg4_p10.cpp
1>r_vobsub.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
3>mpeg4_p2.cpp
1>r_wav.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
3>output.cpp
1>r_wavpack.cpp
3>parser.cpp
3>Generating Code...
1>subtitles.cpp
1>flac_common.cpp
1>Generating Code...
3>Compiling...
3>parsing.cpp
1>Creating library...
1>r_ogm_flac.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
3>property_element.cpp
1>Build log was saved at "file://E:\1-Code\mkvtoolnix_v2\Debug\input\BuildLog.htm"
1>input - 0 error(s), 3 warning(s)
4>------ Rebuild All started: Project: output, Configuration: Debug Win32 ------
4>Deleting intermediate and output files for project 'output', configuration 'Debug|Win32'
4>Compiling...
4>p_ac3.cpp
3>random.cpp
3>segment_tracks.cpp
4>p_avc.cpp
3>segmentinfo.cpp
4>p_dirac.cpp
3>segmentinfo_parser.cpp
4>p_dts.cpp
3>tags.cpp
3>terminal.cpp
4>p_flac.cpp
3>theora.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805: '!=' : unsafe mix of type 'int' and type 'bool' in operation
4>p_kate.cpp
3>translation.cpp
3>truehd.cpp
4>p_mp3.cpp
3>unique_numbers.cpp
4>p_mpeg1_2.cpp
3>utf8.cpp
3>vc1.cpp
4>p_mpeg4_p10.cpp
3>e:\1-code\mkvtoolnix_v2\src\common\bit_cursor.h(87) : warning C4805:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900