Posts: 11
Threads: 3
Joined: Jan 2007
Reputation:
0
Hello,
I am developing some plugins for a server, but last week they installed linux in the server's datacenter. I'm not experienced with linux and unix systems. What linux compiler should I use to compile Visual C++ files without problems?
Posts: 11
Threads: 3
Joined: Jan 2007
Reputation:
0
Yeah, I know all that, I have adapted my whole code to work on linux and windows.
I am asking here because I saw some plugins like IRC that compiles in the both platforms.
Another question: Can I compile .so's on Windows using makefiles?
Posts: 68
Threads: 2
Joined: Mar 2007
Reputation:
0
I'm using G++. I write the codes with gedit and after complie it with the 'g++' command.
Ковалски
Posts: 68
Threads: 2
Joined: Mar 2007
Reputation:
0
I had no idea where to post this problem, so I post it here. I want to make a plugin under Linux, but I have problems with the SA:MP Plugin SDK. I didn't touch the files, just unpack them in a folder. I built the files (helloworld.cpp and amxplugin.cpp) and I got 9 warnings. But not that's my problem. When I try to link the files, the linker gives an error: undefined reference to `main'. I have no idea how to use the helloworld.def file (under Linux). Someone knows the answer?
The commands I used:
g++ -DLINUX -Iamx/ -c helloworld.cpp ../SDK/amxplugin.cpp
g++ -DLINUX -Iamx/ -o HelloWorld helloworld.o amxplugin.o
I almost forgot, I'm using G++ complier.
Ковалски
Posts: 68
Threads: 2
Joined: Mar 2007
Reputation:
0
Compiling a C++ project with a Python compiler? I don't think it works, but I give a try. How can I download it?
Ковалски
Posts: 68
Threads: 2
Joined: Mar 2007
Reputation:
0
I have Linux Ubuntu 8.10 84bit version.
Ковалски
Posts: 68
Threads: 2
Joined: Mar 2007
Reputation:
0
So I have to replace my system with a 32bit one... great... any advice?
Ковалски
Posts: 603
Threads: 19
Joined: Nov 2007
Reputation:
0
No. Visual C++ is Microsoft. Linux and Microsoft dont like each other..
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by iTails
Python is pretty much Visual.
|
Python is a language, not a development suite.
Posts: 15,941
Threads: 0
Joined: Jun 2008
You can't make EXEs and DLLs on Linux, it doesn't use them.