Pages: 1
Author Topic: Possible dumb Qs: OpenGL 1.1 and Windows, and the .ini module.  (27,284 Views)
Offline (Unknown gender) Sslaxx

Member
Joined: Nov 2013
Posts: 72
View profile
Posted on: November 27, 2013, 10:03:28 PM
Is the OpenGL 1.1 module supposed to work with Win32? Because I've tried to compile using it, and am getting errors about it missing X11 libraries (XLib to be exact). OpenGL 3.0 works fine, though.

And the .ini module - not compiling under Windows. Is it not supposed to? What would be nice, if it isn't, is if there could be support to disable selective modules (like this one, or the MCI CD commands) under OSes that don't need (or support) such extensions.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: November 27, 2013, 10:08:49 PM
Well you don't need the INI extension under Windows, as Win32 has ini functions by default, just by virtue of it being a default feature of the operating system.

QuoteWhat would be nice, if it isn't, is if there could be support to disable selective modules (like this one, or the MCI CD commands) under OSes that don't need (or support) such extensions.
There already is, but I don't limit any of them to a specific OS because a lot of users are on Linux and they use a cross compiler patch to build for Win32 and test the games in WINE, so they don't like having the stuff hidden from them, and it really don't hurt anything anyway.

But yes, that is actually odd that 1.1 works but not 3, as I am currently working on stuff for 3 and d3d, but please paste the output log of OpenGL 1.1
Offline (Unknown gender) Sslaxx

Member
Joined: Nov 2013
Posts: 72
View profile
Reply #2 Posted on: November 27, 2013, 10:28:39 PM
Quote from: Robert B Colton on November 27, 2013, 10:08:49 PM
Well you don't need the INI extension under Windows, as Win32 has ini functions by default, just by virtue of it being a default feature of the operating system.

QuoteWhat would be nice, if it isn't, is if there could be support to disable selective modules (like this one, or the MCI CD commands) under OSes that don't need (or support) such extensions.
There already is, but I don't limit any of them to a specific OS because a lot of users are on Linux and they use a cross compiler patch to build for Win32 and test the games in WINE, so they don't like having the stuff hidden from them, and it really don't hurt anything anyway.

But yes, that is actually odd that 1.1 works but not 3, as I am currently working on stuff for 3 and d3d, but please paste the output log of OpenGL 1.1
Never really got on with cross-compilers, though might try that out.

I am getting some really weird things happening though, with trying to recreate the OpenGL 1.1 failings. So I have the line "audio_play_sound (snd_IAmMusic, 0, true)" in my code. Last time I ran ENIGMA (Win32), it compiled and ran. This time (still Win32) it's failing with
Quote from: output_log.txtaudio_play_sound Syntax error in room creation code for room 0 (`rom_IAmRoom'):
2
- it had also mysteriously changed the sound libraries to use from OpenAL to DirectSound (I've had issues with events disappearing from an object, too - related?).

NB: I do not have the DirectX SDK installed. If it matters, 32-bit XP SP3.

And now the thing is compiling and running with OpenGL1.1 selected.

I have absolutely no idea what the fuck just happened, or why this is happening. I'm tempted to blame Avast for this - it played merry hell with each and every program ENIGMA calls, and every time I test or compile my project it insists on running its "Deep Screen" analysis.

I hope the log makes some kind of sense, at least?

http://pastebin.com/hMhqT1Hv
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #3 Posted on: November 27, 2013, 10:33:40 PM
Nah it's my fault, I was trying to make DirectX default on Windows but I don't have the time to maintain the systems, I have reverted it to OpenGL1.1 and OpenAL being the default systems in my latest commit yet to be pulled.

QuoteI've had issues with events disappearing from an object, too - related
Nope that would be completely the IDE, sounds like a new issue. You can report the issue to LGM's tracker below and it will be resolved when someone gets a chance.
https://github.com/IsmAvatar/LateralGM/issues?state=open

Our plugin is what the IDE uses to communicate with ENIGMA, you can use LGM on its own without ENIGMA since it is the only program which can edit GMK/GMX for Linux and Mac.


At any rate, that output log offered me nothing useful, nothing went wrong in that, look for the file output_log.txt and http://www.pastebin.com that for me.
Pages: 1