I have the physx sdk and runtime installed, but for some reason, I keep getting that error message when I try to build my game. Any ideas?
Judging from the filename of the missing assembly, you'll need to install the PhysX Candy Wrapper (eyecm). Make sure you download the XNA-specific binaries. PhysX is written in native code, so a wrapper is necessary to use it from managed code.
Related
I am trying to use codeblocks to compile the code available here
The thing is every time I try to build and run, I run into the following error:
|/.../head_pose_estimation/opencv2/core/core.hpp|48|fatal error: opencv2/core.hpp: No such file or directory
Does anyone know how I can fix this? Thank you!
You do not have the pre-built (compiled) version of OpenCV, what you currently have are the source files. If you want to do something special with OpenCV (Target/GPU SUpport etc) then you will need to build the framework using an appropriate guide.
If however you simply want to use OpenCV in the most common way then download the pre-built libraries from the OpenCV.org website.
NOTE:
If you are using OpenCV with MinGW compiler, I do not remember if the pre-built is actually pre-built for MinGW. (I dont think they do) In this case you will HAVE to built the libraries. You can find a guide here
I'm trying to use Picasso with disk caching. To do so, I understand I need to include the okhttp and okio libraries. When I do so, I get the following:
compile 'com.squareup.okio:okio:1.0.1'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
compile 'com.squareup.picasso:picasso:2.3.4'
java.lang.NoSuchMethodError: No static method source(Ljava/io/File;)Lokio/Source; in class Lokio/Okio; or its super classes (declaration of 'okio.Okio' appears in /system/framework/okhttp.jar)
at com.squareup.okhttp.internal.DiskLruCache.readJournal(DiskLruCache.java:243)
at com.squareup.okhttp.internal.DiskLruCache.open(DiskLruCache.java:224)
at com.squareup.okhttp.Cache.<init>(Cache.java:146)
at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:74)
at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:51)
at com.squareup.picasso.OkHttpDownloader.<init>(OkHttpDownloader.java:41)
at com.squareup.picasso.Utils$OkHttpLoaderCreator.create(Utils.java:407)
at com.squareup.picasso.Utils.createDefaultDownloader(Utils.java:255)
at com.squareup.picasso.Picasso$Builder.build(Picasso.java:605)
at com.squareup.picasso.Picasso.with(Picasso.java:482)
This is with a brand new app.
Any ideas what's going wrong?
Switching to okhttp 1.6.0 seems to solve the crash. Although I'm still not able to get disk caching working
You can remove the Okio dependency, it's transitive.
The problem is that the L preview was improperly packaged and incorrectly exposed Okio on the system classpath. All crashes from this can be ignored completely as a function of pre-release software. The actual L release will not behave this way.
More details are available at https://github.com/square/okhttp/issues/967
im using code::blocks IDE and mingw 4.7.2 compiler. resently i installed open cv 2.4.5 when i build the following program it build without errors. but when starting the progrm it terminates giving the error
the application failed to initilize propely (0x0000005). click ok to terminate the program
all the librarys are linked properly, and all the nessory directoris are added to the path variable. the program is a very simple program that just reads a image and displays it. eny ideas how to avoid this error. thanks for eny help....
here when i tested the exe in dependency walker
it says dwmpi.dll is missing. what may be gone wrong...
Try the depends utility to be sure your program is not missing any .dll files.
I am working with Vaadin 6 and want to use InvientCharts because it is free.
After compiling the widgetset, all vaadins component instead of invientCharts are working. The error which appears as text on my app is the following:
After trying everything, including setting up a complete new project, I followed this tutorial: http://www.nightswatch.de/?x=entry:entry120125-234412
But it is still not working and shows the same error.
Has anyone an idea what is going on here?
Thanks in advance!
When you receive the message that the widgetset does not contain implementation of XY,
then usually you have forgotten to compile it with the additional jar files or you did not specify the new widgetset.
The nightswatch example is incomplete, you need to compile the widgetset.
Simplest would be to use the maven build script to build all dependencies and compile stuff as needed (or use eclipse for this)
Since last month I was working with OpenCV2.2(pre-built) using c functions only in code::blocks. But I need to shift to c++ API. But when I run the c++ code I am getting error like "undefined reference to c++ function". I just search in internet and found that I need to build from source. So I just moved to OpenCV2.4.3. These are my setting what I do with OpenCV2.4.3 for configuring project in code::blocks.
Extract OpenCV2.4.3 to E:\opencv
Add the line "E:\opencv\build\x86\mingw\bin" to path.
And in code::blocks set up the project like
-> Compiler and debugger setting->search directories add "E:\opencv\build\include"
-> In linker tab add "E:\opencv\build\x86\mingw\bin"
-> In limker setting tab add "E:\opencv\build\x86\mingw\lib"
And I build my project successfully but while I am running my project I am getting the error like "Program Can't start because libgcc_s_dw2-1.dll missing from your computer".
I am using code::blocks with MingGW compiler.
My questions are
1. Why I can't run c++ code using OpenCV2.2 while c code is successfully build and ran. Is it the pre-built library problem. If so where can I download OpenCV pre-built library which support both c and c++ code.
2. Why the MingGW compiler showing the error like "libgcc_s_dw2-1.dll missing "for OpenCV2.4.3 where as OpenCV2.2 successfully build and ran using the same MingGW compiler.
Any help will appreciated.
Thanks in advance..........
I had the same problem when I switched from OpenCV 2.0 to OpenCV 2.4.3. So I will suggest the following.
Uninstall both CodeBlocks and Opencv 2.4.3
Reinstall both and integrate them using the same steps you followed earlier.
Let us know if this works.