codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Beginners question on building Bento4 SDK  paul9038 at 14:29 on Thursday, August 16, 2007
 

If possible would anyone have time to explain how the following file contents can be used on a windows XP platform to build the BENTO4 SDK for mpeg4 programming. Only new to this and on a high learning curve so any help appreciated. Am trying to convert it to a bat file but am having no success. I also have VS2005 available but can't work out if this file can be used in that environment.
make-sdk.sh file contents:

AP4_ROOT=../../..
SOURCE_ROOT=$AP4_ROOT/Source
BUILD_TARGET_DIR=$AP4_ROOT/Build/Targets/x86-microsoft-win32-vs2005

CP="cp"
MKDIR="mkdir -p"
for config in Debug Release
do
SDK_DIR=$config/SDK
$MKDIR $SDK_DIR
$MKDIR $SDK_DIR/include
$MKDIR $SDK_DIR/bin
$MKDIR $SDK_DIR/lib
$CP $SOURCE_ROOT/Config/*.h $SDK_DIR/include
$CP $SOURCE_ROOT/Core/*.h $SDK_DIR/include
$CP $SOURCE_ROOT/Codecs/*.h $SDK_DIR/include
$CP $SOURCE_ROOT/Crypto/*.h $SDK_DIR/include
$CP $SOURCE_ROOT/MetaData/*.h $SDK_DIR/include
$CP $BUILD_TARGET_DIR/AP4/$config/AP4.lib $SDK_DIR/lib
$CP $BUILD_TARGET_DIR/*/$config/*.exe $SDK_DIR/bin
done

  Re: Beginners question on building Bento4 SDK  bok at 22:29 on Wednesday, August 29, 2007
 

To build the code base for Visual Studio 2005, just open the visual studio solution file in
Bento4/Build/Targets/x86-microsoft-win32-vs2005/Bento4.sln
This will build the library and the example applications.
If you want to just build the library and link with your own application, you can directly import
Bento4/Build/Targets/x86-microsoft-win32-vs2005/Bento4/Bento4.vcproj in your solution.

The make-sdk.sh script can be used to 'package' the lib and binaries and header files built from the solution into an 'SDK' that can then be used standalone. You don't normally need this unless you want to distribute the SDK. Compiling from the solution as explained above is most likely what you need here.

I hope this helps.









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Job @ EarlySail
•  Job @ EarlySail (perl)
•  Security - Code verify
•  IPC problem
•  Re: import contacts of msn/yahoo
•  Cookies and Threads C++
•  right justify a background in a table?
•  Help with Loop (C++/MFC)
•  Help with Loop (C++/MFC)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007