Which version of Visual Studio should I use?

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Sun Nov 09, 2008 3:37 am

I've just checked out the source from CVS, and can build Plugins/Runtime/SDK projects with my Visual C++ Express Edition (with MFC enabled), but failed to build IDE project. Visual Studio crash everytinme when I tried to build IDE project.

I wonder which version of Visual studio should I use to build the IDE project? Visual C++ 2005 Pro edition? or Visual C++ 2008?

Any help would be appreciated.

Thanks.
B
1
G
4
Posts: 6
Reputation: 1,037

Post » Sun Nov 09, 2008 4:40 pm

This may not be a helpful answer but I use dev-C++ and it's been a blessing to me. :P
B
13
S
3
G
5
Posts: 286
Reputation: 3,193

Post » Sun Nov 09, 2008 5:24 pm

i think 2008 is better and suggested by ash somewhere in the dev bit.
B
2
S
2
G
5
Posts: 448
Reputation: 2,546

Post » Sun Nov 09, 2008 5:25 pm

The IDE builds in VS2005. Everything else should be VS2008. I don't know what would make Visual Studio crash - better take that up on Microsoft support somewhere :-\
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Nov 10, 2008 8:30 am

Thanks for all the responses.

I found out that Visual Studio crashed when compiling "resource.rc". If I remove "resorce.rc" from IDE project, all other files could be compiled without problem.

I manually compiled "resource.rc" with Rc.exe, and tried to rebuild the IDE project, but after all files been compiled, there's a linker error say "ProfUIS283yn.lib" is missing.

Since I can only find "ProfUIS283ym.lib" and "ProfUIS283ymd.lib" in the LIBs folder, I just copy ProfUIS283ym.lib into ProfUIS283yn.lib, and now everything could be linked, "Construct.exe" could be generated finally. But... My constrcut.exe won't run :(

I went to Prof UI and downloed the builded the 2.83 freeware Library, but still can't get the ProfUIS283yn.lib". I'm stuck, and have no idea what i did wrong?
B
1
G
4
Posts: 6
Reputation: 1,037

Post » Wed Nov 12, 2008 2:10 pm

For what it's worth - and it may not be helpful - I installed Visual Studio 2005 on a freshly formatted laptop, checked out and it compiled first time; can you confirm you are trying with 2005? Also, are you using a 64 bit version of Windows; do you have the correct DirectX SDK, etc..
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Thu Nov 13, 2008 2:29 am

I'm using Visual Studio 2005 express edition at home, and my windows is not 64 bit, my DirectX SDK version is 2007 Nov. Should upgrade my DirextX SDK?

I also tried Visual Studio 2008 Pro which I used at work, but the problem is the same.

Rich, I wonder how can you compiled the IDE project the first time? As I remembered, there's one one cpp file (cant recall which file) which contains one line of code missing one double quotation mark. Maybe you checked out an earlier version?
B
1
G
4
Posts: 6
Reputation: 1,037

Post » Thu Nov 13, 2008 4:10 am

No, the first checkout compiled with 2 warnings, 0 errors, which is odd if you have a double qoutation error. Which file was it in?
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Thu Nov 13, 2008 10:15 am

It's "Animator Bar.cpp"
Line 877:
AngleName += "?;

It seems like a non-ascii character. When I using web browser to view the file in repository, that line is:
AngleName += "?";
Don't know why the last double quotation is missing after checking out.
B
1
G
4
Posts: 6
Reputation: 1,037

Post » Thu Nov 13, 2008 2:04 pm

That line for me reads:

AngleName += "";

That's a degrees character - a small circle to denote an angular measurement.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Next

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests