It is currently Wed Jun 19, 2013 2:24 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [Implemented] Documentation for the SDK
PostPosted: Sun Feb 27, 2011 3:10 am 
Offline
Enthusiast
Enthusiast

Joined: Thu May 21, 2009 6:56 pm
Posts: 249
Hi

Unless I missed it I would like to suggest some documentation be included for the SDK. I have not seen any instructions on how to create Pure Libraries, import headers etc. but have discovered there are some tools related to these items. I also discovered by accident that the compiler must check these libraries for function names etc. because I had a name conflict that I could not understand until I discovered it was caused by a user library I downloaded and put in the UserLibrary folder as instructed by the library author. So as a new user I would appreciate some information about these features and examples of how they should be used.

Thanks,
Simon


Top
 Profile  
 
 Post subject: Re: Documentation for the SDK
PostPosted: Sun Feb 27, 2011 4:04 am 
Offline
PureBasic Bullfrog
PureBasic Bullfrog
User avatar

Joined: Wed Jul 06, 2005 5:42 am
Posts: 6466
Quote:
Unless I missed it I would like to suggest some documentation be included for the SDK. I have not seen any instructions on how to create Pure Libraries

If you look in the LccWin32 folder under SDK there are several examples of c programs and how to compile them into user libraries. The SDK is there for instruction and tools to create user libraries from programs created in other languages such as c or asm. If you are looking to create a userlibrary from Purebasic code Tailbite is the tool made for that.

_________________
Veni, vidi, vici.


Top
 Profile  
 
 Post subject: Re: Documentation for the SDK
PostPosted: Fri Apr 08, 2011 10:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Feb 24, 2007 3:15 pm
Posts: 549
Location: Germany
If that would be that easy ...

If i want to compile it like it says in the Readme.txt ... i got the error, that some files are missing.
I figured out, that the 3 header-files are stored in a wrong directory and put them in the sub-directory where they was bevor 10 PB-Versions. :lol: ... but now this header-files are including two missing files and i doesn't know where they could be:
- FunctionPrototypes.h
- SystemBase/SystemBase.h
Additional lcc-win32 gets many syntax errors and so on, when i compile the MessageBox.c example.

Do i something wrong? :?

MFG PMV


Top
 Profile  
 
 Post subject: Re: Documentation for the SDK
PostPosted: Sat Mar 17, 2012 9:10 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 854
same problem here, namely the two missing files: FunctionPrototypes.h and SystemBase/SystemBase.h
any advice ?


Top
 Profile  
 
 Post subject: Re: Documentation for the SDK
PostPosted: Sun Mar 18, 2012 8:20 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Jul 09, 2011 7:57 am
Posts: 276
the sdk is outdated and need a revamp.

here is a full example done with the windows sdk compiler: viewtopic.php?f=14&t=49325
the code is also compilable with visual studio 2010 but the project files are not provided.

_________________
http://www.mediafire.com/pbstuff


Top
 Profile  
 
 Post subject: Re: Documentation for the SDK
PostPosted: Sun Mar 18, 2012 6:43 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 854
thanks xorc1zt for the link.
I found a PellesC project on an old drive from about 2008 and it compiles the Simple Library OK, it even builds the Unicode functions, but am unable to reproduce a Project file from the IDE that will automatically build Unicode functions, but it's not that hard to edit the project file in Notepad and add the Unicode part.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye