This project is read-only.

Missing Header

Feb 3, 2010 at 10:55 PM
Edited Feb 3, 2010 at 11:06 PM

Hi there,

i'm trying to install the Goblin Framework, i created most of the dependencies but now i'm stuck.

I want to build the ALVARWrapper but the "MarkerDetector.h" is missing.

Building Log:

 
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
MarkerDetectorWrapper.cpp
.\MarkerDetectorWrapper.cpp(36) : fatal error C1083: Cannot open include file: 'MarkerDetector.h': No such file or directory

I downloaded the GoblinXNAv3.3.

I don't want to rewrite this Header file so maybe you can just upload it in some place?

 

Thanks,

RedHead

Coordinator
Feb 4, 2010 at 4:54 AM

You need to get ALVAR tracking library from VTT site (http://virtual.vtt.fi/virtual/proj2/multimedia/alvar.html) as mentioned in the installation guide, and link to the .h file in their directory.

Ohan

Feb 4, 2010 at 3:09 PM
Edited Feb 4, 2010 at 3:33 PM

Thanks for the fast reply,

I did how it is written in the installation guide, but when I want to compile the ALVARWrapper1.2sln i get the compile error (see above).

I downloaded the tracking Library, installed ALVAR 1.2.1 reconfigured all the "Include Directories" and "Library Directories" and start the build process.

In the Solution ALVARWrapper.sln is no MarkerDetector.h file.

Ii've another question.

Since I'm just figuring out how to work with all this stuff i'm wondering which of all the dependecies packages are really needed. So my question is if I extract all the .dll files from the dependencies and copy them in the binary folder of Goblin, can I just use this folder with all the .dll to install the System on another PC?

I have to work on several workstations and I want to know if it is enough to copy just the bin folder to all the other machines instead of installing all the programms on every PC?

 

Thanks, for the answer.

RedHead

Coordinator
Feb 5, 2010 at 1:51 AM

Goblin is currently configured to work with ALVAR 1.2.0 version. I haven't touched the 1.2.1 version, so there might be file changes. It'll be updated to the latest version (probably, it'll be 1.3 series by then)

You can simply copy the dlls in the bin directory and move it to another machine.

However, in your other machine, you need to have at least .NET 3.5 redistributable, XNA 3.1 redistributable, and OpenCV 1.0 installed. Make sure you restart your machine after installing these minimum requirements. If you're not going to do code development, then you don't need any of the Visual Studio stuff.

Ohan

 

 

Feb 12, 2010 at 3:08 AM
Edited Feb 12, 2010 at 3:16 AM

Hi I'm new to GoblinXNA. I think I have downloaded correct tools needed to compile GoblinXNA. all of the required libraries are successfully built but I have doubt in some of the libraries because I think as if I cheated the way I compiled it.

For newton and lidgren they were smooth. DirectShow.Net package was a bit problematic. First I couldn't get the package from the site provided in the Installation Guide, therefore I searched for it elsewhere. I managed to find it. However I didn't know whether that package was OK. Anyway I managed to get its DLL and eventually copied it into the GoblinXNA\bin folder.

 Then it was ALVAR. Building it was a pain in the "tut". Firstly I got lots of errors and warnings. Then I found out that it was the library and include path. i corrected it. then comes the problem with cxcore.lib. I couldn't find it anywhere. Finally, I changed a file in C:\OpenCV\lib folder from libcxcore200.dll.a to cxcore.lib. And then I managed to build and get the ALVARWrapper.dll straight away. The rest was good.

Then I opened C# to compile GoblinXNA I got 3 errors and 1338 warnings. Until now I can't find what is wrong. Please help

Coordinator
Feb 12, 2010 at 6:53 PM

For OpenCV, I believe you downloaded the wrong version. As it's noted in ALVAR, you should use OpenCV 1.0 instead of 2.0. Also, .a sounds like it's for linux instead of for Windows. 

You can ignore all of the warnings since those are XML documentation stuff.

I don't know what 3 errors you're getting. If you can post them, I can suggest a solution.

If it's hard to see the errors because of the warning messages, turn the warning messages off in VS 2008.

Ohan

Feb 16, 2010 at 6:09 PM

Hi Ohan,

You're correct my OpenCV is version 2.0. I will download the version 1.0 and retry. Anyway these are the errors:

  • GoblinXNA 21 288 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs 'DirectX.Capture.Capture' does not contain a definition for 'FrameEvent2' and no extension method 'FrameEvent2' accepting a first argument of type 'DirectX.Capture.Capture' could be found (are you missing a using directive or an assembly reference?) 1 Error
  • GoblinXNA 49 288 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs The type name 'HeFrame' does not exist in the type 'DirectX.Capture.Capture' 2 Error
  • GoblinXNA 21 289 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs 'DirectX.Capture.Capture' does not contain a definition for 'GrapImg' and no extension method 'GrapImg' accepting a first argument of type 'DirectX.Capture.Capture' could be found (are you missing a using directive or an assembly reference?) 3 Error

Thanks for replying because I think I am really stuck right know and I am really pulling my hair off

Coordinator
Feb 16, 2010 at 10:57 PM
Edited Feb 16, 2010 at 10:58 PM

Ok, these errors look familiar. It's again because you're not using the right version of the DLLs. Make sure you download the DirectShow libraries from the link indicated in the installation manual. If you download from another link, even if the DLL's name is the same, their API interfaces are a little different. That's why you're getting those errors.

Ohan

Feb 17, 2010 at 12:36 AM

Hi Ohan,

In order to build DirectShow dll I need VS2008. Currently I only have VCS Express and VC++ Express in my laptop. Does VS2008 has a free version. Or is there any other way around this? perhaps can you send me the DirectShow dll? :)

thanks

Coordinator
Feb 17, 2010 at 3:49 AM

Well, you definitely need VS2008 either Express or Pro version to run Goblin XNA. VS2008 Express version is free, which I believe you already have, and it's capable of building DirectShowNET dlls. Unfortunately, I can't send the dlls directly because our lab doesn't want to get into any troubles.

Ohan 

Feb 17, 2010 at 4:13 PM

I understand that. I was kidding ;)

I downloaded the OpenCV version 1.0 and went smooth.

Also, I downloaded the DirectShow.Net package. After zipping it, I didn't find the CaptureTest.sln. Instead I used the DirectX.Capture.sln. Followed the instructions and still received some warnings.

But I still able to see the DirectX.Capture.dll and DShowNet.dll inside the bin\Release folder nonetheless.

I will tell you, perhaps tomorrow if I'm able to completely build the GoblinXNA

 

thanks 

Coordinator
Feb 17, 2010 at 5:29 PM

You need to get the code from http://www.codeproject.com/cs/media/DirXVidStrm.asp?df=100&forumid=73014&exp=0&select=1780522 as noted on the installation guide.

There is a prior version to this, and if you're downloading that, then it has some missing functionalities. 

Ohan

Feb 19, 2010 at 12:40 AM

Thank God and to you too. I've finally managed to get the GoblinXNA.dll with some warnings. I presumed you have said earlier that I can disregard all the warnings since it has got to do with XML right?

Anyway, thanks a lot for helping me to sort this thing out. I will start looking into the tutorial now and wondering what will be coming in my way after this :)

Mar 14, 2010 at 5:46 PM
Arrezes wrote:

Hi Ohan,

You're correct my OpenCV is version 2.0. I will download the version 1.0 and retry. Anyway these are the errors:

  • GoblinXNA 21 288 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs 'DirectX.Capture.Capture' does not contain a definition for 'FrameEvent2' and no extension method 'FrameEvent2' accepting a first argument of type 'DirectX.Capture.Capture' could be found (are you missing a using directive or an assembly reference?) 1 Error
  • GoblinXNA 49 288 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs The type name 'HeFrame' does not exist in the type 'DirectX.Capture.Capture' 2 Error
  • GoblinXNA 21 289 D:\Project\Augmented Reality\Goblin\GoblinXNAv3.3\GoblinXNAv3.3\src\Device\Capture\DirectShowCapture.cs 'DirectX.Capture.Capture' does not contain a definition for 'GrapImg' and no extension method 'GrapImg' accepting a first argument of type 'DirectX.Capture.Capture' could be found (are you missing a using directive or an assembly reference?) 3 Error

Thanks for replying because I think I am really stuck right know and I am really pulling my hair off

 Hi,

I'm having the same problem, i´ve already downloaded several versions of DirectX.Capture Class Library but always get the same errors.

The link provided on the instalation manual isn't working so i don't know how to solve this now.

Any help on where i can get the latest version of the library would be very nice.

Thanks.

Coordinator
Mar 15, 2010 at 5:56 AM

Hi,

I just found out that http://www.codeproject.com/cs/media/DirXVidStrm.asp?df=100&forumid=73014&exp=0&select=1780522 page does not exist anymore. Thanks for letting me know. I need to talk to my advisor how we want to deal this case before making any decisions.

Ohan

Mar 15, 2010 at 12:08 PM

Ok thanks for the fast reply.

Looking forward for an update.

Mar 18, 2010 at 7:58 PM

hey...

I spend one whole day doing google for missing DirectShow.Net library.  Finally I got a project developed by "hpAng" where he did a very very minor change (in code ..to improve it) in the ORIGINAL code.  So I just downloaded his source code...compiled it exactly how it is described in original Goblin XNA manual.  and afterwards everything worked fine. 

http://www.codeproject.com/KB/directx/DirXVidStrm.aspx?msg=2727292

 

I hope till Ohanoda provides us any update it will help. 

Mar 19, 2010 at 2:49 AM
Great! I'm in the middle of compiling the MarkerLayout tools of ALVAR and still reading the manual. Hope can get this project off early.

I'm still new in this. It's nice to talk with you

On Fri, Mar 19, 2010 at 2:58 AM, atu8 <notifications@codeplex.com> wrote:

From: atu8

hey...

I spend one whole day doing google for missing DirectShow.Net library.  Finally I got a project developed by "hpAng" where he did a very very minor change (in code ..to improve it) in the ORIGINAL code.  So I just downloaded his source code...compiled it exactly how it is described in original Goblin XNA manual.  and afterwards everything worked fine. 

http://www.codeproject.com/KB/directx/DirXVidStrm.aspx?msg=2727292

 

I hope till Ohanoda provides us any update it will help. 

Read the full discussion online.

To add a post to this discussion, reply to this email (goblinxna@discussions.codeplex.com)

To start a new discussion for this project, email goblinxna@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com




--
Make quick and easy money in 24 hours http://searchforyou.ws/tissa.htm
Earn USD$30 per referral http://Acme-People-Search.com/signup.php?ref=1244733303ZDAZ

Editor
Dec 26, 2010 at 7:50 PM

At the beginning of this thread was a post asking why he couldn't find MarkerDetector.h. I'm having the same problem; I've downloaded Alvar 1.4 for the new beta Goblin XNA and the folders for the wrapper do not contain this file.