Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: pecenipicek on July 12, 2008, 12:21:48 am

Title: Compiling recent builds...
Post by: pecenipicek on July 12, 2008, 12:21:48 am
I went on to try and compile the latest trunk, taken from the SVN, and i ran across this little gem which prevented the first build from succeding...


In the freespace.rc there is this line


IDR_CMD_CFG             SRGRAMMAR DISCARDABLE   "..\..\code\sound\phrases.cfg"


yet, in the folder in code its called phrases.xml

is this just an accident or? i'm no programmer so... well :p


also, how do i compile the release build? i managed to compile the debug build... using visual studio 2008 professional edition (my father is a programmer and he decided to share the software with me :p )
Title: Re: Compiling recent builds...
Post by: phreak on July 12, 2008, 12:41:57 am
just comment it out?  i think it has to do with the voice recognition.
Title: Re: Compiling recent builds...
Post by: pecenipicek on July 12, 2008, 12:49:40 am
i've renamed it to phrases.xml in freespace.rc

also i've figured how to build properly... bleh, i have to get used to this huge program. seems a bit more intuitive then what i expected from microsofts software. wheeeee...
Title: Re: Compiling recent builds...
Post by: Wanderer on July 12, 2008, 12:53:21 am
You could have also just created an empty ascii file named phrases.cfg to the said directory.
Title: Re: Compiling recent builds...
Post by: Goober5000 on July 12, 2008, 02:08:07 am
Phrases.xml is compiled into phrases.cfg by the project.
Title: Re: Compiling recent builds...
Post by: Wanderer on July 12, 2008, 02:12:35 am
Yeah.. well.. it should... it doesnt always manage to do so though. On my older comp for example the generation of the phrases.cfg failed