473,748 Members | 7,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

unrecognized option `-remap'

2 New Member
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
Sep 2 '06 #1
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.
Sep 2 '06 #2
klenghost
2 New Member
in which commandline should i look ( i am new to all of this )

thanx :)
Sep 2 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
6275
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)
7
11456
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'.
1
6202
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...
5
3002
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...
2
11434
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:
0
4296
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
1
3877
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...
0
1367
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
13
2428
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...
11
1439
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".
0
8991
marktang
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...
0
8830
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,...
0
9544
Oralloy
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...
0
9372
jinu1996
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...
0
8243
agi2029
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...
1
6796
isladogs
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...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3313
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
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.