Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
Happy to hear that! Den lör 30 sep. 2023 13:39Fedor van Eldijk skrev: > Tnx Patrick, > > It was indeed snap! It took me a while that the Netbeans binary zip also > contains a script to run NB in Linux. But after figuring it out, I had my > application built and launched right away. Tnx! > > Op z

Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Fedor van Eldijk
Tnx Patrick, It was indeed snap! It took me a while that the Netbeans binary zip also contains a script to run NB in Linux. But after figuring it out, I had my application built and launched right away. Tnx! Op za 30 sep 2023 om 12:49 schreef Fedor van Eldijk : > What exactly is an ordinary NetB

Fwd: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
Redirecting back to list. The zip contains a startable script in the bin directory next to the exe. -- Forwarded message - Från: Fedor van Eldijk Date: lör 30 sep. 2023 12:50 Subject: Re: App not using proper search path for libraries when launched by NetBeans To: Patrik

Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Neil C Smith
On Sat, 30 Sept 2023 at 08:49, Fedor van Eldijk wrote: > The app can not find a library it needs and it looks like it is appending the > search path I gave it (usr/local/lib/OGRE) to the installation path of > NetBeans (/snap/netbeans/84). Where exactly is the lib? Is it in the project or at /

Re: App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Patrik Karlström
Perhaps something with snap is behind this. Does it work when you run it from an ordinary NetBeans, not a snap one? /Patrik Den lör 30 sep. 2023 kl 09:48 skrev Fedor van Eldijk : > When I run a simple application that uses a library, Ogre3D in my case, > from NetBeans, it breaks with the followi

App not using proper search path for libraries when launched by NetBeans

2023-09-30 Thread Fedor van Eldijk
When I run a simple application that uses a library, Ogre3D in my case, from NetBeans, it breaks with the following message: Error occurred during execution: InternalErrorException: Could not load dynamic library /snap/netbeans/84/usr/local/lib/OGRE/RenderSystem_GL. System Error: /snap/netbeans/84