Building particles SDK example on MBP

I test the examples from the SDK on my MacBook pro. Every example compiles fine unless particles.

I finaly compile an test particles making some changes :

  • vbo must be declared as GLuint and not uint (in apple OpenGL GLuint are unsigned long and not unsigned int)
  • in the shaders 1 must be replaced by 1.0 and uniform vect3 by vect3

The default option for architecture is sm_10, so for a 8600M nvcc must be called wit -arch sm_11 -code sm_11.
particles_mac.tar.gz (21.8 KB)

Thanks for the report, we’ll fix this in the SDK.