Page 1 of 1

[Implemented] Documentation for the SDK

Posted: Sun Feb 27, 2011 3:10 am
by swhite
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

Re: Documentation for the SDK

Posted: Sun Feb 27, 2011 4:04 am
by netmaestro
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.

Re: Documentation for the SDK

Posted: Fri Apr 08, 2011 10:28 pm
by PMV
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

Re: Documentation for the SDK

Posted: Sat Mar 17, 2012 9:10 pm
by jack
same problem here, namely the two missing files: FunctionPrototypes.h and SystemBase/SystemBase.h
any advice ?

Re: Documentation for the SDK

Posted: Sun Mar 18, 2012 8:20 am
by xorc1zt
the sdk is outdated and need a revamp.

here is a full example done with the windows sdk compiler: http://www.purebasic.fr/english/viewtop ... 14&t=49325
the code is also compilable with visual studio 2010 but the project files are not provided.

Re: Documentation for the SDK

Posted: Sun Mar 18, 2012 6:43 pm
by jack
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.