Login / Register 0 items | $0.00 New @ KVR
stratum
KVRAF
 
1735 posts since 29 May, 2012

Postby stratum; Thu Jan 25, 2018 1:01 pm Re: Current Best Suggestions for C++ Compiler / IDE?

Codeblocks is OK in such oddball platforms. Works with almost any compiler.
With Wine you can only target Wine, though. It's not a good test case for targeting Windows. Its API emulation is far from being perfect. As for the compiler, any compiler which can compile Wine from its source code is OK. On Linux GCC is the most common one. You can link libwine (whatever its name actually is) and generate a typical Linux executable with Windows API's. Or possibly you can compile GCC from its source code, and have a cross compiler for Windows working under Linux (MinGW is a good source for the needed Windows libraries for this case). Perhaps MinGW compiler itself could work on Linux under Wine and can generate Windows executables. Either way in the end this route doesn't really make sense because in any case you'll need to test that plugin on Windows, possibly on several different versions with several different hosts (you'll find that 'slmgr -rearm' feature to be handy in this case, as buying a license for each version of Windows just for testing probably won't make much sense). That's why it's a waste of time. Plus, nothing beats the Visual Studio debugger :wink:
~stratum~
User avatar
antto
KVRAF
 
2495 posts since 4 Sep, 2006, from 127.0.0.1

Postby antto; Sat Jan 27, 2018 2:39 am Re: Current Best Suggestions for C++ Compiler / IDE?

Code::Blocks is a flexible IDE, it runs on windows/linux/etc.. and supports a bunch of compilers, and also external makefiles
on windows, you could use the M$ compiler, or MinGW gcc
on linux you can probably use a cross-compiler (mingw) directly, so you can code your plugins in the coazy environment
but i also think that using Wine as a testing substitute for windows is probably not a good idea
using a cross-compiler can minimize the time you have to spend running windows (only during testing)
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr
mystran
KVRAF
 
4833 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Sun Jan 28, 2018 6:15 am Re: Current Best Suggestions for C++ Compiler / IDE?

You could also just use one of the more flexible text editors (eg. Atom, Sublime and VSCode are popular if you're not into Vim or Emacs). Personally I use Atom on OSX and the work-flow is just about as efficient as Visual Studio on Windows (until you need a debugger, but there's nothing really that can match the VS debugger).
Image <- plugins | forum
User avatar
syntonica
KVRist
 
389 posts since 24 Sep, 2014, from Specific Northwest

Postby syntonica; Sun Jan 28, 2018 11:53 am Re: Current Best Suggestions for C++ Compiler / IDE?

I use Xcode since it's free and has an okay debugger. I'm just looking for a basic, yet possibly complete Windows solution that will run in Wine. As long as the compiler spits out a line number for an error, I won't necessarily need a debugger since the majority of code already has been debugged. There's just a few lines of Windows-specific code that I need to massage.

I was hoping someone else had gone down this road before me and could point the way and save me from hitting the potholes and taking wrong turns. Looks like that is a negatory, though... :(
gnjp
KVRist
 
166 posts since 11 Feb, 2006

Postby gnjp; Mon Jan 29, 2018 2:11 am Re: Current Best Suggestions for C++ Compiler / IDE?

I use XCode mainly. Clion is a nice Mac/Windows C++ IDE, with lots of advanced features. For quick Windows tests i use Visual Studio in Parallels, though it works fine in Virtualbox (free) is you have a quick enough mac.
metamorphosis
KVRAF
 
3711 posts since 7 Jan, 2005, from Hamilton, New Zealand

Postby metamorphosis; Mon Jan 29, 2018 2:16 am Re: Current Best Suggestions for C++ Compiler / IDE?

Miles1981 wrote:Visual Studio 2017 hands down. You won't be able to find anything better for free.



*PFFFFT*

Bullshit.

Codelite + Nuwen Mingw (which is put together by one of the main MS devs).
"hands down".
Miles1981
KVRian
 
1333 posts since 26 Apr, 2004, from UK

Postby Miles1981; Mon Jan 29, 2018 2:59 am Re: Current Best Suggestions for C++ Compiler / IDE?

metamorphosis wrote:Codelite + Nuwen Mingw (which is put together by one of the main MS devs).
"hands down".

An IDE that can't handle projects (no CMake support) and that uses the "great" GDB for debugging?
hahahaha.
quikquak
KVRist
 
348 posts since 6 Aug, 2005, from England

Postby quikquak; Mon Jan 29, 2018 5:11 am Re: Current Best Suggestions for C++ Compiler / IDE?

VS has a great text editor, I especially like the the way I can edit collumns and remove square blocks of code without the need to grab a mouse - Just hold Shift and Alt & cursor select.
User avatar
syntonica
KVRist
 
389 posts since 24 Sep, 2014, from Specific Northwest

Postby syntonica; Mon Jan 29, 2018 12:25 pm Re: Current Best Suggestions for C++ Compiler / IDE?

metamorphosis wrote:
Miles1981 wrote:Visual Studio 2017 hands down. You won't be able to find anything better for free.



*PFFFFT*

Bullshit.

Codelite + Nuwen Mingw (which is put together by one of the main MS devs).
"hands down".


Interesting! Why have I never heard of this Earth-thing called Codelite? Will have to give it a try to see if it can break the Xcode hegemony since Xcode is zero-configurable. :wink:
stratum
KVRAF
 
1735 posts since 29 May, 2012

Postby stratum; Tue Jan 30, 2018 7:19 am Re: Current Best Suggestions for C++ Compiler / IDE?

I have given it a try.
Looks like you have to spend an hour configuring it before it works:)
~stratum~
User avatar
syntonica
KVRist
 
389 posts since 24 Sep, 2014, from Specific Northwest

Postby syntonica; Tue Jan 30, 2018 11:20 am Re: Current Best Suggestions for C++ Compiler / IDE?

I opened up an Xcode project in it and it compiled right away using clang. I even tried the MacBundler, but it doesn't actually make a bundle, it just stubs out the main plist file and creates an icon. I would have to extend that plugin for it to work properly to build an app/vst automatically.

Codelite editor is pretty nice with proper code folding at the bracket level, not Xcode's utterly pointless and poorly executed method level. But this seems to be the only advantage so far.

So, it's not quite an Xcode killer, but could be with a little work. However, it's closer than anything else, except maybe the Jetbrains clone.
stratum
KVRAF
 
1735 posts since 29 May, 2012

Postby stratum; Tue Jan 30, 2018 11:34 am Re: Current Best Suggestions for C++ Compiler / IDE?

It has a few problems on windows, it couldn't use the microsoft compiler as it is (version problem probably) and with mingw it was OK but didn't detect gdb automatically. Not bad and probably not better than codeblocks (I didn't spent much time with it, though). My only problem with codeblocks (I use it on linux) is that if you edit the text file locations in the 'find in files' result set, line numbers are not updated automatically so you have to search again to find the exact line locations after editing the related text files. If codelite does this better it would be an improvement (I didn't try).

edit: 'Find in files' works better in Codelite and it updates the line numbers as text files are edited.
~stratum~
camsr
KVRAF
 
6818 posts since 16 Feb, 2005

Postby camsr; Tue Jan 30, 2018 3:36 pm Re: Current Best Suggestions for C++ Compiler / IDE?

After using notepad for a few days, I think keyword highlighting is the #1 missed feature. #2 would be file tabs. #3 is probably autocompletion.

I've been using MinGWx64 for my plugins. https://sourceforge.net/projects/mingw-w64/files/
Image
mystran
KVRAF
 
4833 posts since 11 Feb, 2006, from Helsinki, Finland

Postby mystran; Tue Jan 30, 2018 3:59 pm Re: Current Best Suggestions for C++ Compiler / IDE?

camsr wrote:After using notepad for a few days, I think keyword highlighting is the #1 missed feature. #2 would be file tabs. #3 is probably autocompletion.


I actually tend to miss rainbow parens a lot more than traditional syntax highlight. You need Viasfora (well, there's probably other choices too) to get it into Visual Studio, but once you get used to those it feels really miserable not having them.

That said, writing any non-trivial amount of code without auto-indenting (and reindenting) would be pretty terrible really. Fortunately that's something you can usually find in almost any editor (as well as tabs and clang-autocomplete).
Image <- plugins | forum
stratum
KVRAF
 
1735 posts since 29 May, 2012

Postby stratum; Tue Jan 30, 2018 11:00 pm Re: Current Best Suggestions for C++ Compiler / IDE?

It's a bit odd that there isn't a single really good C++ IDE for linux.
The last time I had tried Eclipse was unusable because of the directory structure it insisted on having, Netbeans was a memory hog, and QT-creator didn't have an option to set command line arguments for the program to be run, and none had support for multi-process debugging.
~stratum~
PreviousNext

Moderator: Moderators (Main)

Return to DSP and Plug-in Development