PDA

View Full Version : Loading .obj files into Opengl



jaeybee
02-19-2013, 04:01 AM
Hi,

So im building a chess set in 3dsmax, and I need to export the pieces into opengl. I have decided to export them in .obj format, and there are tons of codes online about that. I chose to use the youtube tutorial from cplusplusguy but I cannot seem to get the code to run.

It keeps complaining about sdl.h not found. Although, I have included sdl in the required lib. Any help will be required pls, or alternatively, new links for loading .obj files. Thank you!

BionicBytes
02-19-2013, 04:47 AM
if the complier is complaining about sdl.h, then it seems that you need to alter the project options to include the location of the sdl.h file so that it can be linked.

jaeybee
02-19-2013, 09:11 AM
if the complier is complaining about sdl.h, then it seems that you need to alter the project options to include the location of the sdl.h file so that it can be linked.

fixed it, thanks!