Products for USB Sensing and Control
It is currently Sun May 19, 2013 9:19 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 27, 2012 8:37 am 
Offline
Phidgetsian

Joined: Fri Jan 28, 2011 1:58 pm
Posts: 6
Hello all! This is my first post here....

Basically, I am workin on becoming more proficient with C++. I am proficient with basic and autoit (my personal fav), but I have figured it is time to branch out into a more capable language. I have done a great deal of phidget programming with autoit so I am pretty familiar with how to deal with phidgets although I see some inherent and large differences with dealing with them in C++.

In the end, I am looking for a good editor/compiler for windows that uses a similar syntax as the sbc compiler. Does this exist? Also, does anyone have a good reference or starting point for working with phidgets in c++? I have already read through the api and c++ tutorial, but they leave me with many questions. I have been playing around with code blocks, but every time I compile I end up with undefined reference to '_imp_CPhidget_getDeviceName and many other similar errors...

Thanks for any help!!!


Top
 Profile Send private message  
 
PostPosted: Fri Apr 27, 2012 9:03 am 
Offline
Human-Cyborg Relations
User avatar

Joined: Tue Sep 27, 2011 2:37 pm
Posts: 314
Location: Calgary
I would recommend using Visual Studio if you want to work on a Windows machine with an IDE you can use the express version for free. Alternatively if you want to compile by command line you can use something like Cygwin.

Those errors you are seeing mean that the compiler is not able to find the Phidgets header file. Take a look at the C/C++ getting started guide for more information on this. (In command line this typically means you need to add a -lphidget21)

_________________
Brian Burley
403-282-7335 ext. 6003
support@phidgets.com


Top
 Profile Send private message  
 
PostPosted: Sun Jun 03, 2012 9:16 am 
Offline
Fresh meat

Joined: Sun May 27, 2012 11:49 am
Posts: 3
I prefer Code::Blocks...


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group