Home » Community » Forums » Nehe News » NeHe Maintainers Meet in London!
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

NeHe Maintainers Meet in London!

On Tuesday (and again yesterday) Carsten and I met for the first time in London. For a bit of background, Carsten lives in Germany, whereas I live in the UK, we met when volunteering to look after NeHe and have since worked together on a book, as well as on NeHe, but have never met in person. We discussed NeHe, and the new lessons. Carsten showed me Savas Ziplies's Android ports of the tutorials (see previous post) on his Android phone - very very cool. We are going to write some target dates in the diary for new NeHe lessons, targeting the new OpenGL 3.2 release. Stay tuned.

While we're on the subject of the book. If you have purchased Beginning OpenGL Game Programming 2nd Edition, and have noticed some issues with recent AMD drivers (specifically relating to GLSL shaders). I am waiting for some fixed project source code to be uploaded to the Course PTR website (see link above). They should be online in the next few days. This update also contains the fixed MSVC(Win)/CodeBlocks(Linux) project files which were broken in the initial print run. Sorry for the inconvenience, AMD's drivers suddenly became a bit stricter about a slightly ambiguous part of the GLSL spec (precision qualifiers).


ADVERTISEMENT

 previous story  next story 
 "NeHe Maintainers Meet in London!" Discussion
Post Reply 

Luke aka Kazade and I .. see the book in my hand? I got a signed one.. hehe



  User Rating: 1553   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

about "Beginning OpenGL Game Programming 2nd Edition" i look forward to some sort of working update. as i posted sometime ago on gamedev.net forums about the cd code not compiliing even with an update that was posted on the course tech site. which i never got a responce to. i have a nvidia 8800 gtx card.

  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

Quote:
Original post by enablerbr
about "Beginning OpenGL Game Programming 2nd Edition" i look forward to some sort of working update. as i posted sometime ago on gamedev.net forums about the cd code not compiliing even with an update that was posted on the course tech site. which i never got a responce to. i have a nvidia 8800 gtx card.


I'm really sorry I didn't see that post. You can get the new files from here: http://www.kazade.co.uk/downloads/boglgp/bug-fixes-2009-07-11.zip

  User Rating: 1578   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

thanks. i grabbed the updates but it still didn't resolve my issue of the cd projects not compiling. i probably shouldn't be hi-jacking this thread to solve my problem.

  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

The CD project files in the initial print run were broken. That's likely why you are having problems. Those updated files replace the CD totally, they should work fine standalone.

Did the new project files work on their own? (e.g. extract the zip, double click a vcproj file and compile and run).

  User Rating: 1578   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

------ Build started: Project: simple, Configuration: Release Win32 ------
Compiling...
main.cpp
..\src\main.cpp(7) : fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
Build log was saved at "file://c:\Users\Sammie\Documents\OpenGL3.0\chapter_1\simple\vc++\Release\BuildLog.htm"
simple - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



silly me. i had simply extracted the new files over the old folder. the above buildlog is me just using the extracted OpenGL3.0 folder alone and double clicking on simple.vproj. the funny thing is that if i highlight 'SDL/SDL.h' in 'main.cpp' and right click on it. then select Open Document. VS2008 has no problems finding and opening the file up.


maybe i should mention i'm running Vista Home Premium 64bit sp2 and using VS2008 Standard sp1. i'm running on adim account with UAC turned on.

[Edited by - enablerbr on August 27, 2009 10:38:26 AM]

  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

Heh, you're right. The SDL example project doesn't work (some paths and libraries were missing). I've uploaded a fixed version here: http://www.kazade.co.uk/downloads/boglgp/bug-fixes-2009-08-29.zip

  User Rating: 1578   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

sorry but still getting the same error on build. i extracted all OPENGL 3.0 contents to a fresh folder. making sure i deleted all previous verions.


------ Build started: Project: simple, Configuration: Release Win32 ------
Compiling...
main.cpp
..\src\main.cpp(9) : fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
Build log was saved at "file://c:\Users\Sammie\Documents\OpenGL3.0\chapter_1\simple\vc++\Release\BuildLog.htm"
simple - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

Hmm, that IS weird. I've just deleted everything from my PC, downloaded the zip and double clicking the vcproj file then compiling Just Worked...

Umm... could you do the following:

1. Open the vcproj file from a clean extract
2. Attempt to compile, this should ask you to create a solution file, just click save with the default filename.
3. When/if that the build fails, press ALT+F7, this should bring up the project properties dialog.
4. Go to Configuration Properties => C/C++ => General make sure that "Additional include directories" is "..\src"

Then click OK and try rebuilding.

  User Rating: 1578   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

did as you asked and got this on rebuild.



------ Rebuild All started: Project: simple, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'simple', configuration 'Release|Win32'
Compiling...
main.cpp
Linking...
LINK : fatal error LNK1104: cannot open file 'SDLmain.lib'
Build log was saved at "file://c:\Users\Sammie\Documents\OpenGL3.0\chapter_1\simple\vc++\Release\BuildLog.htm"
simple - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

That's odd. The project files should have that path stored... Anyway, what we just did was add an extra search directory for header files which is why it found SDL/SDL.h. The next thing to do is to add an extra search path for library files (e.g. SDLmain.lib) I don't have access to a Windows PC at the moment, but I think if you go back to project properties, then under Configuration Properties => Linker one of the sub sections should have additional library input directories. Try adding ..\src to that as well.

Can you confirm that the other projects (e.g. chapters 2+) are working (chapter 1 is a bit of a special case as it's the only chapter to feature SDL).

Thanks,

Luke.

  User Rating: 1578   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

adding ..\src to Configuration Properties => Linker => General => Additional Library Directorties still gives my previous buildlog error.

as for chapter 2 first_app. that compiles just fine with no errors.

many thanks for taking the time to try and resolve my problem.

  User Rating: 1000   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

I'm glad you'll be creating new tutorials based on GL 3.2 BUT just like the new book also supports GLSL 1.20 will you also provide versions of your tutorials for GLSL for GL 2.1?

  User Rating: 992   |  Rate This User   Send Private MessageView ProfileReport this Post to a Moderator | Link

All times are ET (US)

Post Reply
 previous story  next story 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: