I need a compiler

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
tuanhuylink
Posts: 1
Joined: 30.05.2017
With us: 7 years 6 months

I need a compiler

Post #1by tuanhuylink » 30.05.2017, 19:24

Visual Studio no longer works...such a suprise and a shock I know how dependable microshaft is its a shock...

I need something like visual studio that will allow me to write 32 bit apps and use openGL...WITHOUT having to buy something....considering if I do im charging for downloads of the program...so open source must remain open source across the charts...

Otherwise the doctor who project will be closed permanently and I will remove the downloads off of sourceforge considering theres no use without a compiler...not to mention me leading up to adding my own hacks to celestia...it seems I have to learn how to get around windows retarded way of installing programs before I learn anything else...which is impossible as what happens today will NOT happen tomorrow on windows...

I suppose if there is no other alternative I will move exclusively to linux and never use windows again...and in this case I will have to relearn everything so this doesnt excite me either...al in all I am ready to scrap the whole damn thing as its crap programming in the first place...I decided today to start from the beginning and ended up with nothing...trying to fix vc because it keeps on locking up I get the typical windows response 'whah I cant do it!'...so it seems I may have to write it all in Java without the use of OpenGL considering Java is limited and would never be as easy as opengl and never do the extentions opengl does whats left if I cannot get a decent compiler??

Avatar
Alexell M
Site Admin
Posts: 303
Joined: 07.10.2010
Age: 30
With us: 14 years 1 month
Location: Moscow, Russia
Contact:

Post #2by Alexell » 06.06.2017, 13:32

tuanhuylink, Why Visual Studio does not work for you?
I have VS 2017 works fine.
Admin of celestia.space
PC: Intel Core i7-8700 @ 3.20GHz, SSD, 16 Gb RAM, NVIDIA GeForce GTX 1080, Creative Sound Blaster ZxR. Windows 10 x64.
Phone: iPhone Xs 256 Gb. iOS 14.
Image

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #3by selden » 06.06.2017, 15:37

Cygwin might be an option, depending on exactly what you're doing. It provides many linux packages under Windows including gcc and related compilers. There are restrictions on how you can redistribute binaries, though. See https://www.cygwin.com/
Selden

Avatar
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 9 months
Location: United Kingdom

codeblocks

Post #4by Joe » 07.06.2017, 09:13

If you have been familiar with VS, it might be easier for you to switch to codeblocks
www.codeblocks.org
Joe
8O

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Post #5by John Van Vliet » 08.06.2017, 02:22

that will allow me to write 32 bit apps

why 32 bit?????
many OS's now do not even have a 32 bit option and apple is dropping 32 bit

have a look at Eclipse it is java based so should run on Windows
https://eclipse.org/ide/

an IDE is well an IDE mingw gcc can be used

Avatar
H-Nicolas
Posts: 2
Joined: 29.05.2017
With us: 7 years 6 months

Post #6by H-Nicolas » 08.06.2017, 12:19

Currently, I use the community edition of Visual Studio 2017 and I can compile the Celestia project hosted on Github. I only changed the compiler version number (from 15.0.26403.0 to 15.0.26430.6).

May be we can help you to solve your problem if you explain it ;)

If you don't like it, you can also use these IDE (in my order of preference):
- Code::Blocks (as proposed by Joe)
- Codelite
- QtCreator
- Geany
- Netbeans
- Eclipse CDT

These IDE are mainly based on the MinGW compiler, the Windows version of GCC.

You can also use a basic text editor and manualy compile with MinGW or with one of these compilers:
- MinGW-W64 (an enhanced 64bit version of WinGW. As you wish to compile in 32 bits, you should not use this version.)
- TDM-GCC
- Cygwin (as proposed by selden)

Please note that I haven't tried these solutions with the Celestia Project, so, I can't help you to choose the best solution :(

Avatar
Alexell M
Site Admin
Posts: 303
Joined: 07.10.2010
Age: 30
With us: 14 years 1 month
Location: Moscow, Russia
Contact:

Post #7by Alexell » 11.06.2017, 20:16

By the way, Microsoft Visual Studio in the future there will be no need, since we are planning a full transition to the QT version, so we only need MS VS С++ compiler and QT Creator.
Admin of celestia.space
PC: Intel Core i7-8700 @ 3.20GHz, SSD, 16 Gb RAM, NVIDIA GeForce GTX 1080, Creative Sound Blaster ZxR. Windows 10 x64.
Phone: iPhone Xs 256 Gb. iOS 14.
Image

Avatar
H-Nicolas
Posts: 2
Joined: 29.05.2017
With us: 7 years 6 months

Post #8by H-Nicolas » 14.06.2017, 09:48

It would be interesting to replace the compilation with autotools, VS Studio or Qt Creator by CMake.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #9by selden » 14.06.2017, 10:16

John Van Vliet's version of Celestia uses the current "auto" tools (plus configure and make) to build Celestia for linux. See installation on UBUNTU 16.04 LTS


A problem is that the autotool collection often has changed in ways which have not been backward compatible.
Selden


Return to “Development”