msvc workspace problems
Moderators: jesterKing, stiv
msvc workspace problems
I have troubles loadin the blendersource with MSVC++.
When I try to open blender.dsw (from blender/projectfiles/blender/), nothing happens. Everything remains just the same, and nothing is loaded. There is even no message shown.
I'm using Microsof Visual C++ 6.0 Enterprise Edition on WinXP. Does anyone know what I'm doing wrong or what the problem is?
When I try to open blender.dsw (from blender/projectfiles/blender/), nothing happens. Everything remains just the same, and nothing is loaded. There is even no message shown.
I'm using Microsof Visual C++ 6.0 Enterprise Edition on WinXP. Does anyone know what I'm doing wrong or what the problem is?
Re: msvc workspace problems
MSVC does not like LF in *.dsw and *.dsp. you should convert them to CR-LF. then everything should work.
i'm not sure.... but i think current cvs versions still have the LF/CRLF problem...
i'm not sure.... but i think current cvs versions still have the LF/CRLF problem...
GIT d+ s:- a- C++ UL+++ P--- L+ E--- W+ N+ o-- K- w++ O-- M V--
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++
paposo's answer works for me
http://www.blender.org/modules.php?op=m ... pic&t=1123
paposo's answer works for me, you can try it.
paposo's answer works for me, you can try it.
First of all thanks for the help.
Ok, I installed the service pack. It didn't help.
Then I downloaded the latest checkout, and unzipped it. (the checkout from 10/06/03). This didn't help either.
Then I opened the blender.dsw and blender.dsp in notepad, and saved them using 'save as', gave them the same name as original, and overwrote them.
Once again it didn't help.
Does anyone have another idea?
Ok, I installed the service pack. It didn't help.
Then I downloaded the latest checkout, and unzipped it. (the checkout from 10/06/03). This didn't help either.
Then I opened the blender.dsw and blender.dsp in notepad, and saved them using 'save as', gave them the same name as original, and overwrote them.
Once again it didn't help.
Does anyone have another idea?
I think (guess) it may be to do with the way the nightly CVS archives are made. I've uploaded the blender.dsp/dsw files that I just downloaded through CVS then. They open and compile fine for me. You may like to give it a try here: http://mke3.net:9000/blender/misc/blend ... 030611.zip
Cheers
Cheers
Thanks for those files!I think (guess) it may be to do with the way the nightly CVS archives are made. I've uploaded the blender.dsp/dsw files that I just downloaded through CVS then. They open and compile fine for me. You may like to give it a try here: http://mke3.net:9000/blender/misc/blend ... 030611.zip
The blender.dsp and .dsw now work! This solved my problem.
Unfortunately all te other .dsp files don't work either.
So I guess I'll have to download them manually

Ok, Now I've ran into another problem. I downloaded a few .dsp files from CVS (just by going to the left of this page, clicking CVS, browsing throught the CVS, and downloading them)
When I doubleclick blender.dsw, MSVC gives an error message for each .dsp that should be loaded, saying that the files aren't made in MSVC etc... etc... the same error as before.
Did I download the right files?
If I did, what can I do about it?
[edit] I tried downloading blender.dsp and blender.dsw from cvs myself, and found out that these are a bit smaller than the files broken gave me, and they don't work !!!!! Weird [/edit]
When I doubleclick blender.dsw, MSVC gives an error message for each .dsp that should be loaded, saying that the files aren't made in MSVC etc... etc... the same error as before.
Did I download the right files?
If I did, what can I do about it?
[edit] I tried downloading blender.dsp and blender.dsw from cvs myself, and found out that these are a bit smaller than the files broken gave me, and they don't work !!!!! Weird [/edit]
Aha, yes. There seems to be a problem with unix-style text files and windows-style text files in the CVS. This really needs to be fixed somehow. Downloading through CVSweb seems to give unix-style files, as do the ones in the nightly packages. However if you download through CVS, by using a program like winCVS, the files are ok. I presume this is why none of the most involved developers have noticed or worried about it. Of course this isn't very useful to new developers like yourself though. Can a developer with more knowledge of what goes on in that conversion process suggest a solution to this problem?
As for some temporary solutions, you could a) get a copy of winCVS or another CVS client, and download through that, or b) see if you can convert the project files that you downloaded through cvsweb to dos/windows style text files. You my be able to do this by opening it up in wordpad then saving it again over the top as a text file.
cheers
As for some temporary solutions, you could a) get a copy of winCVS or another CVS client, and download through that, or b) see if you can convert the project files that you downloaded through cvsweb to dos/windows style text files. You my be able to do this by opening it up in wordpad then saving it again over the top as a text file.
cheers
winzip has an option called "smart CRLF/LF" conversion of tar files.
then the unix (lf) files are stored as windows files (cr/lf).
this could solve the problem.
but be careful! if you use cygwin and have installed cygwin with the unix-file-type option. you get problems with autotools
when you try to process windows-files.
florian
then the unix (lf) files are stored as windows files (cr/lf).
this could solve the problem.
but be careful! if you use cygwin and have installed cygwin with the unix-file-type option. you get problems with autotools
when you try to process windows-files.
florian
GIT d+ s:- a- C++ UL+++ P--- L+ E--- W+ N+ o-- K- w++ O-- M V--
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++