Homebrew [Q] How do I use Visual Studio?

  • Thread starter Thread starter VegaRoXas
  • Start date Start date
  • Views Views 2,657
  • Replies Replies 18

VegaRoXas

Well-Known Member
Member
Joined
Mar 29, 2015
Messages
290
Reaction score
159
Trophies
0
XP
398
Country
Gambia, The
So I want to create homebrew with Visual Studio. But how do I do this? Using notepad++ isn't that nice imo.

Please help :3
 
Of course just open a new project and get coding. Then enjoy. ;)
Maybe you don't understand my question. Or I don't understand your answer lol.
I want to fully use the capabilities VS has, for example IntelliSense etc. But I already struggle at adding ctrulib to my project. I already set up devkitARM and so on, so I wanna use the makefile in Visual Studio. With VS this would be so much nicer.
 
Maybe you don't understand my question. Or I don't understand your answer lol.
I want to fully use the capabilities VS has, for example IntelliSense etc. But I already struggle at adding ctrulib to my project. I already set up devkitARM and so on, so I wanna use the makefile in Visual Studio. With VS this would be so much nicer.
You can make the makefile, however it's just going to be code just like if you made a new text document and added the exact same code then renamed it just makefile with no extension. You can't "compile" a makefile because you don't compile one you just type it up is all. It's like a shortcut instead of typing out every command...
 
You can make the makefile, however it's just going to be code just like if you made a new text document and added the exact same code then renamed it just makefile with no extension. You can't "compile" a makefile because you don't compile one you just type it up is all. It's like a shortcut instead of typing out every command...
Well I wrongly expressed myself. Sorry xD
gyJz2ao.png

There are errors everywhere. Of course it is because VS does not find the ctrulib header files I think. I want VS to recognize them, and make me use features like Code Completion (IntelliSense).
 
Well I wrongly expressed myself. Sorry xD
gyJz2ao.png

There are errors everywhere. Of course it is because VS does not find the ctrulib header files I think. I want VS to recognize them, and make me use features like Code Completion (IntelliSense).
Well did you add the ctrlib to the VS lib in the settings?
 
As far as compiling goes, just create a 'Makefile project' when you set up your VS project, and set the build command to be 'make' - this will run the DevkitPro make command and build your makefile, assuming it's at the root of your project.

I'm in the middle of trying to get VS2015 usable too - I'll report back if I make any more progress.
 
You can take a look at the solution for prboom3ds on github. It has a visual studio build setup with the proper make and intellisense settings. Iirc it is mostly in the nmake tab in the project settings. You need to point it at the devkitpro directories and add a few defines. It also pipes the output from make through sed so that the output window works.
 
  • Like
Reactions: benjymous
Well I wrongly expressed myself. Sorry xD
gyJz2ao.png

There are errors everywhere. Of course it is because VS does not find the ctrulib header files I think. I want VS to recognize them, and make me use features like Code Completion (IntelliSense).
Visual studio handles the intellisense differently then say right-clicking a header file and selecting open-in this situation it looks at the the solution paths (which are different then the intellisense paths). Essentially you need to remove most but not all of the default paths from most places.
 

Site & Scene News

Popular threads in this forum