project-navigation
Personal tools

Author Topic: Problem building Ref_gl.dev  (Read 2500 times)

Kaithro

  • Guest
Problem building Ref_gl.dev
« on: February 14, 2007, 07:24:01 am »
I got everything to build except Ref_gl.dev.  Dev-CPP cannot find sdl.h or sdl_ttf.h.  I have both dev-packs installed, I verified them and yet they won't link.  Does anyone know Dev-CPP well enough to know what to do to fix this?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Problem building Ref_gl.dev
« Reply #1 on: February 14, 2007, 07:58:10 am »
you header files should be in [c:\]dev-cpp\include\SDL

did you read the dev-cpp article in our wiki? http://ufo.myexp.de/wiki/index.php/Dev-CPP

Kaithro

  • Guest
Problem building Ref_gl.dev
« Reply #2 on: February 14, 2007, 08:11:35 pm »
Yes, I found them in the right spot last night and double checked them today.  The header files seem to be just fine, I can open them with dev-cpp and look at them.  I used that wiki page when I was getting things set up and I can say that the wiki you have there is very detailed and helpful.  

I suspect I'm missing something that is simple in nature.  

(I attempted a workaround by taking the ref_gl.dll from release 2.0 RC6 and renaming it to ref_gl32d.dll.  The game would work fine until I tried to load the first mission map then all i would get is a black screen with the crosshair cursor. This leads me to believe that I have to fully rebuild that dll.)

*** Edit ***

lol, it was simple.  Thanks for the tip too, it turns out that when the SDL packs were installed the header files were not copied into the main include directory.  After I did that manually, the dll was built successfully.  I'm so glad that I am learning to check my assumptions hehe.