Linking library using Eclipse Kepler under Ubuntu 12.04 LTS - eclipse

I have developed a project under Mac OS X 10.8.3, now I need the same project to work under Ubuntu 12.04 LTS.
Inside my project I need to use a library, let's call it libXXX. I have the libXXX.a file and the XXX.h header file. What I did under Mac OS X is change the setting for the project to include the xxx library and of course set the library path to locate it.
I did the exact same thing under Ubuntu but I got a linking error, saying ld cannot find the xxx library.
If anyone has any idea how to solve the issue, that would be great.
Thank you everyone

Related

DLL not found error using uFllex in Unity

I have bought, downloaded and then installed uFlex for Unity. The install seemed to go without any errors, but when I try to run any of the example scenes I get lots of errors. The first and most serious sounding of which is:
DllNotFoundException: flexRelease_x64
uFlex.FlexSolver.Start () (at Assets/uFlex/Scripts/Solver/FlexSolver.cs:102)
Also the scenes don't seem to run/work. Have tried googling to see if it's a common error but that didn't show up anything. Tried finding the missing DLL but not sure where to put it, or whether it's platform/version specific?
Any thoughts on how to troubleshoot this
Anyone else have similar issues?
Not sure if it's relevant but I'm running Unity Version 2017.2.ob11 Personal, and my OS is Ubuntu 16.04.5 LTS. I have windows installed as well - is switching to running Unity under Windows likely to help?
It won't and shouldn't work on Linux at this point.
Read the requirement from the plugin page:
NVidia GPU with at least CUDA 3.0 compute capability
Windows 64 bit (Win 32bit experimental, Android and Linux support planned)
The support is currently for Windows. You get the exception because the dll for Linux has not been provided. It can't load Windows dll on Linux. If the native side (C++) of the plugin is open-source, you can compile it for Linux and include it in your project then it should work. Since it's not, your only option at this moment is to switch to Windows.

Cross-Compiling for BeagleBone Black on Windows?

I have tried quite a few things on the internet but all seems to be not working when I cross compile on eclipse (with GNU MCU ARM and Sourcery Lite ), the binary on the BB-Black gives segmentation fault. Did someone try cross-compiling in recent time?
Setting up Beagle Board Tool chain for windows:
Online tutorial: In the tutorial it is mentioned that how to setup the tool chain in eclipse, cross compile on windows and deploy on the windows.
- http://jkuhlm.bplaced.net/hellobone/
Pre-Requisite:
In order for beagle-bone to work with your laptop, you need to
install the driver for the beagle bone.
https://beagleboard.org/getting-started
- Follow the link above and download the drivers at step 2.
- Important: To install the driver, you need to switch off the driver signature safety feature of windows OS. The instructions to do so is
mentioned at the link below:
https://www.youtube.com/watch?v=71YAIw7_-kg&feature=youtu.be
Install the following:
1. Java SDK : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install Eclipse IDE for C/C++
Any version of Eclipse IDE for C/C++ is ok.. We would recommend to use “Neon” version of Eclipse IDE.
Link to the Neon Version: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/3/eclipse-cpp-neon-3-win32-x86_64.zip
Unzip the package at a convenient location and launch via eclipse..exe
After opening your Eclipse:
Go to: Help > Eclipse Market Place > Search “GNU MCU Eclipse Plugin” and Install
Linaro Tool chain : http://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
Download the toolchain from the link above named “gcc-linaro-7.3.1-2018.05-i686-mingw32_arm-linux-gnueabihf.tar.xz”
Extract it to a convenient location, recommended “C:/Linaro”
Install GNU Make: http://gnuwin32.sourceforge.net/packages/make.htm
Now please open the online tutorial mentioned in the beginning of this article and follow step-4 onwards.
Use your programmer instincts to import the project, edit make file, launch the remote system via eclipse, create a SSH connection
to beagle bone black.
Now, in 2020 it is much simpler. Download "Code Composer Studio IDE for Windows Host" from https://www.ti.com/. It is an Eclipse based IDE, for many TI targets. It includes the compiler too.
I created a repository providing an example how to cross-compile for the beagle bone black on both Linux and Windows (MacOS should be possible as well) with CMake. Also includes Eclipse project files and instructions on how to perform remote debugging with the TCF agent:
https://github.com/spacefisch/beaglebone-crosscompiling

Issue with Netbeans

I have installed netbeans in my PC (windows 7), wrote a javaFX application program and generated executable jar file
I finally need the executable jar file to be working on Raspberry pi linux and I want to use only openjdk since oracle java for Rpi doesn't support AWT and Swing and my application majorly includes that.
When i tried to execute the jar file using openjdk, i am getting an error - you need to install newer version of JRE to execute this file. I have also tried to execute the same file in ubuntu to verify if there is something wrong and its showing the same error
But, the jar file was executed properly through oracle java in ubuntu. I also tried using Oracle java on RPi, but it opened but didn't work properly.(expected, because it doesn't support AWT and Swing)
So, I think i have an issue opening the file using openjdk. Can somebody help me with this
Thanks in Advance
I am in the process of buying my Raspberry Pi but have already started looking at the development environment I will need. You may find what you are looking for in these very clear resources I found:
http://adf4beginners.blogspot.co.uk/2013/04/how-to-get-java-embedded-suite-running.html
http://docs.oracle.com/javame/config/cldc/rel/8/rpi/html/getstart_rpi/toc.htm
As Ryanteck mentioned, you will probably have to be running Raspbian (item number 1, the tutorial, uses that OS).
Good luck
The Raspberry Pi's recommended OS does not support Java at all. The main thing to try is to test it using the Debian Soft float image which should support Java on the Raspberry Pi fine. But it is still in development so may not work.

How to deploy application with QT5

So I have made GUI frontend for latex with QT5 using QT creator. The application works fine, but I'm unable to deploy it. The deploy option in build is grayed out. I have also tried following this guide but I can't even configure my QT to use static linking. I was able to configure the source, but when I try to run mingw32-make sub-src, it says nothing to do here.
I downloaded QT from here using the link Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB). I have also downloaded microsoft visual studio express for Windows 8 to get tools required for building c++.
I also tried to install mingw32 manually. I have also installed Strawberry perl, because one guide told me to do that, but that did nothing.
I managed to fix this problem. There was one .dll. Reason why I didn't find it earlier was that my application did not need it by itself, but one of libraries I used was dependaple from it. The missing .dll was icuuc49.dll.

Satchmo install on a mac using virtualenv

I have virtualenv set up and working correctly on my mac os (leopard) running python 2.6 & django 1.2.3. I want to install Satchmo but I haven't found solid instructions for a mac install using virtualenv. Can anyone help regarding this? thanks.
If you're using buildout with virtualenv then try this: https://github.com/shywolf9982/satchmo-buildout
Of course installing newest XCode ie. 3.1 or 3.2 is a must..
Unfortunatelly compiniling stuff on Mac can give you the creeps... My collegue and I, were fighting 12h with installation of geodjango on Spatialite database, and we didn't make it after all :)
If you're not using buildout then just use macports for installing modules listed in above repo's buildout.cfg file.
Good luck!
This Satchmo Project post contains the instructions I follow on Snow Leopard. I use Homebrew and/or MacPorts in lieu of the Debian package tools.