LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-01-2014, 10:53 PM   #16
bharathi.apsara
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by SoftSprocket View Post
Any libraries required by your shared object need to be linked with. I don't see synthcam or uusb in your build command line:
Code:
g++ -shared -rdynamic -o SDKTest.so SDKTest.o -L/usr/lib/i386-linux-gnu/ -lpython2.7 -lDijSDK -lQtGui -lQtCore -Wl,-rpath=/home/embadmin/Desktop/linux/DijSDK-1.1.7-Linux/bin/
I have tried adding it also but it didnt work out. For C++ environment also, I am building the .so file without linking this camera libraries. The libDijSDK.so will load this libraries during runtime. But why python is not referring?
 
Old 12-04-2014, 05:51 AM   #17
bharathi.apsara
LQ Newbie
 
Registered: Nov 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Placed the camera libraries under /usr/bin/ where the python.exe exists and it worked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual Python build cannot beat Ubuntu build??? taihd Ubuntu 0 12-26-2013 07:28 PM
LXer: Wrapping up the Summer of Code at the Googleplex LXer Syndicated Linux News 0 12-05-2013 12:50 PM
except IOError as e during manual install with python imranal Red Hat 2 03-28-2013 02:11 PM
Can't run Python code at Boot - Ubuntu Karmic micksulley Linux - Kernel 1 01-29-2010 08:38 PM
Wrapping Windows Drivers (Ubuntu 6.10) Pun Linux - Wireless Networking 7 08-16-2007 11:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration