Re: [hlcoders] Linux DS Build problem

2007-01-07 Thread Benjamin Davison
--
[ Picked text/plain from multipart/alternative ]
Just throwing out an idea here, I think it would be good if there was just
some vmware or VPC image that was already setup with all the perquisites and
we could just drop the source code in a folder and it would be all ready
togo.

I would do this myself but I have no idea how to compile the SDK for linux
:)

On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote:
>
> Yeah Alfed helped me the last day, i finally installed a new linux version
> Slackware 11 with vmware on my xp and now everything work fine.
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: ; 
> Sent: Saturday, January 06, 2007 6:41 PM
> Subject: Re: [hlcoders] Linux DS Build problem
>
>
> I saw a vcpm crasher on an older version of linux that had an
> pre-requirements version of glibc in the lib path.  It's probably
> something
> like that, if not that exact issue.  See the SDK Linux wiki page.
>
> At 2007/01/05 01:42 PM, Sylvain Rochette wrote:
> >Ok done, i downloaded the latest source from public/utils and builded
> vcpm.
> >
> >I still got the same error when building my mod
> >
> >make: *** [mod] Segmentation fault
> >
> >
> >- Original Message -
> >From: "Alfred Reynolds" <[EMAIL PROTECTED]>
> >To: 
> >Sent: Friday, January 05, 2007 1:41 PM
> >Subject: RE: [hlcoders] Linux DS Build problem
> >
> >
> >>Try "rm ./vcpm && make vcpm" and then run your make again.
> >>
> >>Sylvain Rochette wrote:
> >>>I having hard time to build the linux version of our mod.
> >>>
> >>>One year ago, the linux build was building fine, but we did not use
> >>>the
> >>>linux the last year (2006).
> >>>With the big sdk update from the last summer, stuff probably changed.
> >>>But i
> >>>am not sure if its related to that (i think not)
> >>>
> >>>Here the error, i am not sure if its related to the parsing with
> >>>hl_sdk or
> >>>its because i really miss the compiler. But i did not
> >>>change anything on this computer, the last time i open it (one year
> >>>ago) was
> >>>to compile the mod and was working fine.
> >>>
> >>>make
> >>>
> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined.";
> >>>exit; fi
> >>>
> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir
> >>>/home/srochette/srcds_l/ii/src/linux_ii;fi
> >>>
> >>>cd /home/srochette/srcds_l/ii/src/linux_ii
> >>>
> >>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi
> >>>
> >>>if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi
> >>>
> >>>./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj
> >>>
> >>>make: *** [mod] Segmentation fault
> >>>
> >>>
> >>>
> >>>
> >>>___
> >>>To unsubscribe, edit your list preferences, or view the list
> >>>archives, please visit:
> >>>http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>___
> >>To unsubscribe, edit your list preferences, or view the list archives,
> >>please visit:
> >>http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >>
> >>
> >
> >
> >___
> >To unsubscribe, edit your list preferences, or view the list archives,
> >please visit:
> >http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
- Benjamin Davison
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] Linux DS Build problem

2007-01-07 Thread Sylvain Rochette
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]

The idea is good, the only problem is my image is 20GB, so its a little to 
much. But i can show
some link about tutorial how to setup it if poeples are interested.

First you need Linux Slackware 11! Download the dvd image (3 GB)

http://www.slackware.com/getslack/torrents.php
http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent

I used bittorrent, the 3 GB taked 3-4 hours to get

Installing Slackware 11 over VMWare (you need VMWare)

http://howtoforge.org/slackware11_vmware_windows_xp

Then you need to install VMWare Tools to speedup the graphic and mouse driver

http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html

but read this first 
http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html

Installing srcds_l

http://forums.srcds.com/viewtopic/1139

The only remaining thing is to install Xerces

http://xml.apache.org/xerces-c/download.cgi

Before executing the makefile you need to mount a drive over source sdk
where the real source is using samba and add env var

mount -t smbfs -o username=xxx,password=xxx 
//xp_computer_name/shared_network_drive_on_src /mnt
export LD_LIBRARY_PATH=.:/bin:./bin
ldconfig

So what i have done is i have added another section in the makefile that do the 
job for you. At the makefile end
after the check: ... add config: and add the 3 lines (mount, export, ldconfig)

Before you compile the mod, just call make config then make

You also need to configurate your linux makefile using the correct path

With this linux version (Slackware11) GCC are already fine, so you dont need to 
worry about the version to use.
And over windows XP its very fast.

Regards

- Original Message -
From: "Benjamin Davison" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, January 07, 2007 9:28 AM
Subject: Re: [hlcoders] Linux DS Build problem


> --
> [ Picked text/plain from multipart/alternative ]
> Just throwing out an idea here, I think it would be good if there was just
> some vmware or VPC image that was already setup with all the perquisites and
> we could just drop the source code in a folder and it would be all ready
> togo.
>
> I would do this myself but I have no idea how to compile the SDK for linux
> :)
>
> On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote:
>>
>> Yeah Alfed helped me the last day, i finally installed a new linux version
>> Slackware 11 with vmware on my xp and now everything work fine.
>>
>> - Original Message -
>> From: <[EMAIL PROTECTED]>
>> To: ; 
>> Sent: Saturday, January 06, 2007 6:41 PM
>> Subject: Re: [hlcoders] Linux DS Build problem
>>
>>
>> I saw a vcpm crasher on an older version of linux that had an
>> pre-requirements version of glibc in the lib path.  It's probably
>> something
>> like that, if not that exact issue.  See the SDK Linux wiki page.
>>
>> At 2007/01/05 01:42 PM, Sylvain Rochette wrote:
>> >Ok done, i downloaded the latest source from public/utils and builded
>> vcpm.
>> >
>> >I still got the same error when building my mod
>> >
>> >make: *** [mod] Segmentation fault
>> >
>> >
>> >- Original Message -
>> >From: "Alfred Reynolds" <[EMAIL PROTECTED]>
>> >To: 
>> >Sent: Friday, January 05, 2007 1:41 PM
>> >Subject: RE: [hlcoders] Linux DS Build problem
>> >
>> >
>> >>Try "rm ./vcpm && make vcpm" and then run your make again.
>> >>
>> >>Sylvain Rochette wrote:
>> >>>I having hard time to build the linux version of our mod.
>> >>>
>> >>>One year ago, the linux build was building fine, but we did not use
>> >>>the
>> >>>linux the last year (2006).
>> >>>With the big sdk update from the last summer, stuff probably changed.
>> >>>But i
>> >>>am not sure if its related to that (i think not)
>> >>>
>> >>>Here the error, i am not sure if its related to the parsing with
>> >>>hl_sdk or
>> >>>its because i really miss the compiler. But i did not
>> >>>change anything on this computer, the last time i open it (one year
>> >>>ago) was
>> >>>to compile the mod and was working fine.
>> >>>
>> >>>make
>> >>>
>> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined.";
>> >>>exit; fi
>> >>>
>> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir
>> >>>/home/srochette/srcds_l/ii/src/linux_ii;fi
>> >>>
>> >>>cd /home/srochette/srcds_l/ii/src/linux_ii
>> >>>
>> >>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi
>> >>>
>> >>>if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi
>> >>>
>> >>>./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj
>> >>>
>> >>>make: *** [mod] Segmentation fault
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>___
>> >>>To unsubscribe, edit your list preferences, or view the list
>> >>>archives, please visit:
>> >>>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>> >>
>> >>___
>> >>To unsubscribe, edit your list preferences, or view the

Re: [hlcoders] Linux DS Build problem

2007-01-07 Thread Sylvain Rochette

Here an idea of what Slackware 11 looks like

http://ii.hl2files.com/stuffs/shot.jpg

this is our dedicated server running on linux inside windows xp :)

- Original Message -
From: "Sylvain Rochette" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, January 07, 2007 11:28 AM
Subject: Re: [hlcoders] Linux DS Build problem



This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]

The idea is good, the only problem is my image is 20GB, so its a little to
much. But i can show
some link about tutorial how to setup it if poeples are interested.

First you need Linux Slackware 11! Download the dvd image (3 GB)

http://www.slackware.com/getslack/torrents.php
http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent

I used bittorrent, the 3 GB taked 3-4 hours to get

Installing Slackware 11 over VMWare (you need VMWare)

http://howtoforge.org/slackware11_vmware_windows_xp

Then you need to install VMWare Tools to speedup the graphic and mouse
driver

http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html

but read this first
http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html

Installing srcds_l

http://forums.srcds.com/viewtopic/1139

The only remaining thing is to install Xerces

http://xml.apache.org/xerces-c/download.cgi

Before executing the makefile you need to mount a drive over source sdk
where the real source is using samba and add env var

mount -t smbfs -o username=xxx,password=xxx
//xp_computer_name/shared_network_drive_on_src /mnt
export LD_LIBRARY_PATH=.:/bin:./bin
ldconfig

So what i have done is i have added another section in the makefile that
do the job for you. At the makefile end
after the check: ... add config: and add the 3 lines (mount, export,
ldconfig)

Before you compile the mod, just call make config then make

You also need to configurate your linux makefile using the correct path

With this linux version (Slackware11) GCC are already fine, so you dont
need to worry about the version to use.
And over windows XP its very fast.

Regards

- Original Message -
From: "Benjamin Davison" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, January 07, 2007 9:28 AM
Subject: Re: [hlcoders] Linux DS Build problem



--
[ Picked text/plain from multipart/alternative ]
Just throwing out an idea here, I think it would be good if there was
just
some vmware or VPC image that was already setup with all the perquisites
and
we could just drop the source code in a folder and it would be all ready
togo.

I would do this myself but I have no idea how to compile the SDK for
linux
:)

On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote:


Yeah Alfed helped me the last day, i finally installed a new linux
version
Slackware 11 with vmware on my xp and now everything work fine.

- Original Message -
From: <[EMAIL PROTECTED]>
To: ; 
Sent: Saturday, January 06, 2007 6:41 PM
Subject: Re: [hlcoders] Linux DS Build problem


I saw a vcpm crasher on an older version of linux that had an
pre-requirements version of glibc in the lib path.  It's probably
something
like that, if not that exact issue.  See the SDK Linux wiki page.

At 2007/01/05 01:42 PM, Sylvain Rochette wrote:
>Ok done, i downloaded the latest source from public/utils and builded
vcpm.
>
>I still got the same error when building my mod
>
>make: *** [mod] Segmentation fault
>
>
>- Original Message -
>From: "Alfred Reynolds" <[EMAIL PROTECTED]>
>To: 
>Sent: Friday, January 05, 2007 1:41 PM
>Subject: RE: [hlcoders] Linux DS Build problem
>
>
>>Try "rm ./vcpm && make vcpm" and then run your make again.
>>
>>Sylvain Rochette wrote:
>>>I having hard time to build the linux version of our mod.
>>>
>>>One year ago, the linux build was building fine, but we did not use
>>>the
>>>linux the last year (2006).
>>>With the big sdk update from the last summer, stuff probably changed.
>>>But i
>>>am not sure if its related to that (i think not)
>>>
>>>Here the error, i am not sure if its related to the parsing with
>>>hl_sdk or
>>>its because i really miss the compiler. But i did not
>>>change anything on this computer, the last time i open it (one year
>>>ago) was
>>>to compile the mod and was working fine.
>>>
>>>make
>>>
>>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined.";
>>>exit; fi
>>>
>>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir
>>>/home/srochette/srcds_l/ii/src/linux_ii;fi
>>>
>>>cd /home/srochette/srcds_l/ii/src/linux_ii
>>>
>>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi
>>>
>>>if [ ! -f "vstdlib_i486.so" ]; then ln -s ./bin/vstdlib_i486.so .; fi
>>>
>>>./vcpm /mnt/ii_source/dlls/hl_sdk.vcproj
>>>
>>>make: *** [mod] Segmentation fault
>>>
>>>
>>>
>>>
>>>___
>>>To unsubscribe, edit your list preferences, or view the list
>>>archives, please visit:
>>>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>>

Re: [hlcoders] Linux DS Build problem

2007-01-07 Thread LDuke
--
[ Picked text/plain from multipart/alternative ]
I downloaded one of the fedora images from
http://www.thoughtpolice.co.uk/vmware/
and used yum to install a couple other items I needed.

Was really quick and painless.



On 1/7/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote:
>
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
>
> The idea is good, the only problem is my image is 20GB, so its a little to
> much. But i can show
> some link about tutorial how to setup it if poeples are interested.
>
> First you need Linux Slackware 11! Download the dvd image (3 GB)
>
> http://www.slackware.com/getslack/torrents.php
> http://www.slackware.com/torrents/slackware-11.0-install-dvd.torrent
>
> I used bittorrent, the 3 GB taked 3-4 hours to get
>
> Installing Slackware 11 over VMWare (you need VMWare)
>
> http://howtoforge.org/slackware11_vmware_windows_xp
>
> Then you need to install VMWare Tools to speedup the graphic and mouse
> driver
>
> http://www.vmware.com/support/ws4/doc/new_guest_tools_ws.html
>
> but read this first
> http://www.linuxforums.org/forum/slackware-linux-help/21451-vmware-install-rc0-d-rc6-d-problem.html
>
> Installing srcds_l
>
> http://forums.srcds.com/viewtopic/1139
>
> The only remaining thing is to install Xerces
>
> http://xml.apache.org/xerces-c/download.cgi
>
> Before executing the makefile you need to mount a drive over source sdk
> where the real source is using samba and add env var
>
> mount -t smbfs -o username=xxx,password=xxx
> //xp_computer_name/shared_network_drive_on_src /mnt
> export LD_LIBRARY_PATH=.:/bin:./bin
> ldconfig
>
> So what i have done is i have added another section in the makefile that
> do the job for you. At the makefile end
> after the check: ... add config: and add the 3 lines (mount, export,
> ldconfig)
>
> Before you compile the mod, just call make config then make
>
> You also need to configurate your linux makefile using the correct path
>
> With this linux version (Slackware11) GCC are already fine, so you dont
> need to worry about the version to use.
> And over windows XP its very fast.
>
> Regards
>
> - Original Message -
> From: "Benjamin Davison" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, January 07, 2007 9:28 AM
> Subject: Re: [hlcoders] Linux DS Build problem
>
>
> > --
> > [ Picked text/plain from multipart/alternative ]
> > Just throwing out an idea here, I think it would be good if there was
> just
> > some vmware or VPC image that was already setup with all the perquisites
> and
> > we could just drop the source code in a folder and it would be all ready
> > togo.
> >
> > I would do this myself but I have no idea how to compile the SDK for
> linux
> > :)
> >
> > On 1/6/07, Sylvain Rochette <[EMAIL PROTECTED]> wrote:
> >>
> >> Yeah Alfed helped me the last day, i finally installed a new linux
> version
> >> Slackware 11 with vmware on my xp and now everything work fine.
> >>
> >> - Original Message -
> >> From: <[EMAIL PROTECTED]>
> >> To: ;  >
> >> Sent: Saturday, January 06, 2007 6:41 PM
> >> Subject: Re: [hlcoders] Linux DS Build problem
> >>
> >>
> >> I saw a vcpm crasher on an older version of linux that had an
> >> pre-requirements version of glibc in the lib path.  It's probably
> >> something
> >> like that, if not that exact issue.  See the SDK Linux wiki page.
> >>
> >> At 2007/01/05 01:42 PM, Sylvain Rochette wrote:
> >> >Ok done, i downloaded the latest source from public/utils and builded
> >> vcpm.
> >> >
> >> >I still got the same error when building my mod
> >> >
> >> >make: *** [mod] Segmentation fault
> >> >
> >> >
> >> >- Original Message -
> >> >From: "Alfred Reynolds" <[EMAIL PROTECTED]>
> >> >To: 
> >> >Sent: Friday, January 05, 2007 1:41 PM
> >> >Subject: RE: [hlcoders] Linux DS Build problem
> >> >
> >> >
> >> >>Try "rm ./vcpm && make vcpm" and then run your make again.
> >> >>
> >> >>Sylvain Rochette wrote:
> >> >>>I having hard time to build the linux version of our mod.
> >> >>>
> >> >>>One year ago, the linux build was building fine, but we did not use
> >> >>>the
> >> >>>linux the last year (2006).
> >> >>>With the big sdk update from the last summer, stuff probably
> changed.
> >> >>>But i
> >> >>>am not sure if its related to that (i think not)
> >> >>>
> >> >>>Here the error, i am not sure if its related to the parsing with
> >> >>>hl_sdk or
> >> >>>its because i really miss the compiler. But i did not
> >> >>>change anything on this computer, the last time i open it (one year
> >> >>>ago) was
> >> >>>to compile the mod and was working fine.
> >> >>>
> >> >>>make
> >> >>>
> >> >>>if [ -z "/usr/bin/gcc-3.4" ]; then echo "Compiler not defined.";
> >> >>>exit; fi
> >> >>>
> >> >>>if [ ! -d /home/srochette/srcds_l/ii/src/linux_ii];then mkdir
> >> >>>/home/srochette/srcds_l/ii/src/linux_ii;fi
> >> >>>
> >> >>>cd /home/srochette/srcds_l/ii/src/linux_ii
> >> >>>
> >> >>>if [ ! -f "tier0_i486.so" ]; then ln -s ./bin/tier0_i486.so .; fi
> >>

[hlcoders] Custom Controls & Property Pages

2007-01-07 Thread Ben Everett
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I'm having issues with having custom controls be displayed on a property
page. For some reason, they aren't rendered (although they are created and I
can find the child instance by FindChildByName). I have checked the
IsEnabled and IsVisible flags as well as calling MoveToFront in ShowPanel.
Is there something I'm forgetting? I am creating the custom controls by
CreateControlByName.

--


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders