OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Applications => Topic started by: klipp on 2010.02.27, 19:32:23

Title: QT4 Enviorment problem?
Post by: klipp on 2010.02.27, 19:32:23
I'm using QT4 in Linux with no problems but can't seem to get around a problem I have trying to use it in eCS. Here is a simple example of the problem using one of the QT4 "examples" I/E addressbook!
  I open a QT4 command prompt screen, go to N:\ecs\SYSTEM\QT4\examples\tutorials\addressbook\part1. Then do "qmake", which seems to do its thing correctly, then "make" which craps out with the following message:

g++: g++  error executing N:/usr/i386-pc-os2-emx/bin/as.exe: no such file or directory
make: *** [addressbook.obj] error1

I do have "as.exe" in my N:/usr/i386-pc-os2-emx/bin directory!  When I go to N:/usr/i386-pc-os2-emx/bin and run as.exe I get: SYS1804 The system cannot find the file BFD2E ------ (which IS in N:/usr/lib!)

Looks to me like one of two things! 1: my QT4 enviorment is screwed up, or 2: I'm screwed up!

Thanks for any ideas!    klipp
Title: Re: QT4 Enviorment problem?
Post by: Paul Smedley on 2010.02.27, 22:55:16
Quote from: klipp on 2010.02.27, 19:32:23
I do have "as.exe" in my N:/usr/i386-pc-os2-emx/bin directory!  When I go to N:/usr/i386-pc-os2-emx/bin and run as.exe I get: SYS1804 The system cannot find the file BFD2E ------ (which IS in N:/usr/lib!)

Is n:/usr/lib in your libpath? Otherwise as.exe won't find the dll...

Cheers,

Paul
Title: Re: QT4 Enviorment problem?
Post by: klipp on 2010.02.27, 23:13:07
Thanks Paul, I shoulda picked up on that, but didn't! That fixed it!

klipp