Nightvision!!
2013-06-17, 01:03 PM
#21
RE: Nightvision!!
(2013-06-17, 08:45 AM)rXn Wrote: With Codeblocks on Linux would be very nice, too...

Probably but, here, the problem is on Windows.

(2013-06-17, 08:45 AM)rXn Wrote: On Windows I think you need the devellopment versions as well as the "real" versions of that libs (quite a lot, I think) to compile with Gcc, while VC++ works with the static libs. Cygwin might work as it uses many Linux-specific libs, but MinGw won't without a painful amount of modifications Sad .

If I understood well what I read, MinGw is a Windows port of GCC and theorically, if two version are needed on Windows, there are also two needed versions on Linux (and it doesn't to be the case on Linux).

What you call a painful amount of modifications seems to be simply adding and install libraries that have the missing functions. When we'll know what are these missing libraries, add them and, if neededb explain how to uses them will be easy.

(2013-06-17, 08:45 AM)rXn Wrote: I myself think there is no need to use Gcc on Windows, because VC++ is a Microsoft tool and Microsoft still knows best how to deal with Windows code and apps (I hope).

VC++ refers to an IDE and a compiler that are both Microsoft tools, and I don't know if they are gratis or not but they aren't free software. Use it to develop free software is disapproved by various developpers, especially if a free alternative exists. Try to force the use of VC++ for ACR compiling is insanely absurd.

(2013-06-17, 08:45 AM)rXn Wrote: I don't have VC++ and I have a fucking slow internet connection, so please could anyone with VC++ installed compile (for Win/32) and upload it here??

I remember, a long time ago, I downloaded and installed VC++ on my computer but I uninstalled it later.

I remember how hard was that download... and my connexion wasn't as bad as today. It's an other reason to make possible compiling with CodeBlocks and MinGW, even on Windows.

Post Reply Quote this message in a reply
2013-06-17, 04:06 PM
#22
RE: Nightvision!!
asmanel There is an error in at least one file that prevents compiling with mingw. The problem is that mingw is not fully POSIX compliant(I believe) and is missing a few functions. We would need to either implement this function ourselves or find a way around it to get it to compile with mingw on windows/linux.
For codeblocks I'll work on the project file later tonight and see if I can get it to compile correctly for linux at least(windows will need extra work as mentioned above)
Post Reply Quote this message in a reply
2013-06-17, 04:46 PM
#23
RE: Nightvision!!
VC++ is free anyways (the express editions are).

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-17, 07:27 PM (This post was last modified: 2013-06-18, 01:02 AM by ruler501.)
#24
RE: Nightvision!!
I think the bigger problem is that it is kind of bloated and is non open source.

People should be able to use their editor of choice(within reasonable limits) so it definitely should be an important issue to get this fixed.

EDIT: Codeblocks will now correctly build the project on linux. I'm also looking into the windows side, but that could take a while. I will upload it soon and edit this post with a link to a download.

EDIT2: They are commited so you can pull the changes for the makefile and the codeblocks project off of the source. I will be redoing how the codeblocks project works so it is truly cross-platform though so beware that this version is just temporary.

EDIT3: The most recent commit makes it so that the codeblocks project works on both windows and linux. There may be some new errors in the linux command, but all it should be doing is calling cd src && make install. Please report errors if it is not working. You will need MSYS in the codeblocks search path to run it on windows and have SDLmain in the Mingw/lib folder.
Post Reply Quote this message in a reply
2013-06-18, 03:21 AM
#25
RE: Nightvision!!
Thanks! Makes it a lot easier!

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-06-18, 07:00 AM
#26
RE: Nightvision!!
Next I'll probably work out a separate makefile for cross compiling, but that is better left to another day
Post Reply Quote this message in a reply


Forum Jump:


This forum uses Lukasz Tkacz MyBB addons.