PDA

View Full Version : [ubuntu] Compile Notepad ++ under ubuntu?



Zaric
March 30th, 2011, 06:39 PM
Hello,
Is it possible to compile Notepad++ (my favorite text-editor:D)
under ubuntu?

I know i can run it in wine, but i would like to run it outside wine.

The source code can you download over here:
http://download.tuxfamily.org/notepadplus/5.8.7/npp.5.8.7.src.7z

Some one help me?

kellemes
March 30th, 2011, 07:24 PM
No, you need visual studio for that.

Luckely there are many better alternatives for Linux, or cross-platform.
http://alternativeto.net/software/notepad-plus-plus/?platform=linux

I prefer Geany.

Zaric
March 30th, 2011, 07:27 PM
But is it possible with GCC?

kellemes
March 30th, 2011, 08:08 PM
No, it is very much Window-native..
You need vs.
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Compiling_Notepad%2B%2B

doas777
March 30th, 2011, 08:20 PM
yep, i'm afraid that NPP is windows only on a far deeper level than compilation. you might be able to get it to compile via mono i suppose, but it would never run on the linux kernel.

I tend to use Geany on ubuntu. has many of the same features I value in n++

Zaric
March 30th, 2011, 09:11 PM
Hmm, thanks for your help


I will try Geany, it looks the same as gPHPedit, but it didn't like gPHPedit.

directhex
March 31st, 2011, 12:37 AM
yep, i'm afraid that NPP is windows only on a far deeper level than compilation. you might be able to get it to compile via mono i suppose, but it would never run on the linux kernel.

It's C++. Nothing to do with Mono.

doas777
March 31st, 2011, 05:24 PM
It's C++. Nothing to do with Mono.
Npp's major runtime dependency is MS VC++ (http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Compiling_Notepad%2B%2B). that means MSVCRT.dll, which mono implements.
http://www.mono-project.com/CPlusPlus

thanks for playing, but bonus points for the vorlon proverb.

Zaric
March 31st, 2011, 05:51 PM
Hi,

geany is a very good replace for Notepad++
has almost the same functions as Notepad++ (execpt ftp plugin)

directhex
March 31st, 2011, 11:10 PM
Npp's major runtime dependency is MS VC++ (http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Compiling_Notepad%2B%2B). that means MSVCRT.dll, which mono implements.
http://www.mono-project.com/CPlusPlus

thanks for playing, but bonus points for the vorlon proverb.

http://primates.ximian.com/~miguel/pictures/well_actually_trollcat.jpg (qa.debian.org/developer.php?login=directhex%40apebox.org&comaint=yes)

No, Mono doesn't implement the Microsoft Visual C++ runtime DLL. There's no point, since apps which use it (via C++/CLI) are explicitly not cross-platform other than a tiny never-used subset. Mono has no C++ compiler of any description. At best, as mentioned on the link you posted, there is some embryonic work on making GCC emit CIL. But this is, of course, no use when an app is using Win32 headers and calls in the first place, rather than .NET ones.

So... nope. Sorry.

slooksterpsv
March 31st, 2011, 11:30 PM
This may sound .... well.... but what's so good about Notepad++? I use gedit, bluefish, eclipse and that. Linux has lots of variations that work just like NPP as far as I know. - http://www.osalt.com/notepad++

I need to try Notepad++ and see what the fuss is =P.

Hope that link helps.

pogsquog
December 23rd, 2011, 11:08 AM
You can compile win32 applications in linux using winelib.

http://www.winehq.org/site/winelib