VC++ 2010

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Scrye
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 11
Joined: Tue May 11, 2010 6:40 am
Current Project: Euphoric Fantasy
Favorite Gaming Platforms: PS3, XBOX360, Sega Dreamcast, Sega Genesis
Programming Language of Choice: C++
Location: Santa's House
Contact:

VC++ 2010

Post by Scrye »

I need some information or some advice -


I've setup and installed Visual C++ 2010, because it's nice as hell, I've set up my directories via Project Properties (they've moved it), and I've set up my Linker to what it's supposed to be.
I've done this in Visual C++ 2008, and it works. And I'm trying to do this with Lua scripting, so that being said (setting everything up), I made my script, and I've compiled it with the Lua scripting compiler, it worked fine in the dialog box. Although when I try this with my VC++ 2010 (again, everything is correct), it shows whatever I've programmed it to do in C++, but not what I've made it do in Lua :evil:

Any ideas? Am I doing something wrong?
And my CPP file is correct, and the script is in the same directory, so don't ask LOLZ
User avatar
mv2112
Chaos Rift Junior
Chaos Rift Junior
Posts: 240
Joined: Sat Feb 20, 2010 4:15 am
Current Project: Java Tower Defence Game
Favorite Gaming Platforms: N64/Xbox 360/PC/GameCube
Programming Language of Choice: C/++, Java
Location: /usr/home/mv2112
Contact:

Re: VC++ 2010

Post by mv2112 »

Scrye wrote:I need some information or some advice -


I've setup and installed Visual C++ 2010, because it's nice as hell, I've set up my directories via Project Properties (they've moved it), and I've set up my Linker to what it's supposed to be.
I've done this in Visual C++ 2008, and it works. And I'm trying to do this with Lua scripting, so that being said (setting everything up), I made my script, and I've compiled it with the Lua scripting compiler, it worked fine in the dialog box. Although when I try this with my VC++ 2010 (again, everything is correct), it shows whatever I've programmed it to do in C++, but not what I've made it do in Lua :evil:

Any ideas? Am I doing something wrong?
And my CPP file is correct, and the script is in the same directory, so don't ask LOLZ
I HATE VS2010 :mrgreen:
VS2008 FTW

I would suggest not using VS 2010
User avatar
Scrye
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 11
Joined: Tue May 11, 2010 6:40 am
Current Project: Euphoric Fantasy
Favorite Gaming Platforms: PS3, XBOX360, Sega Dreamcast, Sega Genesis
Programming Language of Choice: C++
Location: Santa's House
Contact:

Re: VC++ 2010

Post by Scrye »

mv2112 wrote:
Scrye wrote:I need some information or some advice -


I've setup and installed Visual C++ 2010, because it's nice as hell, I've set up my directories via Project Properties (they've moved it), and I've set up my Linker to what it's supposed to be.
I've done this in Visual C++ 2008, and it works. And I'm trying to do this with Lua scripting, so that being said (setting everything up), I made my script, and I've compiled it with the Lua scripting compiler, it worked fine in the dialog box. Although when I try this with my VC++ 2010 (again, everything is correct), it shows whatever I've programmed it to do in C++, but not what I've made it do in Lua :evil:

Any ideas? Am I doing something wrong?
And my CPP file is correct, and the script is in the same directory, so don't ask LOLZ
I HATE VS2010 :mrgreen:
VS2008 FTW

I would suggest not using VS 2010
I didn't ask for a suggestion, I asked for an answer to my question.
Thus meaning your helping 0%

Edit:
Sorry if I sound like a dick, your post just didn't help me ;)
User avatar
Scrye
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 11
Joined: Tue May 11, 2010 6:40 am
Current Project: Euphoric Fantasy
Favorite Gaming Platforms: PS3, XBOX360, Sega Dreamcast, Sega Genesis
Programming Language of Choice: C++
Location: Santa's House
Contact:

Re: VC++ 2010

Post by Scrye »

*Request Lock*


Never mind, I found out what went wrong..and it was so easy to fix, I should of checked twice before posting :(
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: VC++ 2010

Post by eatcomics »

Yeah that wasn't dickish, and I personally really like vc++ 2010 :D
Image
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: VC++ 2010

Post by MrDeathNote »

eatcomics wrote:Yeah that wasn't dickish, and I personally really like vc++ 2010 :D
Me too, I don't see why everyones been hating on it I havent had one problem with it yet.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: VC++ 2010

Post by Live-Dimension »

Is there a way for VS 2010 and VS 2008 to co-exist? So when I open a VS 2008 project it opens in VS 2008 instead of VS 2010?
Image
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: VC++ 2010

Post by MrDeathNote »

Live-Dimension wrote:Is there a way for VS 2010 and VS 2008 to co-exist? So when I open a VS 2008 project it opens in VS 2008 instead of VS 2010?
Yea, if you created a project in VS2008 it should still open in VS2008, to run a VS2008 project in VS2010 it has to be converted. I still use both, any project that i make in VS2008 gets opened in it.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
lotios611
Chaos Rift Regular
Chaos Rift Regular
Posts: 160
Joined: Sun Jun 14, 2009 12:05 pm
Current Project: Game engine for the PC, PSP, and maybe more.
Favorite Gaming Platforms: Gameboy Micro
Programming Language of Choice: C++

Re: VC++ 2010

Post by lotios611 »

MrDeathNote wrote:
eatcomics wrote:Yeah that wasn't dickish, and I personally really like vc++ 2010 :D
Me too, I don't see why everyones been hating on it I havent had one problem with it yet.
Have you guys tried it with SFML? I had so many problems setting it up (at least when VC++2010 was in beta) until finally I moved back to 2008.
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: VC++ 2010

Post by Live-Dimension »

MrDeathNote wrote:
Live-Dimension wrote:Is there a way for VS 2010 and VS 2008 to co-exist? So when I open a VS 2008 project it opens in VS 2008 instead of VS 2010?
Yea, if you created a project in VS2008 it should still open in VS2008, to run a VS2008 project in VS2010 it has to be converted. I still use both, any project that i make in VS2008 gets opened in it.
That's awesome. I thought it would, but I wanted to make sure so if I get it I can use it.

edit:
lotios611 wrote:Have you guys tried it with SFML? I had so many problems setting it up (at least when VC++2010 was in beta) until finally I moved back to 2008.
http://elysianshadows.com/phpBB3/viewto ... f=6&t=4916
Image
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: VC++ 2010

Post by eatcomics »

PWN.. but seriously big thanks for that live dimension :D

I'm sure lots of us can use that, I know I would like to try some SFML but I haven't really gotten around to it, maybe after the moosader competition I don't think I'll be doing the second one so I'll have plenty of time :D
Image
Joe118
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 1
Joined: Sun May 30, 2010 4:59 pm

Re: VC++ 2010

Post by Joe118 »

OK so what was the solution? I'm trying to compile lua514 with VC++ 2010 also, and getting nowhere. I need to make a DLL so I can link with luabridge for .NET access.

Any and all help appreciated!

--Joe
Post Reply