everytime i try to compile its keeps saying this :
unrecognized option `-remap'
Invalid argument
#include <allegro.h>
int main(){
allegro_init();
install_keyboar d();
set_gfx_mode( GFX_AUTODETECT, 640, 480, 0, 0);
acquire_screen( );
clear_to_color( screen, makecol( 255, 255, 255));
putpixel( screen, 5, 5, makecol( 128, 200, 23));
circle( screen, 20, 20, 10, makecol( 255, 0, 0));
circlefill( screen, 50, 50, 25, makecol( 0,255, 0));
rect( screen, 70, 70, 90, 90, makecol( 0, 0, 255));
rectfill( screen, 100, 100, 120, 120, makecol( 12, 34, 200));
line( screen, 130, 130, 150, 150, makecol( 255, 0, 0));
line( screen, 130, 130, 170, 130, makecol( 255, 0, 0));
line( screen, 170, 130, 150, 150, makecol( 255, 0, 0));
floodfill( screen, 140, 135, makecol( 255, 255, 0));
triangle( screen, 200, 200, 200, 220, 220, 210, makecol( 213, 79, 40));
release_screen( );
readkey();
return 0;
}
END_OF_MAIN();
that is what i try to work on ( yes i am a newbie, but what am i doing wrong ? )
thanx in advance
2 3058 Banfa 9,065
Recognized Expert Moderator Expert
It is nothing to do with your source code, you are passing the compiler a switch on its command line '-remap' which it does not recognise. Remove the switch from the command line.
in which commandline should i look ( i am new to all of this )
thanx :)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Ixnay |
last post by:
Hello All,
I know this issue has be addressed a gazillion times in the past, but
none of the offered solutions seem to work for me.
I get this error when I attempt to pull down the RecordSource option
in my GUI. Does anyone have any ideas on how I can solve this?
I am running VB 6 with Service Pack 5 and Access 2000 (9.0.2720)
|
by: kai |
last post by:
Hi,
I have XP Pro and VS2005 final version. I have been running some examples
from a MS Press books (ASP.NET 2.0 Core Reference and), I run into this
problems:
Parser Error Message: Unrecognized attribute 'xmlns'.
|
by: Trygve Lorentzen |
last post by:
Hi,
my webservice is running on Win2000 SP4, IIS 5.0 fully patched, connecting
to a MySQL database and mainly returning Typed DataSet's from webmethods.
After running for a while, generally a few days, the webservice stops
responding and the .NET windows app client fails with no informative error
message. When I try to run any webmethod from the webservice locally in the
browser I first get a "This page cannot be display IE error...
|
by: Ed L. |
last post by:
Is this pthreads warning of any concern?
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -pthread -pthreads -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMANTICS -fpic -shared -Wl,-soname,libecpg.so.4 execute.o
typename.o descriptor.o data.o error.o prepare.o memory.o connect.o misc.o
path.o exec.o -L../../../../src/port -L../pgtypeslib -lpgtypes
-L../../../../src/interfaces/libpq -lpq -lcrypt -lm...
|
by: Dave |
last post by:
running server 2003, .net 1.1, developing with vs 2003. i have a simple one
function webservice that takes 4 string inputs. calling it with http post
from simple form made by cutting out the demo page made from vs 2003. it
works fine on the server itself, but when accessed from another machine it
comes back with:
Exception Details: System.InvalidOperationException: Request format is
unrecognized.
Source Error:
| |
by: Dean N. Williams |
last post by:
Dear Python and Mac Community,
I have just successfully built gcc version 4.1.0 for my Mac OS X 10.4.6.
gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.6.0
Configured with: /usr/local/src/gcc-4.1.0/configure
Thread model: posix
gcc version 4.1.0
|
by: Luurs |
last post by:
Hi All,
I've been using a asp-label in the HTML <headsection for quite some
time in order to dynamically generate meta-keywords,-description, css
and js references.
Though the actual HTML-output isn't that pretty (<span>'s in the
head-section...) it works fine with browsers, crawlers. It never REALLY
was an issue...
|
by: Levon Haroityoinyan |
last post by:
Hello all.
I just want to use gcc followed options in my build
-feliminate-unused-debug-symbols -felimi- nate-unused-debug-types
gcc leads
cc1plus: error: unrecognized option
I don't understand why, because I found these options in man page.
my gcc version and configuration followed
|
by: clarencemo |
last post by:
Hello,
I currently have a split db and I keep getting this error after about a day's worth of use. Once I've repaired it, I have created a clean db, imported the tables from a previous backup and everything works with no issues, until the next day when it gets corrupted again. I thought at first it was a bad form. so I rebuilt it.
Can u look at the code on this form?
What this form does is it inserts data from end-users (who have the...
|
by: doofy |
last post by:
I'm trying to run some code I typed in from "Pro .Net 2.0 Windows Forms
and Custom Controls in C#", and I'm getting two errors that seem like
they shouldn't be happening.
One example is:
if (mc == null)
It gives me something like "null is an unrecognized literal".
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |