Game Development Community

Pthread.h missing error....

by William Bryan · in Torque Game Engine · 03/18/2004 (6:30 pm) · 1 replies

I downloaded TGEBuildMaster which sets up projects so that you can start with something besides the one in /example.

http://www.actionrpg.com/twiki/bin/view.cgi/Main/TorqueBuildMaster

But I run into two problems...

The first is that it looks for a vorbis.h which isnt in the command line include list. That was easy to fix, since i just copied the /I line from the torque.demo command list.

The second problem though is pthread.h

c:\torque\engine\platform\platformNetAsync.h(14): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory

Thats the error received.

Now the funny thing is, platfornNetAsync.h and .cc are in the /platform dir of the new project built with TGEBuildMaster, but not in the torque.demo /platform directory. But if you just remove them, you get a whole new slew of errors.

Anyone offer any help?
lpeg lpng lungif and zlib all compiled fine.

Thanks

#1
03/21/2004 (6:12 pm)
PlatformNetAsync should only be built on mac and linux. If you are on windows, you should exclude that file from the build.