Comments (53)
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.
Ok this is what i have got so far.
from chosuntruck.
Where can i find it?
from chosuntruck.
Also what python is it you used?
from chosuntruck.
Because i use python 3.6.0
from chosuntruck.
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.
Hmm it is PyScaffold that one so i don't know :/
from chosuntruck.
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.
https://www.python.org/downloads/release/python-2712/
Python 2.7 is backwards compatible with 2.5. See if that works...
from chosuntruck.
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.
oh i have Visual Studio 2015
from chosuntruck.
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.
I cannot get Visual Studio 2013 because i have to be this subscriber
from chosuntruck.
You need to login with your Microsoft account. Visual Studio 2013 is free to use once you login.
from chosuntruck.
ahh ok
from chosuntruck.
Still won't let me get it and will only let me get 2015 :/
from chosuntruck.
Ok, lets do teamviewer I guess.
My email is [email protected]. Send me the ID and PW
from chosuntruck.
ok i sent it, sorry i was AFK.
from chosuntruck.
How did it go? Are you still having this issue or can we close it?
from chosuntruck.
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.
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.
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.
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.
Follow the instructions in our readme to install the CUDA Toolkit...
from chosuntruck.
ok
from chosuntruck.
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.
... 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.
umm ok
from chosuntruck.
it isn't doing anything. i sent teamviewer stuff through email again.
from chosuntruck.
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.
Those are linker errors. Look at our Readme on how to fix that.
from chosuntruck.
ok
from chosuntruck.
Right it fixed most but now i have this error
from chosuntruck.
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.
ahh ok
from chosuntruck.
which one redist or the other?
from chosuntruck.
i tried both and still the same error
from chosuntruck.
from chosuntruck.
from chosuntruck.
@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.
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.
wait if i take the "opencv_calib3d310.lib;" out it goes to next one and says same thing cannot open.
from chosuntruck.
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.
i have found them but nothing is wrong to me it all looks how it should
from chosuntruck.
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.
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.
ok
i kinda changed the directories and it all shows up properly and works then i get this.
from chosuntruck.
Reinstalled it and i get this now
from chosuntruck.
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.
It's gonna have to be teamviewer again as it isn't working again and it is different error now
from chosuntruck.
wait nevermind i'll try again later
from chosuntruck.
@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.
Closed issue :)
from chosuntruck.
Related Issues (20)
- [master] Freezing after input is used in Windows HOT 2
- [master] Need help testing mouse input HOT 9
- Error open No such file run the ./ChosunTruck HOT 9
- Assertion error occurs ONLY at the first run after build HOT 3
- [master] Assertion failure when running in Debug mode HOT 9
- Should improve lane detection algorithm especially at the curvy lanes HOT 6
- Cannot build solution different LNKXXXX errors everytime HOT 7
- Windows-based ChosunTruck Steering Problem HOT 8
- Error open No such file run the ./ChosunTruck [OpenCV error message] HOT 1
- video HOT 1
- zlibd1.dll missing HOT 13
- error appeared: "This project references NuGet packages(s) that are missing......" HOT 9
- Update OpenCV nuget packages HOT 1
- Reducing extraneous lines in ChosunTruck [windows] HOT 1
- Switching to adaptiveThreshold HOT 1
- Linux Make Issue HOT 6
- Linux build error with opencv2 HOT 1
- Still working ? Can i run it on Visual Studio 2019 ?
- Permission to work on this project of yours can pass a readme where to start!! HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chosuntruck.