Author |
Message |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Mon Oct 09, 2006 4:48 am Post subject: |
 |
|
|
|
Dr Brain wrote: | I wonder why it's decimal and not hex, because everyone can convert from hex to binary in their head. |
Hex should work too, for all integer settings, if you write it as "0x...". Note config.c line 535, which uses strtol with zero as the base argument. That makes strtol accept prefixes "0x" for hex and "0" for octal. |
|
Back to top |
|
 |
z.baron+ Guest
Offline
|
Posted: Mon Oct 09, 2006 9:03 am Post subject: |
 |
|
|
|
Quote: | In your compiling line, also add -lpthread to the argument list. This will include the pthreads library. If using Windows, Project->Settings, look for a section for included libraries, and add pthread.lib to the line. Make sure a file named pthread.lib is in the same directory as all your other files. |
i've searched my whole computer for pthread.lib and i don't have that file on my computer. do i have to compile pthread.h into a library file first so that i have the .lib file? |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
z.baron+ Guest
Offline
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Mon Oct 09, 2006 1:20 pm Post subject: |
 |
|
|
|
I wasn't sure whether to post this earlier, but you with devcpp I just link to the pthread.dll that comes with asss and it seems to work. Compiling modules with devcpp guide. _________________ ss news  |
|
Back to top |
|
 |
z.baron+ Guest
Offline
|
Posted: Mon Oct 09, 2006 2:03 pm Post subject: |
 |
|
|
|
that was going to be my next question before i figured out a working solution, which was "can i just link directly to .dll files".
in codeblocks, the linker limits me to .a and .lib files. unless i'm overlooking something. |
|
Back to top |
|
 |
z.baron+ Guest
Offline
|
Posted: Mon Oct 09, 2006 6:55 pm Post subject: |
 |
|
|
|
yup, you can direcly link .dll files with codeblocks...sigh |
|
Back to top |
|
 |
|