GithubHelp home page GithubHelp logo

Comments (53)

zappybiby avatar zappybiby commented on May 20, 2024 2

Usually this is caused by wrong python version

Go into the pyc file and see what the magic number is

Then compare it to this list http://stackoverflow.com/a/514395/7430976
To see if you have the correct version.

from chosuntruck.

 avatar commented on May 20, 2024

Ok this is what i have got so far.
screenshot 157

from chosuntruck.

 avatar commented on May 20, 2024

Where can i find it?

from chosuntruck.

 avatar commented on May 20, 2024

Also what python is it you used?

from chosuntruck.

 avatar commented on May 20, 2024

Because i use python 3.6.0

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Ok, so I used HexEdit to read the __init__.pyc file located in
...\ChosunTruck\ChosunTruck\linux\tensorbox\utils among other locations.

The first two byes were "03 F3" which when reversed to "F3 03" give the decimal value 62211

According to the table, this means that it was built with Python 2.5b3

@chi3236 do we need to add "Python 2.5b3" (Python 2.7) to the prerequisites?

from chosuntruck.

 avatar commented on May 20, 2024

Hmm it is PyScaffold that one so i don't know :/

from chosuntruck.

 avatar commented on May 20, 2024

If you want we can do teamviewer and you could help me?
Another thing is, it is caused by me using windows not linux?

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

https://www.python.org/downloads/release/python-2712/

Python 2.7 is backwards compatible with 2.5. See if that works...

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

So the windows version doesn't use tensorbox, so there is no python code to execute. It is c++, you will need Visual Studio 2013

from chosuntruck.

 avatar commented on May 20, 2024

oh i have Visual Studio 2015

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

That works, but you will need to build the OpenCV CUDA libraries with CMake. The current versions of OpenCV use 'shared libraries', meaning they took a whole bunch of libraries and put them into one. For our code, we need each library separate, also called 'static libraries'.

Since that is pretty difficult, it is much easier to use Visual Studio 2013 and follow the troubleshooting instructions in our README to get those libraries. You can have both 2013 and 2015 on your system, it will let you choose which one you want to use when starting the program.

from chosuntruck.

 avatar commented on May 20, 2024

I cannot get Visual Studio 2013 because i have to be this subscriber

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

You need to login with your Microsoft account. Visual Studio 2013 is free to use once you login.

from chosuntruck.

 avatar commented on May 20, 2024

ahh ok

from chosuntruck.

 avatar commented on May 20, 2024

Still won't let me get it and will only let me get 2015 :/

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Ok, lets do teamviewer I guess.

My email is [email protected]. Send me the ID and PW

from chosuntruck.

 avatar commented on May 20, 2024

ok i sent it, sorry i was AFK.

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

How did it go? Are you still having this issue or can we close it?

from chosuntruck.

 avatar commented on May 20, 2024

i haven't tried yet as i got a reply on one of the vids from my comment saying Windows version does not work so :/

from chosuntruck.

 avatar commented on May 20, 2024

but i could try
and the only problem is i don't know how and what to do as the Windows Instructions are a little bit small and there is no tutorial :( Sorry if i cause any bother.

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Windows version works but we are still in the process of implementing input (see pull requests). As of right now input is not implemented and so the Windows version only detects lines for now. Input is essentially finished, just needs to be pushed + fine tuned.

I'll try to see if I can update the tutorial. What prerequisites do you already have? Did you install the Cuda Toolkit? Do you now have Visual Studio 2013? Did you get the Nuget packages?

You should open a new issue if the answer to any of those is no.

from chosuntruck.

 avatar commented on May 20, 2024

i have got Visual Studio 2013 but there is no build option now, well there was never one but i haven't got the CUDA Toolkit

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Follow the instructions in our readme to install the CUDA Toolkit...

from chosuntruck.

 avatar commented on May 20, 2024

ok

from chosuntruck.

 avatar commented on May 20, 2024

I'm having problems, i have installed the CUDA Toolkit and Visual Studio but now when i try to get the NuGet Gallery Opencv CUDA Contrib vc12 Release Build 3.1.0. It is coming up with errors in VS2013

PM> Install-Package opencvcuda-release
Install-Package : The current environment doesn't have a solution open.
At line:1 char:1

  • Install-Package opencvcuda-release
  •   + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationException
      + FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand
    
    

PM>

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

... you need to create the solution

Save all (Crtl +shift + s) then it will ask you where you want to save the .sln file. Then open that .sln file and repeat nuget

from chosuntruck.

 avatar commented on May 20, 2024

umm ok

from chosuntruck.

 avatar commented on May 20, 2024

it isn't doing anything. i sent teamviewer stuff through email again.

from chosuntruck.

 avatar commented on May 20, 2024

Thanks to zappybiby, just about everything is working but for some reason i am getting errors while building the solution and i have screenshotted my screen twice to show list of errors.
http://imgur.com/a/pLht9

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Those are linker errors. Look at our Readme on how to fix that.

from chosuntruck.

 avatar commented on May 20, 2024

ok

from chosuntruck.

 avatar commented on May 20, 2024

Right it fixed most but now i have this error
image

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Nuget should have made a folder for you with all of the required libraries. This is usually in your main directory (\ChosunTruck)

You need to link to those, not to the opencv folder.

from chosuntruck.

 avatar commented on May 20, 2024

ahh ok

from chosuntruck.

 avatar commented on May 20, 2024

which one redist or the other?

from chosuntruck.

 avatar commented on May 20, 2024

i tried both and still the same error

from chosuntruck.

 avatar commented on May 20, 2024

image

from chosuntruck.

 avatar commented on May 20, 2024

Now it says this.
image

from chosuntruck.

AntonioCS avatar AntonioCS commented on May 20, 2024

@keyring52 Please google the error msg

Second thing I found with a quick google search: http://stackoverflow.com/questions/15978035/cannot-open-input-file-opencv-calib3d243d-lib

from chosuntruck.

 avatar commented on May 20, 2024

ahh i'll try that
EDIT: i checked and everthing is alright and all correct it just keeps saying that error so i'll reinstall the opencv thing

from chosuntruck.

 avatar commented on May 20, 2024

wait if i take the "opencv_calib3d310.lib;" out it goes to next one and says same thing cannot open.

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Ok, so all of those files are required for the program to run. If you take one out, it moves on to the next one, but it will not run without that file. You need to search for that file on your computer. Use the search box in your chosuntruck directory to find the folder containing the files you need.

from chosuntruck.

 avatar commented on May 20, 2024

i have found them but nothing is wrong to me it all looks how it should

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

Again, opencv 3.0+ switched to shared libraries. We need static libraries that are obtained from nuget. You need to link to the nuget libraries. Reinstalling opencv will not fix this.

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

All I can tell you is that he error you are gettng is because Visual studio is not finding the file. Try altering the include directories again. Double check your linker directories too

from chosuntruck.

 avatar commented on May 20, 2024

ok
i kinda changed the directories and it all shows up properly and works then i get this.
image

from chosuntruck.

 avatar commented on May 20, 2024

Reinstalled it and i get this now
image

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

You are getting the same error (lnk1104)

Look at solutions here: http://stackoverflow.com/questions/133698/why-does-fatal-error-lnk1104-cannot-open-file-c-program-obj-occur-when-i-c

Maybe run VS as admin.

from chosuntruck.

 avatar commented on May 20, 2024

It's gonna have to be teamviewer again as it isn't working again and it is different error now

from chosuntruck.

 avatar commented on May 20, 2024

wait nevermind i'll try again later

from chosuntruck.

zappybiby avatar zappybiby commented on May 20, 2024

@keyring52, you need to close this issue and, if you are still having problems, create a new one called "Error LNK1104". This thread has gone completely off topic from its first post. Paging @chi3236 @bethesirius, can one of you close this! Thanks

from chosuntruck.

 avatar commented on May 20, 2024

Closed issue :)

from chosuntruck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.