Jump to content


Problem loading ScopeGadget.dll


  • Please log in to reply
20 replies to this topic

#1 Brian

Brian

    Core Developer

  • Members
  • PipPipPip
  • 567 posts
  • LocationTucson, AZ
  • Country: flag of United States United States


Posted 21 September 2011 - 02:11 AM

So, my Windows laptop went belly up a couple weeks ago, and I've been working on getting things setup on it again.  The good news is that I'm now able to debug the flight software in Eclipse, which I had never gotten working before!  The bad news is that no matter what I do I can't get a GCS that I build that will run without errors.

The problem that I'm seeing is the following:

Cannot load plugin because dependency failed to load: ScopeGadget(1.0.0)
Reason: C:/swl/OpenPilot/Source/build/ground/openpilotgcs/lib/openpilotgcs/plugins/OpenPilot/ScopeGadget.dll: Cannot load library C:/swl/OpenPilot/Source/build/ground/openpilotgcs/lib/openpilotgcs/plugins/OpenPilot/ScopeGadget.dll: Invalid access to memory location.

There also appears to be a problem with the LoggingGadget with (oddly enough) the same error message.

I've tried building and re-building.  I went back through the installation of QT, SDL, etc, and still got the same result.  I even tried building in QtCreator with the same result.  I'm thinking it's a dll dependency problem, but I don't know what would be different now from my previous build.

Any ideas what the problem might be, or what i might try to diagnose the problem.  I've tried a dependency walker, but to no avail.  The laptop is Windows 7 64 bit, which is the same as it was previously.

#2 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 30 October 2011 - 09:12 PM

Try deleting your GCS config file.

#3 Brian

Brian

    Core Developer

  • Members
  • PipPipPip
  • 567 posts
  • LocationTucson, AZ
  • Country: flag of United States United States


Posted 30 October 2011 - 10:26 PM

View Postpeabody124, on 30 October 2011 - 09:12 PM, said:

Try deleting your GCS config file.
Thanks, but I already tried that.

#4 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4110 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 30 October 2011 - 10:37 PM

What version are you building?

#5 Brian

Brian

    Core Developer

  • Members
  • PipPipPip
  • 567 posts
  • LocationTucson, AZ
  • Country: flag of United States United States


Posted 30 October 2011 - 10:53 PM

View Postpeabody124, on 30 October 2011 - 10:37 PM, said:

What version are you building?
I've tried multiple version, and they all show the same problem.  Currently on on one of Corvus's branches from next (the UAVTalkBus branch).  Because it happens with multiple versions, and because it is the same not matter how I build it, it seems like it must be something "special" about my computer, but I can't think if what...

#6 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 27 January 2012 - 10:39 PM

Upgraded Qt to 4.7.4 and I'm getting this problem too.
Life is just a game, but atleast the graphics are awesome!

#7 Brian

Brian

    Core Developer

  • Members
  • PipPipPip
  • 567 posts
  • LocationTucson, AZ
  • Country: flag of United States United States


Posted 27 January 2012 - 11:03 PM

View PostPT_Dreamer, on 27 January 2012 - 10:39 PM, said:

Upgraded Qt to 4.7.4 and I'm getting this problem too.
Woohoo!  I'm not alone anymore!


#8 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 28 January 2012 - 03:26 AM

The even better news is Jose can fix *anything*

#9 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 28 January 2012 - 01:11 PM

This Is exact same thing I get with 4.8.0

#10 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 28 January 2012 - 02:40 PM

Ah, OK, I have asked Bani to look at it, I hope he finds sometime.

4.8 SDK must be close as well. Another question would be, did we try the latest qwt 6.0.1 yet? I think you tried it Sami? Maybe it is this lib and there is a fix in their trunk:
svn co https://qwt.svn.sour...ranches/qwt-6.0

#11 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 28 January 2012 - 06:53 PM

Ok, the explanation is simple, the trolls took the "enable-auto-import" flag from QMAKE_LFLAGS. I'll look at the best way to deal with this, maybe updating the Qwt lib in the process and borking the GCS for all other platforms but windows.
In the meantime the guys just need to edit their qmake.conf file if they want.
Life is just a game, but atleast the graphics are awesome!

#12 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 28 January 2012 - 07:17 PM

check sambas/qwt_6.0.1_upgrade branch that I made some time ago

#13 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 28 January 2012 - 10:12 PM

Ok I pushed a fix to "next" and Samba's branch.

@Sambas - since it is your branch maybe you can start a review so we can have an upgraded Qwt lib on our builds.
Life is just a game, but atleast the graphics are awesome!

#14 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 28 January 2012 - 10:17 PM

View PostPT_Dreamer, on 28 January 2012 - 10:12 PM, said:

Ok I pushed a fix to "next" and Samba's branch.

Nice!

Quote

@Sambas - since it is your branch maybe you can start a review so we can have an upgraded Qwt lib on our builds.

Please do this Sambas, there are some bug fixes in the 6.0.1 release.

#15 Brian

Brian

    Core Developer

  • Members
  • PipPipPip
  • 567 posts
  • LocationTucson, AZ
  • Country: flag of United States United States


Posted 28 January 2012 - 10:42 PM

View PostPT_Dreamer, on 28 January 2012 - 10:12 PM, said:

Ok I pushed a fix to "next" and Samba's branch.

Worked for me.  I have scopes again!

Thanks!

#16 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 28 January 2012 - 10:50 PM

Thanks?? I'm the potato man, I now want American fries!
Life is just a game, but atleast the graphics are awesome!

#17 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 28 January 2012 - 11:12 PM

For the fries award you need to help me with the UI and your framework :)

#18 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 28 January 2012 - 11:14 PM

Mmmm, thought fries were "fried potatoes", I guess I did it again.
Life is just a game, but atleast the graphics are awesome!

#19 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 28 January 2012 - 11:55 PM

Posted Image
Fries Award

Very different from the Potato award, much much different.

#20 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 29 January 2012 - 08:08 AM

Awesome potatoes.

Attached Files