Skip to content
Freeman Zhang edited this page Mar 8, 2015 · 2 revisions

You can use your favorite C++ editor or IDE for BlendInt development.

If you prefer an IDE for C++ development, the recommended IDE on each platform:

  • Mac OS X:
    • XCode -- powerful and convenient to debug and profile the code, but no refactor support for C++.
    • Eclipse CDT -- good for coding
  • Linux:
    • Eclipse CDT

CMake provides several options to generate project files for different IDEs.

Use:

$ cmake --help

to get a list of supported generators on your platform.

Generate Eclipse CDT project

Use

$ cmake -G "Eclipse CDT4 - Unix Makefiles"

Eclipse Setup in OS X

If you are using Eclipse CDT in OS X, there's a known bug in the current CDT version:

By default, the Eclipse CDT cannot recognize the OpenGL header files and always show unresolved inclusion warning. You can still build and run the project, but it's impossible to browse the functions or definitions from those "unresolved header files.

A workaround to fix this, is to make a soft link in /usr/local/include to the OpenGL framework:

$ ln -s /System/Library/Frameworks/OpenGL.framework/Headers /usr/local/include/OpenGL

Generate XCode project on OS X

Use

$ cmake -G "Xcode"

Table of Contents

  1. Home
  2. Roadmap
  3. Known Issues
  4. Build from Source
  5. Using BlendInt
    • H/W Requirements
    • Fontconfig and Fonts
    • Compile with BlendInt
      • "Hello World" example
      • Eclipse
      • Xcode
    • Tips
      • Use BlendInt in real time app
      • Use BlendInt in non-real time app
  6. Gallery
  7. Programming Guide
    • Basic Class Diagrams
    • Layout
    • Draw
      • Draw with OpenGL APIs
      • Draw with Predefined Shaders
    • Use event framework
    • Process HID events from window system
    • Memory Management
    • MVC for ListView/TreeView
    • Off-screen Render with FBO
    • Write your custom Widget
    • Write your custom Container
    • Themes
  8. API Reference
  9. Development
  10. FAQ
Clone this wiki locally