Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

OpenGL app behaving differently in IDE and termina 8 years 1 month ago #9398

  • Paul Dunn
  • Paul Dunn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi all - Small problem :)

I've ported one of my apps to Linux/OSX using CodeTyphon, and all is well - as long as I run it from the IDE. If I run the built binary from the terminal outside the IDE, I just get a black window.

Anybody seen this before? Any ideas why it only works if I run from the IDE?

Many thanks,

D.

Please Log in or Create an account to join the conversation.

OpenGL app behaving differently in IDE and termina 8 years 1 month ago #9401

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
Sir
please give us more info
Target OS, Libraries, etc
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

OpenGL app behaving differently in IDE and termina 8 years 1 month ago #9404

  • Paul Dunn
  • Paul Dunn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi -

Turns out it's because it's using a different version of libopengl.so when run from Typhon IDE - instead of using the one in /usr/local/lib or wherever. Once I copied the Typhon library out to the system it worked fine... Don't know if it will work on anyone else's machines though - guess I'll find out.

Many thanks.

D.

Please Log in or Create an account to join the conversation.

OpenGL app behaving differently in IDE and termina 8 years 1 month ago #9406

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
Sir
some question to help me
-Host OS ?
-Target OS ?
-are virtual machines ?

-CT don't has libopengl.so where did you find this library in CT?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

OpenGL app behaving differently in IDE and termina 8 years 1 month ago #9408

  • Paul Dunn
  • Paul Dunn's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Host OS is Linux Mint 64bit 17.4, Target OS is the same.
No VMs in use.

CT most certainly does have libGL.so (not libopengl.so, sorry for the typo there) - it probably builds it itself :)

I copied it from /usr/local/codetyphon/binLibraries/x86_64-Linux/ to /usr/local/lib and now all is well and my project runs from terminal and IDE just fine.

Cheers :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1