You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2010-04-25 22:31:35

IdoSC
Member
Registered: 2009-05-06
Posts: 85

Build Fail @ VC++ 2010 Express?

Hey guys.
I formatted my computer, and since MS released the new 2010 Visual Studio programs series, I downloaded it.
I got the latest SVN using TortoiseSVN and followed the guide like I usually do, though this time I used the file Desmume_2010.vcxproj, because Desmume_2008.vcproj would require me to import the whole project and I thought the vcxproj file is the correct way to go.
Though this time every time I try to compile the project (release, Win32), it causes errors.

Here are some errors which popped up in the log:
1>addons.obj : error LNK2001: unresolved external symbol "struct ADDONINTERFACE addonPiano" (?addonPiano@@3UADDONINTERFACE@@A)
1>inputdx.obj : error LNK2001: unresolved external symbol "void __cdecl piano_setKey(bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool)" (?piano_setKey@@YAX_N000000000000@Z)

I'm using r3598. The only change I've done was commenting out "OpenConsole();", though the same errors appear when it's commented out and when it's not.


What's the problem? Does it occur with 2008 too? I might keep trying to get VC++2008 if it does work there...
Thanks in advance.

Offline

#2 2010-04-25 23:40:30

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,949

Re: Build Fail @ VC++ 2010 Express?

the problem is hardly anyone is using 2010 yet and it isnt supported. wait for someone to fix it or add piano.cpp to the vcproj

Offline

#3 2010-04-26 14:42:15

IdoSC
Member
Registered: 2009-05-06
Posts: 85

Re: Build Fail @ VC++ 2010 Express?

zeromus wrote:

the problem is hardly anyone is using 2010 yet and it isnt supported. wait for someone to fix it or add piano.cpp to the vcproj

Alright then, I'll try looking for VC++2008 Express over Microsoft's website or some other sites...

Thanks for the answer.

Edit: meh, it was on a link inside the Visual Studio website, I can't believe I missed that.

Last edited by IdoSC (2010-04-26 14:45:43)

Offline

#4 2010-05-05 06:53:46

blah1898
Member
Registered: 2010-05-05
Posts: 1

Re: Build Fail @ VC++ 2010 Express?

Workaround:

1. Load the DeSmuME_2010 File on VC++ 2010 Express.

2. On the left pane, right click where it says DeSmuME_VS2010.

3. On the menu that will pop up, go to Add > Existing Item...

4. Browse to the following folder: "path to desmume svn/src/addons/" and find there the piano.cpp file and double click it.

5. On the top menu bar, click on "Debug" and click on "Build".

DONE

(Sorry if my instructions weren't clear, I'm mexican)

Offline

#5 2010-05-05 16:11:08

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,949

Re: Build Fail @ VC++ 2010 Express?

let's rename this thread "visual studio tutorials"

Offline

#6 2010-06-09 04:32:35

cecilyen
Member
Registered: 2010-06-09
Posts: 2

Re: Build Fail @ VC++ 2010 Express?

Here is a blog (in Traditional Chinese) http://idaiwan.pixnet.net/blog/post/30617901 who built Desmume with Intel C++ Compiler (ICC) and VS 2010. And they reported ICC is not faster than VS 2010 in x64. Below is some frame rate I copied from the blog.
Intel_x64 50
Intel_x86 50
VS2008_x64 53
VS2008_x86 48
VS2010_x64 53
VS2010_x86 Failure

However, x64 binary from VS 2010 is not as stable as it from VS 2008. So, some issues may need to fix before using VS 2010 to build Desmume

Offline

#7 2010-06-09 05:09:56

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,949

Re: Build Fail @ VC++ 2010 Express?

I intend to use vs2008 to make releases, as I am uninterested in 10,000,000 people flooding this forum asking me questions which are always answered "install latest MSVCRT"

Offline

#8 2010-06-09 20:04:34

yonizaf
Member
Registered: 2009-12-22
Posts: 179

Re: Build Fail @ VC++ 2010 Express?

really, i thought you were using vs2005 to build..

Offline

#9 2010-06-20 08:33:34

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

How do I download the 2010 build/Source code? I donnloaded the windows source code, and all i can find is the vc++2005/2008 files.... if not were can i get the older version of Vc++ as ms only lets you donwload 2010...

#10 2010-06-20 08:34:41

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

zeromus wrote:

let's rename this thread "visual studio tutorials"

OK

#11 2010-06-20 08:45:40

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,949

Re: Build Fail @ VC++ 2010 Express?

youre an assembly programmer with Flat Assembler installed on your Windows 7 waiting for you to write some optimized code which makes me ashamed of my dumbness. I'm sure you can figure it out.

Offline

#12 2010-06-20 09:44:31

Manivo
Awesome Possum
Registered: 2009-02-15
Posts: 655

Re: Build Fail @ VC++ 2010 Express?

Zing!

Offline

#13 2010-06-20 10:01:25

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

zeromus wrote:

youre an assembly programmer with Flat Assembler installed on your Windows 7 waiting for you to write some optimized code which makes me ashamed of my dumbness. I'm sure you can figure it out.

i havent got round to it yet as im bussy playing new pc games, like battle field, you probably wont know, do you even know how to write "if(y+8 == letf->botton - ei000 exa.nine) {
print afsm start. 697000
left make batch right7888
eax,mov do do } inje.li "
means?

#14 2010-06-20 10:22:54

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

holy mac a doodles!!1 it worked  it bloody worked!!! man i compiled a program!! but for some reson my DIY one runs slower than the offical build.... and resosn why that may bee?

#15 2010-06-20 10:26:20

Manivo
Awesome Possum
Registered: 2009-02-15
Posts: 655

Re: Build Fail @ VC++ 2010 Express?

Twiddle, you might want to reconsider your words towards one of the developers here. For one, it will deny you from any future help from someone who truly understands what the hell is going on inside DeSmuME.

Worse off, you'll deny yourself help from anyone here because you're coming off as an immature little prick.

Offline

#16 2010-06-20 10:29:51

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

Manivo wrote:

Twiddle, you might want to reconsider your words towards one of the developers here. For one, it will deny you from any future help from someone who truly understands what the hell is going on inside DeSmuME.

Worse off, you'll deny yourself help from anyone here because you're coming off as an immature little prick.

but i like dsumume, but why does my offical build run slower, than the one you realsed on the desmume web site?

#17 2010-06-20 10:31:21

Manivo
Awesome Possum
Registered: 2009-02-15
Posts: 655

Re: Build Fail @ VC++ 2010 Express?

Who knows. I'm not a developer. The only developer here that gave you the time of day, well, you decided to belittle a couple of posts back.
So you'll probably never get an answer.

Offline

#18 2010-06-20 10:34:50

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

Hey i hqave got an i dear for desumume, but i dont know how to code it, how would i put an option in under the "emulation" menu, with a cheak box that says "Click to disable the mouse coursor on the touch screen" this is becuase im getting a touch pad computer and i hate it when im using the ds emulator with my touch screen and the mouse pointer arrow shows up were ever i put my pen, its realy anoying and dont mic the ds, so i need tput in option, why dont you give me the instructions and code, to do so, and i make build and send it to the master of desumume ok?
thanks love ya wink oh btw ill be back im going to go to the toilte brb in 5 minuits  thanks wink
That is all bye

#19 2010-06-20 10:40:04

Manivo
Awesome Possum
Registered: 2009-02-15
Posts: 655

Re: Build Fail @ VC++ 2010 Express?

Wow. Nobody will write code just for you.
There is no 'master of desumume'. You don't seem to understand what an open source project is. Regardless, the de-facto lead developer is Zeromus. Remember him? The guy you tried to poke fun at a short while back?

Also, nobody cares that you're going to the toilet. This is not a chatroom. Just come back in five minutes.

Offline

#20 2010-06-20 10:52:12

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

Manivo wrote:

Wow. Nobody will write code just for you.
There is no 'master of desumume'. You don't seem to understand what an open source project is. Regardless, the de-facto lead developer is Zeromus. Remember him? The guy you tried to poke fun at a short while back?

Also, nobody cares that you're going to the toilet. This is not a chatroom. Just come back in five minutes.

mabey not you, cuase you might not know how to, wow Zermus is a programer? cool keep up the good work i hope i can send him some code. can i ask why people say no$gba runs games faster? i don't know personaly for sure it does what does no$gba do that desumumue doesnt? does anybody know the code inside out? it look like a dizzy peice of mess to me(sorry little programers, hehe cheers) is no$gba writtne in assemly? oh and did you think my idear was a good idear tho to add option to remove the curssor for touch scrren. for touch perpose

#21 2010-06-20 10:53:42

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

Oh heres my build test uploeaded it on youtube is it running ok? here link:

http://www.youtube.com/watch?v=RKEjiKjaHX8

i think it mabey be lagging

#22 2010-06-20 10:55:25

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

Edit: Ponies and lilies and butterflies over rainbows.


Edited by Manivo: Nobody cares or wants to hear about your bowel system.

#23 2010-06-20 12:02:46

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

twiddlesticks wrote:

Edit: Ponies and lilies and butterflies over rainbows.


Edited by Manivo: Nobody cares or wants to hear about your bowel system.

i was just explaining to the young man becuase he asked me

#24 2010-06-20 12:04:22

twiddlesticks
Guest

Re: Build Fail @ VC++ 2010 Express?

how does emulators work?

#25 2010-06-20 14:09:05

Manivo
Awesome Possum
Registered: 2009-02-15
Posts: 655

Re: Build Fail @ VC++ 2010 Express?

I'm the only one you talked to here, and I REALLY didn't ask you.

Offline

Board footer

Powered by FluxBB